[Scummvm-cvs-logs] CVS: tools descumm.cpp,1.38,1.39

Max Horn fingolfin at users.sourceforge.net
Fri May 16 03:26:05 CEST 2003


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

Modified Files:
	descumm.cpp 
Log Message:
add hack which allows (in a very hackish fashion) to analyze V2 verb scripts

Index: descumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm.cpp,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- descumm.cpp	16 May 2003 02:30:57 -0000	1.38
+++ descumm.cpp	16 May 2003 10:25:18 -0000	1.39
@@ -3016,7 +3016,14 @@
 			printf("File too small to be a script\n");
 			exit(0);
 		}
+#if 1 || VERB_SCRIPT
+		if (scriptVersion == 2)
+			mem += skipVerbHeader_V23(mem + 15);
+		else
+			mem += skipVerbHeader_V23(mem + 17);
+#else
 		mem += 4;
+#endif
 	} else if (scriptVersion == 5) {
 		if (size_of_code < 8) {
 			printf("File too small to be a script\n");





More information about the Scummvm-git-logs mailing list