diff options
author | uruk | 2013-07-27 10:17:32 +0200 |
---|---|---|
committer | uruk | 2013-07-27 10:17:32 +0200 |
commit | d3ff894ff6a62a37543a8dbd25dace62b1ce69d9 (patch) | |
tree | 329e6a6c806f2c79e748cb3814d844882d6fa650 | |
parent | 5fe090a38c91845712635e897d7e1e3ea6983235 (diff) | |
download | scummvm-rg350-d3ff894ff6a62a37543a8dbd25dace62b1ce69d9.tar.gz scummvm-rg350-d3ff894ff6a62a37543a8dbd25dace62b1ce69d9.tar.bz2 scummvm-rg350-d3ff894ff6a62a37543a8dbd25dace62b1ce69d9.zip |
AVALANCHE: Replace call of Basher::keyboard_link() with Avalanche::updateEvents() in Avalot::run().
-rw-r--r-- | engines/avalanche/avalot.cpp | 5 | ||||
-rw-r--r-- | engines/avalanche/basher2.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp index 6c49a669a1..3f967fb868 100644 --- a/engines/avalanche/avalot.cpp +++ b/engines/avalanche/avalot.cpp @@ -182,8 +182,9 @@ void Avalot::run(Common::String arg) { do { uint32 beginLoop = _vm->_system->getMillis(); + _vm->updateEvents(); // The event handler. + _vm->_lucerna->clock_lucerna(); - _vm->_basher->keyboard_link(); _vm->_dropdown->menu_link(); _vm->_trip->readstick(); _vm->_gyro->force_numlock(); @@ -205,7 +206,7 @@ void Avalot::run(Common::String arg) { // Not in the original: - _vm->updateEvents(); // The event handler. + _vm->_graphics->refreshScreen(); // TODO: Maybe it'll have a better place later. Move it there when it's needed. diff --git a/engines/avalanche/basher2.h b/engines/avalanche/basher2.h index eadf3dd3b1..476a6d35f7 100644 --- a/engines/avalanche/basher2.h +++ b/engines/avalanche/basher2.h @@ -31,6 +31,8 @@ // to do this, define the o.c.c. RECORD. Setting gyro.demo to True will // cause them to be played back. +// TODO: Replace these functions gradually with ScummVM's own methods. + #ifndef BASHER2_H #define BASHER2_H |