[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.204,1.205
Travis Howell
kirben at users.sourceforge.net
Fri Nov 7 19:34:10 CET 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv16854/scumm
Modified Files:
script_v6.cpp
Log Message:
Add missing opcode needed for Spanish version (And maybe others?) of Full Throttle, patch #838309
Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.204
retrieving revision 1.205
diff -u -d -r1.204 -r1.205
--- script_v6.cpp 2 Nov 2003 02:18:14 -0000 1.204
+++ script_v6.cpp 8 Nov 2003 03:33:21 -0000 1.205
@@ -2542,6 +2542,12 @@
case 124:
_saveSound = args[1];
break;
+ case 215:
+ if (args[1])
+ _noSubtitles = false;
+ else
+ _noSubtitles = true;
+ break;
default:
error("o6_kernelSetFunctions: default case %d (param count %d)", args[0], num);
break;
@@ -2661,6 +2667,7 @@
void ScummEngine_v6::o6_kernelGetFunctions() {
int args[30];
int i;
+ int slot;
Actor *a;
getStackList(args, ARRAYSIZE(args));
@@ -2744,6 +2751,14 @@
a = derefActor(args[1], "o6_kernelGetFunctions:212");
// This is used by walk scripts
push(a->frame);
+ break;
+ case 213:
+ slot = getVerbSlot(args[1], 0);
+ push(_verbs[slot].x);
+ break;
+ case 214:
+ slot = getVerbSlot(args[1], 0);
+ push(_verbs[slot].y);
break;
case 215:
if ((_extraBoxFlags[args[1]] & 0x00FF) == 0x00C0) {
More information about the Scummvm-git-logs
mailing list