[Scummvm-cvs-logs] CVS: tools descumm.cpp,1.66,1.67

Max Horn fingolfin at users.sourceforge.net
Sun Jul 6 13:08:06 CEST 2003


Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1:/tmp/cvs-serv23580

Modified Files:
	descumm.cpp 
Log Message:
added V4 mode (we probably should just switch over to using a game name instead, and use the same table as in scummvm.cpp)

Index: descumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm.cpp,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- descumm.cpp	24 Jun 2003 17:28:36 -0000	1.66
+++ descumm.cpp	6 Jul 2003 20:07:23 -0000	1.67
@@ -2800,10 +2800,10 @@
 
 	case 0x30:
 	case 0xB0:
-		if (scriptVersion == 5)
-			do_matrix_ops(buf, opcode);
-		else
+		if (scriptVersion == 3)
 			do_tok(buf, "setBoxFlags", ((opcode & 0x80) ? A1V : A1B) | A2B);
+		else
+			do_matrix_ops(buf, opcode);
 		break;
 
 	case 0x7C:
@@ -2918,6 +2918,7 @@
 			"Flags:\n"
 			"\t-2\tInput Script is v2\n"
 			"\t-3\tInput Script is v3\n"
+			"\t-4\tInput Script is v4\n"
 			"\t-5\tInput Script is v5\n"
 			"\t-n\tUse Indy3-256 specific hacks\n"
 			"\t-z\tUse Zak256 specific hacks\n"
@@ -3011,6 +3012,9 @@
 					break;
 				case '3':
 					scriptVersion = 3;
+					break;
+				case '4':
+					scriptVersion = 4;
 					break;
 				case '5':
 					scriptVersion = 5;





More information about the Scummvm-git-logs mailing list