aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2003-05-25 11:52:30 +0000
committerMax Horn2003-05-25 11:52:30 +0000
commit6bcf19b62d537945adcbf9069904942e0e13d913 (patch)
tree81757bbdca9ec1eb6fc9efca7a9eaaef5ae8a611
parentd3acda91f637346a878a5ccf3e3936604e9ebe2b (diff)
downloadscummvm-rg350-6bcf19b62d537945adcbf9069904942e0e13d913.tar.gz
scummvm-rg350-6bcf19b62d537945adcbf9069904942e0e13d913.tar.bz2
scummvm-rg350-6bcf19b62d537945adcbf9069904942e0e13d913.zip
brutally remove all o6_kernelSetFunctions subop stubs - we need to find out the places where they are actually called, and with how many params, if we ever want to implement them
svn-id: r7937
-rw-r--r--scumm/script_v6.cpp17
1 files changed, 1 insertions, 16 deletions
diff --git a/scumm/script_v6.cpp b/scumm/script_v6.cpp
index 70089fe6ef..430c2e7a2b 100644
--- a/scumm/script_v6.cpp
+++ b/scumm/script_v6.cpp
@@ -2443,15 +2443,6 @@ void Scumm_v6::o6_kernelSetFunctions() {
delete sp;
}
break;
- case 7:
- warning("o6_kernelSetFunctions: stub7()");
- break;
- case 10:
- warning("o6_kernelSetFunctions: stub10(%d,%d,%d,%d)", args[1], args[2], args[3], args[4]);
- break;
- case 11:
- warning("o6_kernelSetFunctions: stub11(%d)", args[1]);
- break;
case 12:
setCursorImg(args[1], (uint) - 1, args[2]);
break;
@@ -2505,11 +2496,9 @@ void Scumm_v6::o6_kernelSetFunctions() {
drawDescString(getStringAddressVar(VAR_STRING2DRAW));
}
break;
- case 18:
- warning("o6_kernelSetFunctions: stub18(%d,%d)", args[1], args[2]);
- break;
case 20:
// Occurs in The Dig, at the alien pyramid. See bug #742979.
+ // Also occurs in the first scene of The Dig.
warning("o6_kernelSetFunctions: stub20(%d, %d)", args[1], args[2]);
break;
case 107:
@@ -2536,10 +2525,6 @@ void Scumm_v6::o6_kernelSetFunctions() {
case 119:
enqueueObject(args[1], args[2], args[3], args[4], args[5], args[6], args[7], args[8], 0);
break;
- case 120:
- // FIXME: isn't it likely that this does the same as the pre-V7 opcode with the same id, i.e. swapPalColors?
- warning("o6_kernelSetFunctions: stub120(%d,%d)", args[1], args[2]);
- break;
case 124:
_saveSound = args[1];
break;