diff options
author | uruk | 2013-09-21 12:39:03 +0200 |
---|---|---|
committer | uruk | 2013-09-21 12:39:03 +0200 |
commit | 8d5ce97ca457c9bc2ee055f879f17d748282a102 (patch) | |
tree | e3db8ad8dbca4f8b9f2474183ffd307743251fa3 /engines/avalanche | |
parent | c34bc12af20e21e100138d8e9dc37006f404420d (diff) | |
download | scummvm-rg350-8d5ce97ca457c9bc2ee055f879f17d748282a102.tar.gz scummvm-rg350-8d5ce97ca457c9bc2ee055f879f17d748282a102.tar.bz2 scummvm-rg350-8d5ce97ca457c9bc2ee055f879f17d748282a102.zip |
AVALANCHE: Mostly cosmetic modifications in avalot.cpp.
Diffstat (limited to 'engines/avalanche')
-rw-r--r-- | engines/avalanche/avalot.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp index dbc38be178..7126f332e7 100644 --- a/engines/avalanche/avalot.cpp +++ b/engines/avalanche/avalot.cpp @@ -127,7 +127,6 @@ void Avalot::setup() { _vm->_parser->_inputTextPos = 0; _vm->_parser->_quote = true; - // TSkellern = 0; Replace with a more local variable sometime _vm->_lucerna->drawToolbar(); _vm->_scrolls->setReadyLight(2); @@ -150,7 +149,7 @@ void Avalot::setup() { _vm->loadGame(loadSlot); } else { _vm->_gyro->_isLoaded = false; // Set to true in _vm->loadGame(). - _vm->_gyro->newGame(); // No game was requested- load the default. + _vm->_gyro->newGame(); _vm->_gyro->_soundFx = !_vm->_gyro->_soundFx; _vm->_lucerna->fxToggle(); @@ -176,7 +175,6 @@ void Avalot::runAvalot() { _vm->_timer->updateTimer(); #ifdef DEBUG - // ONLY FOR TESTING!!! for (int i = 0; i < _vm->_gyro->_lineNum; i++) { LineType *curLine = &_vm->_gyro->_lines[i]; _vm->_graphics->_surface.drawLine(curLine->_x1, curLine->_y1, curLine->_x2, curLine->_y2, curLine->col); @@ -187,10 +185,9 @@ void Avalot::runAvalot() { if (curField->_x1 < 640) _vm->_graphics->_surface.frameRect(Common::Rect(curField->_x1, curField->_y1, curField->_x2, curField->_y2), kColorLightmagenta); } - // ONLY FOR TESTING!!! #endif - _vm->_graphics->refreshScreen(); // TODO: Maybe it'll have a better place later. Move it there when it's needed. + _vm->_graphics->refreshScreen(); uint32 delay = _vm->_system->getMillis() - beginLoop; if (delay <= 55) |