[Scummvm-cvs-logs] CVS: tools descumm6.cpp,1.133,1.134
Travis Howell
kirben at users.sourceforge.net
Wed Feb 18 22:16:00 CET 2004
Update of /cvsroot/scummvm/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10618
Modified Files:
descumm6.cpp
Log Message:
These subops should be version7 only
Add a few more subops
Index: descumm6.cpp
===================================================================
RCS file: /cvsroot/scummvm/tools/descumm6.cpp,v
retrieving revision 1.133
retrieving revision 1.134
diff -u -d -r1.133 -r1.134
--- descumm6.cpp 19 Feb 2004 05:40:13 -0000 1.133
+++ descumm6.cpp 19 Feb 2004 06:05:11 -0000 1.134
@@ -2446,33 +2446,44 @@
ext(output, "rpppp|getDistPtPt");
break;
case 0xC8:
- // TODO - add more subopcodes
- ext(output, "ry" "kernelGetFunctions\0"
- "\x73|getWalkBoxAt,"
- "\x74|isPointInBox,"
- "\xCE|getRGBSlot"
- );
+ if (scriptVersion == 7)
+ // TODO - add more subopcodes
+ ext(output, "ry" "kernelGetFunctions\0"
+ "\x73|getWalkBoxAt,"
+ "\x74|isPointInBox,"
+ "\xCE|getRGBSlot"
+ );
+ else
+ ext(output, "l|kernelGetFunctions");
break;
case 0xC9:
- // TODO - add more subopcodes
- ext(output, "y" "kernelSetFunctions\0"
- "\x4|grabCursor,"
- "\x5|fadeOut,"
- "\x6|startVideo,"
- "\xC|setCursorImg,"
- "\xD|remapCostume,"
- "\xE|remapCostumeInsert,"
- "\xF|setVideoFrameRate,"
+ if (scriptVersion == 7)
+ ext(output, "y" "kernelSetFunctions\0"
+ "\x4|grabCursor,"
+ "\x5|fadeOut,"
+ "\x6|startVideo,"
+ "\xC|setCursorImg,"
+ "\xD|remapCostume,"
+ "\xE|remapCostumeInsert,"
+ "\xF|setVideoFrameRate,"
- "\x10|enqueueTextA,"
- "\x11|enqueueTextB,"
+ "\x10|enqueueTextA,"
+ "\x11|enqueueTextB,"
+ "\x14|setRadioChatter,"
- "\x6C|buildPaletteShadow,"
- "\x6D|setPaletteShadow,"
+ "\x6B|setActorScale,"
+ "\x6C|buildPaletteShadow,"
+ "\x6D|setPaletteShadow,"
- "\x76|blastShadowObject,"
- "\x77|superBlastObject"
- );
+ "\x75|freezeScripts,"
+ "\x76|blastShadowObject,"
+ "\x77|superBlastObject,"
+ "\x7C|setSaveSound,"
+ "\xD7|setSubtitles,"
+ );
+ else
+ // TODO - add subopcodes
+ ext(output, "l|kernelSetFunctions");
break;
case 0xCA:
ext(output, "p|breakXTimes");
More information about the Scummvm-git-logs
mailing list