[Scummvm-cvs-logs] CVS: scummvm/scumm script_v8.cpp,2.264,2.265

Travis Howell kirben at users.sourceforge.net
Sun Aug 15 00:41:02 CEST 2004


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

Modified Files:
	script_v8.cpp 
Log Message:

Add missing code
Not sure where they are used though.


Index: script_v8.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v8.cpp,v
retrieving revision 2.264
retrieving revision 2.265
diff -u -d -r2.264 -r2.265
--- script_v8.cpp	6 Aug 2004 06:19:13 -0000	2.264
+++ script_v8.cpp	15 Aug 2004 07:40:09 -0000	2.265
@@ -1383,9 +1383,10 @@
 		push(getKeyState(args[1]));
 		break;
 	case 0xCE:		// getRGBSlot
+		push(remapPaletteColor(args[1], args[2], args[3], (uint) - 1));
+		break;
 	case 0xD7:		// getBox
-		push(0);
-		warning("o8_kernelGetFunctions: default case 0x%x (len = %d)", args[0], len);
+		push(checkXYInBoxBounds(args[3], args[1], args[2]));
 		break;
 	case 0xD8: {		// findBlastObject
 		int x = args[1] + (camera._cur.x & 7);





More information about the Scummvm-git-logs mailing list