aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2013-06-28 17:42:30 +0200
committeruruk2013-06-28 17:42:30 +0200
commit140e20522711d414bf09898fe533c704c41c4442 (patch)
tree67867d5616a8d046dae545ee3f811e28c83e22ce
parente4c8d82f9d13709f81fa865d62a2386c82760bbc (diff)
downloadscummvm-rg350-140e20522711d414bf09898fe533c704c41c4442.tar.gz
scummvm-rg350-140e20522711d414bf09898fe533c704c41c4442.tar.bz2
scummvm-rg350-140e20522711d414bf09898fe533c704c41c4442.zip
AVALANCHE: Update the main class.
-rw-r--r--engines/avalanche/avalanche.cpp3
-rw-r--r--engines/avalanche/avalanche.h6
2 files changed, 9 insertions, 0 deletions
diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp
index a230cf059f..6179ae4f1e 100644
--- a/engines/avalanche/avalanche.cpp
+++ b/engines/avalanche/avalanche.cpp
@@ -49,6 +49,9 @@ namespace Avalanche {
_gyro.setParent(this);
_enhanced.setParent(this);
+ _logger.setParent(this);
+ _pingo.setParent(this);
+ _scrolls.setParent(this);
}
AvalancheEngine::~AvalancheEngine() {
diff --git a/engines/avalanche/avalanche.h b/engines/avalanche/avalanche.h
index 190849e50c..59dd0090e4 100644
--- a/engines/avalanche/avalanche.h
+++ b/engines/avalanche/avalanche.h
@@ -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);