[Scummvm-cvs-logs] SF.net SVN: scummvm: [21097] tools/trunk

kirben at users.sourceforge.net kirben at users.sourceforge.net
Sun Mar 5 16:37:49 CET 2006


Revision: 21097
Author:   kirben
Date:     2006-03-05 05:31:25 -0800 (Sun, 05 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm?rev=21097&view=rev

Log Message:
-----------
Add HE60+ kernel cases and remove out dated comment

Modified Paths:
--------------
    tools/trunk/descumm.cpp
    tools/trunk/descumm6.cpp
Modified: tools/trunk/descumm.cpp
===================================================================
--- tools/trunk/descumm.cpp	2006-03-05 13:02:06 UTC (rev 21096)
+++ tools/trunk/descumm.cpp	2006-03-05 13:31:25 UTC (rev 21097)
@@ -801,12 +801,11 @@
 		case 0x0E:
 			buf = do_tok(buf, "InitAnimNr", ((opcode & 0x80) ? A1V : A1B));
 			break;
-//    case 0x0F: buf=do_tok(buf, "Unk3_Set21_22to1", A1VARUNTIL0xFF); break;
+//    		case 0x0F: buf=do_tok(buf, "PaletteList", A1VARUNTIL0xFF); break;
 		case 0x10:
 			buf = do_tok(buf, "Width", ((opcode & 0x80) ? A1V : A1B));
 			break;
 		case 0x11:
-			// FIXME for GID_MONKEY_VGA / GID_MONKEY_EGA this is:
 			if (scriptVersion == 5)
 				buf = do_tok(buf, "Scale", ((opcode & 0x80) ? A1V : A1B) | ((opcode & 0x40) ? A2V : A2B));
 			else

Modified: tools/trunk/descumm6.cpp
===================================================================
--- tools/trunk/descumm6.cpp	2006-03-05 13:02:06 UTC (rev 21096)
+++ tools/trunk/descumm6.cpp	2006-03-05 13:31:25 UTC (rev 21097)
@@ -3387,10 +3387,11 @@
 		break;
 	case 0xC8:
 		if (HumongousFlag)
-			ext(output, "rl|kernelGetFunctions");
-		else {
-			if (scriptVersion == 7) 
 				ext(output, "ry" "kernelGetFunctions\0"
+					"\x1|virtScreenSave"
+					);
+		else if (scriptVersion == 7) 
+				ext(output, "ry" "kernelGetFunctions\0"
 					"\x73|getWalkBoxAt,"
 					"\x74|isPointInBox,"
 					"\xCE|getRGBSlot,"
@@ -3404,14 +3405,17 @@
 					"\xD6|getVerbYPos,"
 					"\xD7|getBoxFlags"
 					);
-			else 
+		else 
 				ext(output, "ry" "kernelGetFunctions\0"
 					"\x71|getPixel"
 					);
-		}
 		break;
 	case 0xC9:
-		if (scriptVersion == 7) 
+		if (HumongousFlag)
+				ext(output, "ry" "kernelSetFunctions\0"
+					"\x1|virtScreenLoad"
+					);
+		else if (scriptVersion == 7) 
 			ext(output, "y" "kernelSetFunctions\0"
 					"\x4|grabCursor,"
 					"\x6|startVideo,"







More information about the Scummvm-git-logs mailing list