From 6bcf19b62d537945adcbf9069904942e0e13d913 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 25 May 2003 11:52:30 +0000 Subject: 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 --- scumm/script_v6.cpp | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) (limited to 'scumm') 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; -- cgit v1.2.3