[Scummvm-cvs-logs] CVS: scummvm/scumm script.cpp,1.175,1.176 script_v5.cpp,1.254,1.255

Travis Howell kirben at users.sourceforge.net
Sat Aug 21 02:03:21 CEST 2004


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

Modified Files:
	script.cpp script_v5.cpp 
Log Message:

Skip copy protection screen in indy3ega.


Index: script.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script.cpp,v
retrieving revision 1.175
retrieving revision 1.176
diff -u -d -r1.175 -r1.176
--- script.cpp	20 Aug 2004 01:26:56 -0000	1.175
+++ script.cpp	21 Aug 2004 09:02:45 -0000	1.176
@@ -519,11 +519,7 @@
 			var = (var >> 4) & 0xFF;
 
 			if (!_copyProtection) {
-				// INDY3, EGA Loom and, apparently, Zak256 check this
-				// during the game...
-				if (_gameId == GID_INDY3 && (_features & GF_OLD_BUNDLE) && var == 94 && bit == 4) {
-					return 0;
-				} else if (_gameId == GID_LOOM && (_features & GF_FMTOWNS) && var == 214 && bit == 15) {
+				if (_gameId == GID_LOOM && (_features & GF_FMTOWNS) && var == 214 && bit == 15) {
 					return 0;
 				} else if (_gameId == GID_ZAK256 && var == 151 && bit == 8) {
 					return 0;

Index: script_v5.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v5.cpp,v
retrieving revision 1.254
retrieving revision 1.255
diff -u -d -r1.254 -r1.255
--- script_v5.cpp	21 Aug 2004 03:29:02 -0000	1.254
+++ script_v5.cpp	21 Aug 2004 09:02:45 -0000	1.255
@@ -1463,6 +1463,14 @@
 
 	room = getVarOrDirectByte(PARAM_1);
 	
+	if (!_copyProtection) {
+		// Skip copy protection scheme
+		if (_gameId == GID_INDY3 && (_features & GF_OLD_BUNDLE) && room == 92) {
+			VAR(57) = 1;
+			return;
+		}
+	}
+
 	// For small header games, we only call startScene if the room
 	// actually changed. This avoid unwanted (wrong) fades in Zak256
 	// and others. OTOH, it seems to cause a problem in newer games.





More information about the Scummvm-git-logs mailing list