[Scummvm-cvs-logs] SF.net SVN: scummvm: [29370] scummvm/trunk/engines/parallaction/ parallaction.cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Thu Nov 1 22:23:48 CET 2007
Revision: 29370
http://scummvm.svn.sourceforge.net/scummvm/?rev=29370&view=rev
Author: peres001
Date: 2007-11-01 14:23:48 -0700 (Thu, 01 Nov 2007)
Log Message:
-----------
Made debug console available when displaying slides (like intermissions and menu).
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/parallaction.cpp
Modified: scummvm/trunk/engines/parallaction/parallaction.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/parallaction.cpp 2007-11-01 21:03:16 UTC (rev 29369)
+++ scummvm/trunk/engines/parallaction/parallaction.cpp 2007-11-01 21:23:48 UTC (rev 29370)
@@ -263,28 +263,12 @@
// 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;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list