diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gnap/gnap.cpp | 6 | ||||
-rw-r--r-- | engines/gnap/gnap.h | 2 | ||||
-rw-r--r-- | engines/gnap/scenes/group2.cpp | 10 |
3 files changed, 0 insertions, 18 deletions
diff --git a/engines/gnap/gnap.cpp b/engines/gnap/gnap.cpp index afb77ebea9..cc0ac2e8b3 100644 --- a/engines/gnap/gnap.cpp +++ b/engines/gnap/gnap.cpp @@ -738,12 +738,6 @@ void GnapEngine::mainLoop() { _sequenceCache->purge(true); _soundCache->purge(true); _spriteCache->purge(true); - - if (isKeyStatus1(Common::KEYCODE_ESCAPE)) { - clearKeyStatus1(Common::KEYCODE_ESCAPE); - if (_debugLevel == 4) - _gameDone = true; - } } if (_backgroundSurface) diff --git a/engines/gnap/gnap.h b/engines/gnap/gnap.h index 0f45dc2e7f..f5b7797914 100644 --- a/engines/gnap/gnap.h +++ b/engines/gnap/gnap.h @@ -251,8 +251,6 @@ public: Common::MemoryWriteStreamDynamic *_tempThumbnail; int _lastUpdateClock; - - int _debugLevel; bool _gameDone; byte _keyPressState[512]; diff --git a/engines/gnap/scenes/group2.cpp b/engines/gnap/scenes/group2.cpp index d0a2131207..db529c9a8a 100644 --- a/engines/gnap/scenes/group2.cpp +++ b/engines/gnap/scenes/group2.cpp @@ -1573,9 +1573,6 @@ void Scene24::run() { _girlSequenceId = 0x36; _boySequenceId = 0x30; - if (_vm->_debugLevel == 4) - _vm->startIdleTimer(8); - _vm->queueInsertDeviceIcon(); if (_vm->_prevSceneNum == 20) { @@ -1721,8 +1718,6 @@ void Scene24::run() { break; } } - if (_vm->_debugLevel == 4) - _vm->updateIdleTimer(); _vm->playSoundA(); } @@ -2359,9 +2354,6 @@ void Scene27::run() { if (!_vm->isFlag(kGFUnk13)) gameSys.insertSequence(0xD3, 39, 0, 0, kSeqNone, 0, 0, 0); - if (_vm->_debugLevel == 4) - _vm->startIdleTimer(6); - gameSys.insertSequence(0xCB, 39, 0, 0, kSeqNone, 0, 0, 0); _currJanitorSequenceId = 0xCB; @@ -2561,8 +2553,6 @@ void Scene27::run() { plat.updateIdleSequence(); if (gnap._actionStatus < 0) gnap.updateIdleSequence(); - if (_vm->_debugLevel == 4) - _vm->updateIdleTimer(); if (!_vm->_timers[5]) { _vm->_timers[5] = _vm->getRandom(20) + 60; if (gnap._actionStatus < 0) { |