diff options
author | Johannes Schickel | 2008-05-10 19:41:26 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-05-10 19:41:26 +0000 |
commit | d21d9858fd33a56983eb89b662db2b27fead3ce5 (patch) | |
tree | c9c5b8a5e12e5a4fc9950d1b05d5ac785c8915c4 /engines/kyra/kyra_hof.cpp | |
parent | 5082419fe9957ca144904fe2cdb3e86ff7b36e1f (diff) | |
download | scummvm-rg350-d21d9858fd33a56983eb89b662db2b27fead3ce5.tar.gz scummvm-rg350-d21d9858fd33a56983eb89b662db2b27fead3ce5.tar.bz2 scummvm-rg350-d21d9858fd33a56983eb89b662db2b27fead3ce5.zip |
- Cleaned up main menu quit handling
- Moved KyraEngine_HoF delay implementation to KyraEngine_v2
svn-id: r31987
Diffstat (limited to 'engines/kyra/kyra_hof.cpp')
-rw-r--r-- | engines/kyra/kyra_hof.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/engines/kyra/kyra_hof.cpp b/engines/kyra/kyra_hof.cpp index cd4ed72ae3..ebe39ee02c 100644 --- a/engines/kyra/kyra_hof.cpp +++ b/engines/kyra/kyra_hof.cpp @@ -743,23 +743,6 @@ void KyraEngine_HoF::updateMouse() { } } -void KyraEngine_HoF::delay(uint32 amount, bool updateGame, bool isMainLoop) { - uint32 start = _system->getMillis(); - do { - if (updateGame) { - if (_chatText) - updateWithText(); - else - update(); - } else { - updateInput(); - } - - if (amount > 0) - _system->delayMillis(amount > 10 ? 10 : amount); - } while (!skipFlag() && _system->getMillis() < start + amount && !_quitFlag); -} - void KyraEngine_HoF::cleanup() { delete[] _inventoryButtons; _inventoryButtons = 0; |