[Scummvm-cvs-logs] CVS: scummvm/scumm vars.cpp,1.78,1.79

Max Horn fingolfin at users.sourceforge.net
Sun Mar 28 15:14:08 CEST 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31308

Modified Files:
	vars.cpp 
Log Message:
Fix for bug #907174 (LOOM MAC: Crash after entering copy protection)

Index: vars.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/vars.cpp,v
retrieving revision 1.78
retrieving revision 1.79
diff -u -d -r1.78 -r1.79
--- vars.cpp	1 Mar 2004 06:25:01 -0000	1.78
+++ vars.cpp	28 Mar 2004 23:02:03 -0000	1.79
@@ -54,7 +54,14 @@
 	VAR_CUTSCENEEXIT_KEY = 24;
 	VAR_TALK_ACTOR = 25;
 	VAR_CAMERA_FAST_X = 26;
-	VAR_SCROLL_SCRIPT = 27;
+	
+	// FIXME: Apparently, in the Mac version of Loom, scumm variable 27 was
+	// used for another purpose. It is being set to values 0, 1, 2 or 3.
+	// Maybe it's some kind of 'scroll mode'. See also:
+	// http://www.scummbar.com/games/media/transcripts/maclucas.txt
+	if (!(_gameId == GID_LOOM && _features & GF_MACINTOSH))
+		VAR_SCROLL_SCRIPT = 27;
+
 	VAR_ENTRY_SCRIPT = 28;
 	VAR_ENTRY_SCRIPT2 = 29;
 	VAR_EXIT_SCRIPT = 30;





More information about the Scummvm-git-logs mailing list