diff options
author | uruk | 2013-07-18 20:00:14 +0200 |
---|---|---|
committer | uruk | 2013-07-18 20:00:14 +0200 |
commit | 4fc9de5d469625150ee1d78ccca5d9c2a237f3f6 (patch) | |
tree | 00e0640e68ff653b0f309f7ae0881e8a2d7c61d0 | |
parent | bcab639266c54fc0827f1f0fc483c39ae455b616 (diff) | |
download | scummvm-rg350-4fc9de5d469625150ee1d78ccca5d9c2a237f3f6.tar.gz scummvm-rg350-4fc9de5d469625150ee1d78ccca5d9c2a237f3f6.tar.bz2 scummvm-rg350-4fc9de5d469625150ee1d78ccca5d9c2a237f3f6.zip |
AVALANCHE: Replace Pingo::copy03() with Graph::refreshScreen().
-rw-r--r-- | engines/avalanche/avalot.cpp | 4 | ||||
-rw-r--r-- | engines/avalanche/lucerna2.cpp | 2 | ||||
-rw-r--r-- | engines/avalanche/pingo2.h | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp index 0b93201bac..0415f95f73 100644 --- a/engines/avalanche/avalot.cpp +++ b/engines/avalanche/avalot.cpp @@ -91,7 +91,7 @@ void Avalot::setup() { _vm->_gyro.enid_filename = ""; /* undefined. */ _vm->_lucerna.toolbar(); _vm->_scrolls.state(2); - _vm->_pingo.copy03(); + _vm->_graph.refreshScreen(); //_vm->_pingo.copy03(); Replace it with refreshScreen() since they 'almost' have the same functionality. for (byte i = 0; i < 3; i++) _vm->_gyro.lastscore[i] = -1; /* impossible digits */ @@ -172,8 +172,6 @@ void Avalot::run(Common::String arg) { _vm->_timeout.one_tick(); - _vm->_graph.refreshScreen(); // TODO: Maybe it'll have a better place later. Move it there when it's needed. - } while (false /*! _vm->_gyro.lmo*/); // So we run only one cycle during the testing. Of course it will be restored later. //restorecrtmode(); diff --git a/engines/avalanche/lucerna2.cpp b/engines/avalanche/lucerna2.cpp index 4301818378..1a55b55a50 100644 --- a/engines/avalanche/lucerna2.cpp +++ b/engines/avalanche/lucerna2.cpp @@ -272,7 +272,7 @@ void Lucerna::load(byte n) { /* Load2, actually */ load_also(xx); _vm->_celer.load_chunks(xx); - _vm->_pingo.copy03(); + _vm->_graph.refreshScreen(); // _vm->_pingo.copy03(); - See Avalot::setup() bit = *_vm->_graph.getPixel(0,0); diff --git a/engines/avalanche/pingo2.h b/engines/avalanche/pingo2.h index 28f140f7d4..b6113f8141 100644 --- a/engines/avalanche/pingo2.h +++ b/engines/avalanche/pingo2.h @@ -44,7 +44,7 @@ public: void copy02(); - void copy03(); + void copy03(); // Should always be replaced with _vm->_graph.refreshScreen(); - See Avalot::setup(); void copypage(byte frp, byte top); |