[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.443,1.444
Gregory Montoir
cyx at users.sourceforge.net
Fri Jun 17 10:12:23 CEST 2005
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22209/scumm
Modified Files:
script_v6.cpp
Log Message:
o6_setBlastObjectWindow can be safely ignored
Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.443
retrieving revision 1.444
diff -u -d -r1.443 -r1.444
--- script_v6.cpp 13 Jun 2005 07:08:59 -0000 1.443
+++ script_v6.cpp 17 Jun 2005 17:10:54 -0000 1.444
@@ -2468,15 +2468,18 @@
// Set BOMP processing window
void ScummEngine_v6::o6_setBlastObjectWindow() {
- // TODO - implement this
- int a, b, c, d;
-
- d = pop();
- c = pop();
- b = pop();
- a = pop();
+ pop();
+ pop();
+ pop();
+ pop();
- warning("o6_setBlastObjectWindow(%d, %d, %d, %d)", a, b, c, d);
+ // None of the scripts of The Dig and Full Throttle use this opcode.
+ // Sam & Max only uses it at the beginning of the highway subgame. In
+ // the original interpreter pop'ed arguments are just ignored and the
+ // clipping blastObject window is defined with (0, 0, 320, 200)...
+ // which matches the screen dimensions and thus, doesn't require
+ // another clipping operation.
+ // So, we just handle this as no-op opcode.
}
void ScummEngine_v6::o6_kernelSetFunctions() {
More information about the Scummvm-git-logs
mailing list