[Scummvm-cvs-logs] SF.net SVN: scummvm: [22587] scummvm/trunk/engines/kyra/kyra3.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Tue May 23 13:11:06 CEST 2006
Revision: 22587
Author: eriktorbjorn
Date: 2006-05-23 13:10:01 -0700 (Tue, 23 May 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22587&view=rev
Log Message:
-----------
Check _quitFlag during the first parts of the Kyra 3 main menu animation.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/kyra3.cpp
Modified: scummvm/trunk/engines/kyra/kyra3.cpp
===================================================================
--- scummvm/trunk/engines/kyra/kyra3.cpp 2006-05-23 20:05:38 UTC (rev 22586)
+++ scummvm/trunk/engines/kyra/kyra3.cpp 2006-05-23 20:10:01 UTC (rev 22587)
@@ -111,14 +111,14 @@
logo->setX(0); logo->setY(0);
logo->setDrawPage(0);
- for (int i = 0; i < 64; ++i) {
+ for (int i = 0; i < 64 && !_quitFlag; ++i) {
uint32 nextRun = _system->getMillis() + 3 * _tickLength;
logo->displayFrame(i);
_screen->updateScreen();
delayUntil(nextRun);
}
- for (int i = 64; i > 29; --i) {
+ for (int i = 64; i > 29 && !_quitFlag; --i) {
uint32 nextRun = _system->getMillis() + 3 * _tickLength;
logo->displayFrame(i);
_screen->updateScreen();
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