[Scummvm-cvs-logs] CVS: tools descumm6.cpp,1.146,1.147

Eugene Sandulenko sev at users.sourceforge.net
Sun Feb 29 22:45:00 CET 2004


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

Modified Files:
	descumm6.cpp 
Log Message:
Make some opcodes V7he where they belong


Index: descumm6.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm6.cpp,v
retrieving revision 1.146
retrieving revision 1.147
diff -u -d -r1.146 -r1.147
--- descumm6.cpp	1 Mar 2004 06:00:05 -0000	1.146
+++ descumm6.cpp	1 Mar 2004 06:25:21 -0000	1.147
@@ -1870,7 +1870,7 @@
 				);                \
 	} while(0)
 
-#define PRINT_V6HE(name)           \
+#define PRINT_V7HE(name)           \
 	do {                          \
 		ext(output, "x" name "\0"         \
 				"\x41pp|XY,"      \
@@ -2417,20 +2417,30 @@
 		ext(output, "|stopSentence");
 		break;
 	case 0xB4:
+		// TODO: make it HEv7 specific
 		if (HumongousFlag)
-			PRINT_V6HE("printLine");
+			PRINT_V7HE("printLine");
 		else
 			PRINT_V67("printLine");
 		break;
 	case 0xB5:
-		PRINT_V67("printCursor");
+		// TODO: make it HEv7 specific
+		if (HumongousFlag)
+			PRINT_V7HE("printCursor");
+		else
+			PRINT_V67("printCursor");
 		break;
 	case 0xB6:
-		PRINT_V67("printDebug");
+		// TODO: make it HEv7 specific
+		if (HumongousFlag)
+			PRINT_V7HE("printDebug");
+		else
+			PRINT_V67("printDebug");
 		break;
 	case 0xB7:
+		// TODO: make it HEv7 specific
 		if (HumongousFlag)
-			PRINT_V6HE("printSystem");
+			PRINT_V7HE("printSystem");
 		else
 			PRINT_V67("printSystem");
 		break;
@@ -2444,7 +2454,11 @@
 				"\x47|left," "\x48|overhead," "\x4A|new3," "\x4Bs|msg," "\xFEp|begin," "\xFF|end");
 		break;
 	case 0xB9:
-		PRINT_V67("printEgo");
+		// TODO: make it HEv7 specific
+		if (HumongousFlag)
+			PRINT_V7HE("printEgo");
+		else
+			PRINT_V67("printEgo");
 		break;
 	case 0xBA:
 		ext(output, "ps|talkActor");





More information about the Scummvm-git-logs mailing list