diff options
author | Nicola Mettifogo | 2007-11-01 21:23:48 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-11-01 21:23:48 +0000 |
commit | 793553c1b443921e7a5272fff60971d017024b60 (patch) | |
tree | 628b253fcc9b9c46bcd5b556bb6beea45f97e7d6 /engines/parallaction | |
parent | 25e4547434285b5c1411b2874113d21a696fbbe9 (diff) | |
download | scummvm-rg350-793553c1b443921e7a5272fff60971d017024b60.tar.gz scummvm-rg350-793553c1b443921e7a5272fff60971d017024b60.tar.bz2 scummvm-rg350-793553c1b443921e7a5272fff60971d017024b60.zip |
Made debug console available when displaying slides (like intermissions and menu).
svn-id: r29370
Diffstat (limited to 'engines/parallaction')
-rw-r--r-- | engines/parallaction/parallaction.cpp | 22 |
1 files changed, 3 insertions, 19 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp index 126e16c77b..1af7f5c736 100644 --- a/engines/parallaction/parallaction.cpp +++ b/engines/parallaction/parallaction.cpp @@ -263,27 +263,11 @@ uint16 Parallaction::updateInput() { // FIXME: see comment for updateInput() void waitUntilLeftClick() { - Common::Event e; - - Common::EventManager *eventMan = g_system->getEventManager(); - for (;;) { - eventMan->pollEvent(e); - - if (e.type == Common::EVENT_LBUTTONUP) - break; - - if (e.type == Common::EVENT_QUIT) { - // TODO: don't quit() here, just have caller routines to check - // on kEngineQuit and exit gracefully to allow the engine to shut down - _engineFlags |= kEngineQuit; - g_system->quit(); - break; - } - + do { + _vm->updateInput(); _vm->_gfx->updateScreen(); g_system->delayMillis(30); - } - + } while (_mouseButtons != kMouseLeftUp); return; } |