diff options
author | Gregory Montoir | 2005-06-17 17:10:54 +0000 |
---|---|---|
committer | Gregory Montoir | 2005-06-17 17:10:54 +0000 |
commit | c60400035a82ccc79475622082aa1e990e27dd44 (patch) | |
tree | 765663363f52accf285a1518735c09d98d6f3051 /scumm | |
parent | 37f90ff1fc874a2b35639c3536c47b5b3f7ba482 (diff) | |
download | scummvm-rg350-c60400035a82ccc79475622082aa1e990e27dd44.tar.gz scummvm-rg350-c60400035a82ccc79475622082aa1e990e27dd44.tar.bz2 scummvm-rg350-c60400035a82ccc79475622082aa1e990e27dd44.zip |
o6_setBlastObjectWindow can be safely ignored
svn-id: r18404
Diffstat (limited to 'scumm')
-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() { |