diff options
-rw-r--r-- | engines/avalanche/avalanche.cpp | 3 | ||||
-rw-r--r-- | engines/avalanche/avalanche.h | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp index b9b1b0f581..a230cf059f 100644 --- a/engines/avalanche/avalanche.cpp +++ b/engines/avalanche/avalanche.cpp @@ -46,6 +46,9 @@ namespace Avalanche { _system = syst; _console = new AvalancheConsole(this); _rnd = 0; + + _gyro.setParent(this); + _enhanced.setParent(this); } AvalancheEngine::~AvalancheEngine() { diff --git a/engines/avalanche/avalanche.h b/engines/avalanche/avalanche.h index fa87d8b60a..190849e50c 100644 --- a/engines/avalanche/avalanche.h +++ b/engines/avalanche/avalanche.h @@ -29,6 +29,8 @@ #define AVALANCHE_H #include "avalanche/console.h" +#include "avalanche/gyro2.h" +#include "avalanche/enhanced2.h" #include "engines/engine.h" #include "engines/advancedDetector.h" @@ -45,6 +47,10 @@ static const int kSavegameVersion = 1; class AvalancheEngine : public Engine { public: + Gyro _gyro; + Enhanced _enhanced; + + AvalancheEngine(OSystem *syst, const AvalancheGameDescription *gd); ~AvalancheEngine(); |