AVALANCHE: Update the main class.

This commit is contained in:
uruk 2013-06-28 17:42:30 +02:00
parent e4c8d82f9d
commit 140e205227
2 changed files with 9 additions and 0 deletions

View File

@ -49,6 +49,9 @@ namespace Avalanche {
_gyro.setParent(this);
_enhanced.setParent(this);
_logger.setParent(this);
_pingo.setParent(this);
_scrolls.setParent(this);
}
AvalancheEngine::~AvalancheEngine() {

View File

@ -31,6 +31,9 @@
#include "avalanche/console.h"
#include "avalanche/gyro2.h"
#include "avalanche/enhanced2.h"
#include "avalanche/logger2.h"
#include "avalanche/pingo2.h"
#include "avalanche/scrolls2.h"
#include "engines/engine.h"
#include "engines/advancedDetector.h"
@ -49,6 +52,9 @@ class AvalancheEngine : public Engine {
public:
Gyro _gyro;
Enhanced _enhanced;
Logger _logger;
Pingo _pingo;
Scrolls _scrolls;
AvalancheEngine(OSystem *syst, const AvalancheGameDescription *gd);