[Scummvm-cvs-logs] CVS: scummvm/scumm scummvm.cpp,2.351,2.352

Torbj?rn Andersson eriktorbjorn at users.sourceforge.net
Mon Aug 25 23:36:22 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv19105

Modified Files:
	scummvm.cpp 
Log Message:
Actually, we used to draw blast text after blast objects. I changed the
order to fix the Full Throttle end credits. I guess I should have added a
comment about that. :-)


Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 2.351
retrieving revision 2.352
diff -u -d -r2.351 -r2.352
--- scummvm.cpp	24 Aug 2003 21:58:16 -0000	2.351
+++ scummvm.cpp	26 Aug 2003 06:35:38 -0000	2.352
@@ -1369,8 +1369,18 @@
 			checkV2MouseOver(_mouse);
 		}
 
-		drawBlastObjects();
-		drawBlastTexts();
+		// For the Full Throttle credits to work properly, the blast
+		// texts have to be drawn before the blast objects. Unless
+		// someone can think of a better way to achieve this effect.
+
+		if (_gameId == GID_FT) {
+			drawBlastTexts();
+			drawBlastObjects();
+		} else {
+			drawBlastObjects();
+			drawBlastTexts();
+		}
+
 		if (_version == 8)
 			processUpperActors();
 		drawDirtyScreenParts();





More information about the Scummvm-git-logs mailing list