[Scummvm-cvs-logs] SF.net SVN: scummvm:[35697] scummvm/trunk/engines/agos

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sat Jan 3 14:11:42 CET 2009


Revision: 35697
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35697&view=rev
Author:   eriktorbjorn
Date:     2009-01-03 13:11:42 +0000 (Sat, 03 Jan 2009)

Log Message:
-----------
Make it possible to quit or return to launcher while the Feeble Files list of
savegames is scrolling by. (Agonizingly slowly.)

Modified Paths:
--------------
    scummvm/trunk/engines/agos/charset.cpp
    scummvm/trunk/engines/agos/oracle.cpp

Modified: scummvm/trunk/engines/agos/charset.cpp
===================================================================
--- scummvm/trunk/engines/agos/charset.cpp	2009-01-03 12:32:19 UTC (rev 35696)
+++ scummvm/trunk/engines/agos/charset.cpp	2009-01-03 13:11:42 UTC (rev 35697)
@@ -38,7 +38,7 @@
 	if (_textWindow == NULL)
 		return;
 
-	while (len-- != 0) {
+	while (len-- != 0 && !shouldQuit()) {
 		if (getBitFlag(93)) {
 			if (_curWindow == 3) {
 				if ((_newLines >= _textWindow->scrollY) && (_newLines < (_textWindow->scrollY + 3)))

Modified: scummvm/trunk/engines/agos/oracle.cpp
===================================================================
--- scummvm/trunk/engines/agos/oracle.cpp	2009-01-03 12:32:19 UTC (rev 35696)
+++ scummvm/trunk/engines/agos/oracle.cpp	2009-01-03 13:11:42 UTC (rev 35697)
@@ -383,7 +383,7 @@
 		z++;
 	}
 
-	while (1) {
+	while (!shouldQuit()) {
 		OK = 1;
 		if (getBitFlag(93) || getBitFlag(94)) {
 			OK = 0;
@@ -407,7 +407,7 @@
 				showMessageFormat("\n");
 				hyperLinkOn(j + 400);
 				setTextColor(116);
-				showMessageFormat(" %d. ",1);
+				showMessageFormat(" %d. ", 1);
 				hyperLinkOff();
 				setTextColor(113);
 				k++;
@@ -425,9 +425,9 @@
 		setTextColor(116);
 		if (k < 10)
 			showMessageFormat(" ");
-		showMessageFormat("%d. ",k);
+		showMessageFormat("%d. ", k);
 		setTextColor(113);
-		showMessageFormat("%s ",b);
+		showMessageFormat("%s ", b);
 		hyperLinkOff();
 		j--;
 		k++;


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