[Scummvm-cvs-logs] CVS: scummvm/scumm script_v5.cpp,1.53,1.54

Jonathan Gray khalek at users.sourceforge.net
Tue Apr 29 04:28:10 CEST 2003


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

Modified Files:
	script_v5.cpp 
Log Message:
change/comment to cursorCommond sub/op everyone is talking about

Index: script_v5.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v5.cpp,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -d -r1.53 -r1.54
--- script_v5.cpp	29 Apr 2003 10:27:47 -0000	1.53
+++ script_v5.cpp	29 Apr 2003 11:27:11 -0000	1.54
@@ -642,7 +642,7 @@
 		initCharset(getVarOrDirectByte(0x80));
 		break;
 	case 14:											/* unk */
-		if (_gameId == GID_INDY3 || _gameId == GID_INDY3_256) {
+		if (_features & GF_OLD_BUNDLE || _gameId == GID_INDY3_256) {
 			// FIXME: What is this supposed to do? From comparing
 			// Indy3's script 118 to the Passport Demo's script 58
 			// my guess is that it's some sort of "init charset",
@@ -655,7 +655,9 @@
 			// loadCharset(a);
 			// Assuming this is correct, we might not actually need it, as our
 			// initCharset automatically calls loadCharset for GF_SMALL_HEADER, if needed.
-			// And finally, are we sure only Indy3 needs this, and not also e.g. Loom?
+			// Loom ega at least does need this and v2 has its own cursor command
+			// so making this for OLD_BUNDLE. Going by disassembly zak256 does not have a
+			// sub op for this case, not sure about loomcd
 		} else {
 			getWordVararg(table);
 			for (i = 0; i < 16; i++)





More information about the Scummvm-git-logs mailing list