[Scummvm-cvs-logs] CVS: scummvm/scumm script_v8.cpp,2.27,2.28

Max Horn fingolfin at users.sourceforge.net
Tue Dec 24 18:13:02 CET 2002


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

Modified Files:
	script_v8.cpp 
Log Message:
filled in f-kludge stuff, and make it push(0) - now we don't crash anymore

Index: script_v8.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v8.cpp,v
retrieving revision 2.27
retrieving revision 2.28
diff -u -d -r2.27 -r2.28
--- script_v8.cpp	25 Dec 2002 00:04:12 -0000	2.27
+++ script_v8.cpp	25 Dec 2002 02:12:12 -0000	2.28
@@ -264,10 +264,10 @@
 		OPCODE(o8_soundKludge),
 		OPCODE(o8_system),
 		/* B4 */
+		OPCODE(o6_saveRestoreVerbs),
 		OPCODE(o6_invalid),
 		OPCODE(o6_invalid),
-		OPCODE(o6_invalid),
-		OPCODE(o6_invalid),
+		OPCODE(o6_drawBox),
 		/* B8 */
 		OPCODE(o6_invalid),
 		OPCODE(o6_invalid),
@@ -311,7 +311,7 @@
 		/* D8 */
 		OPCODE(o8_kludge2),
 		OPCODE(o6_invalid),
-		OPCODE(o6_invalid),
+		OPCODE(o6_getVerbEntrypoint),
 		OPCODE(o6_getActorFromXY),
 		/* DC */
 		OPCODE(o6_findObject),
@@ -493,6 +493,7 @@
 		break;
 	case 0xCD:		// SO_PRINT_CHARSET Set print character set
 		// FIXME - TODO
+		pop();
 		break;
 	case 0xCE:
 		_string[m].center = false;
@@ -1171,13 +1172,24 @@
 	getStackList(args, sizeof(args) / sizeof(args[0]));
 
 	switch (args[0]) {
-	case 0xE0:
-		// TODO - ReadRegistryValue
-		push(0);
-		break;
+	case 0xCE:		// getRGBSlot
+	case 0xD3:		// getKeyState
+	case 0xD7:		// getBox
+	case 0xD8:		// findBlastObject
+	case 0xD9:		// actorHit
+	case 0xDA:		// lipSyncWidth
+	case 0xDB:		// lipSyncHeight
+	case 0xDC:		// actorTalkAnimation
+	case 0xDD:		// getMasterSFXVol
+	case 0xDE:		// getMasterVoiceVol
+	case 0xDF:		// getMasterMusicVol
+	case 0xE0:		// readRegistryValue
 	default:
+		// FIXME - hack!
+		push(0);
 		warning("o8_kludge2: default case %d", args[0]);
 	}
+
 }
 
 void Scumm_v8::o8_getObjectImageX()





More information about the Scummvm-git-logs mailing list