diff options
author | uruk | 2013-07-15 11:24:38 +0200 |
---|---|---|
committer | uruk | 2013-07-15 11:24:38 +0200 |
commit | 4a373a192556b573975a2d84b6c16213f122e78a (patch) | |
tree | ef7ae15893548884878474edc441e567295830c1 /engines | |
parent | bc15033c14f658a033460589ba5d1effb1538602 (diff) | |
download | scummvm-rg350-4a373a192556b573975a2d84b6c16213f122e78a.tar.gz scummvm-rg350-4a373a192556b573975a2d84b6c16213f122e78a.tar.bz2 scummvm-rg350-4a373a192556b573975a2d84b6c16213f122e78a.zip |
AVALANCHE: update Avalot.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/avalanche/avalot.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp index ae437a66cc..af526355fe 100644 --- a/engines/avalanche/avalot.cpp +++ b/engines/avalanche/avalot.cpp @@ -29,6 +29,7 @@ #include "avalanche/avalanche.h" +#include "avalanche/graph.h" #include "avalanche/avalot.h" #include "avalanche/gyro2.h" #include "avalanche/trip6.h" @@ -43,13 +44,15 @@ #include "avalanche/celer2.h" #include "avalanche/enid2.h" #include "avalanche/visa2.h" +#include "avalanche/closing2.h" /*#include "Incline.h"*/ -/*#include "Closing.h"*/ #include "common/str.h" #include "common/textconsole.h" + + namespace Avalanche { void Avalot::setup() { @@ -98,7 +101,7 @@ void Avalot::setup() { _vm->_trip.loadtrip(); - if ((_vm->_gyro.filetoload == "") && (! _vm->_gyro.reloaded)) + if ((_vm->_gyro.filetoload.empty()) && (! _vm->_gyro.reloaded)*) _vm->_gyro.newgame(); /* no game was requested- load the default */ else { if (! _vm->_gyro.reloaded) @@ -145,7 +148,7 @@ void Avalot::setParent(AvalancheEngine *vm) { void Avalot::run(Common::String arg) { setup(); - + do { _vm->_lucerna.clock_lucerna(); _vm->_basher.keyboard_link(); |