diff options
author | Sven Hesse | 2008-05-23 21:02:21 +0000 |
---|---|---|
committer | Sven Hesse | 2008-05-23 21:02:21 +0000 |
commit | 9a03a9a66516f01e512ffe790f1b9588dc1d2375 (patch) | |
tree | e89df952c64b8236f2a611698a8f0a0b94667f59 /engines/gob | |
parent | 62d0a0d1d1e3735e4898729493ea2dcaa7f85df4 (diff) | |
download | scummvm-rg350-9a03a9a66516f01e512ffe790f1b9588dc1d2375.tar.gz scummvm-rg350-9a03a9a66516f01e512ffe790f1b9588dc1d2375.tar.bz2 scummvm-rg350-9a03a9a66516f01e512ffe790f1b9588dc1d2375.zip |
Removing test code
svn-id: r32234
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/gob.cpp | 29 | ||||
-rw-r--r-- | engines/gob/gob.h | 2 |
2 files changed, 0 insertions, 31 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp index 9990ed5a8a..a3fe0ebbe2 100644 --- a/engines/gob/gob.cpp +++ b/engines/gob/gob.cpp @@ -267,35 +267,6 @@ void GobEngine::pauseEngineIntern(bool pause) { _mixer->pauseAll(pause); } -void GobEngine::pauseGame() { - Common::Event event; - Common::EventManager *eventMan = g_system->getEventManager(); - - pauseEngineIntern(true); - - bool end = false; - while (!end && !_quitRequested) { - if (eventMan->pollEvent(event)) { - switch (event.type) { - case Common::EVENT_KEYDOWN: - if (event.kbd.flags == Common::KBD_CTRL) - if (event.kbd.keycode == Common::KEYCODE_SPACE) - end = true; - break; - case Common::EVENT_QUIT: - _quitRequested = true; - break; - default: - break; - } - } - - _vm->_util->delay(15); - } - - pauseEngineIntern(false); -} - bool GobEngine::initGameParts() { _noMusic = MidiDriver::parseMusicDriver(ConfMan.get("music_driver")) == MD_NULL; diff --git a/engines/gob/gob.h b/engines/gob/gob.h index ba4d8a17f5..efc9718098 100644 --- a/engines/gob/gob.h +++ b/engines/gob/gob.h @@ -238,8 +238,6 @@ public: virtual ~GobEngine(); void initGame(const GOBGameDescription *gd); - - void pauseGame(); }; } // End of namespace Gob |