aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche/avalanche.cpp
diff options
context:
space:
mode:
authoruruk2013-07-11 18:02:15 +0200
committeruruk2013-07-11 18:02:15 +0200
commit096bd2df76b6132dad8ccefb2a212dbc53218870 (patch)
treeea78d89e0f06a7a1af3f17695e3306d911113582 /engines/avalanche/avalanche.cpp
parent0aaffcfb941c95141eaa400082ee943463360068 (diff)
downloadscummvm-rg350-096bd2df76b6132dad8ccefb2a212dbc53218870.tar.gz
scummvm-rg350-096bd2df76b6132dad8ccefb2a212dbc53218870.tar.bz2
scummvm-rg350-096bd2df76b6132dad8ccefb2a212dbc53218870.zip
AVALANCHE: Major update in the Engine (include Graph), minor updates in Graph and Lucerna.
Diffstat (limited to 'engines/avalanche/avalanche.cpp')
-rw-r--r--engines/avalanche/avalanche.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp
index 94b2b16115..88e6e0edd1 100644
--- a/engines/avalanche/avalanche.cpp
+++ b/engines/avalanche/avalanche.cpp
@@ -38,6 +38,8 @@
#include "engines/util.h"
+
+
namespace Avalanche {
AvalancheEngine *AvalancheEngine::s_Engine = 0;
@@ -49,6 +51,8 @@ namespace Avalanche {
_rnd = new Common::RandomSource("avalanche");
_rnd->setSeed(42);
+ _graph.setParent(this);
+
_gyro.setParent(this);
_enhanced.setParent(this);
_logger.setParent(this);
@@ -241,13 +245,17 @@ namespace Avalanche {
Common::Error AvalancheEngine::run() {
s_Engine = this;
- initGraphics(320, 200, false);
- _console = new AvalancheConsole(this);
+ _console = new AvalancheConsole(this);
+
_scrolls.init();
_lucerna.init();
_acci.init();
_basher.init();
+ _graph.init();
+
+
+
// From bootstrp: