aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/avalanche/avalot.cpp4
-rw-r--r--engines/avalanche/lucerna2.cpp2
-rw-r--r--engines/avalanche/pingo2.h2
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);