diff options
Diffstat (limited to 'scumm/script_v6.cpp')
-rw-r--r-- | scumm/script_v6.cpp | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp index 986cf79cc4..29f4fc6a80 100644 --- a/scumm/script_v6.cpp +++ b/scumm/script_v6.cpp @@ -2468,15 +2468,18 @@ void ScummEngine_v6::o6_drawBlastObject() { // 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() { |