diff options
author | Simei Yin | 2017-07-15 17:33:10 +0200 |
---|---|---|
committer | Simei Yin | 2017-07-15 17:51:57 +0200 |
commit | a3876ee8c1bf43ad998681188f83266a85ab64b8 (patch) | |
tree | ed4d3a81bb66580677fd9d673e8f27a4b5a41931 /engines/sludge/builtin.cpp | |
parent | 8c57d2d82540d1b7656375c808812ac4cba9d232 (diff) | |
download | scummvm-rg350-a3876ee8c1bf43ad998681188f83266a85ab64b8.tar.gz scummvm-rg350-a3876ee8c1bf43ad998681188f83266a85ab64b8.tar.bz2 scummvm-rg350-a3876ee8c1bf43ad998681188f83266a85ab64b8.zip |
SLUDGE: Clean useless #if 0's
Diffstat (limited to 'engines/sludge/builtin.cpp')
-rw-r--r-- | engines/sludge/builtin.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/engines/sludge/builtin.cpp b/engines/sludge/builtin.cpp index 61590a5f0f..dbf9dfc57b 100644 --- a/engines/sludge/builtin.cpp +++ b/engines/sludge/builtin.cpp @@ -77,17 +77,12 @@ extern Common::String *allUserFunc; extern Common::String *allBIFNames; extern inputType input; -#if 0 -extern GLuint backdropTextureName; -#endif - extern float speechSpeed; extern byte brightnessLevel; extern byte fadeMode; extern uint16 saveEncoding; extern frozenStuffStruct *frozenStuff; extern uint currentBlankColour; -extern uint languageID; extern byte currentBurnR, currentBurnG, currentBurnB; int paramNum[] = { -1, 0, 1, 1, -1, -1, 1, 3, 4, 1, 0, 0, 8, -1, // SAY->MOVEMOUSE @@ -1010,19 +1005,11 @@ builtIn(callEvent) { return BR_CONTINUE; } -#if 0 -SDL_Event quit_event; -#endif - bool reallyWantToQuit = false; builtIn(quitGame) { UNUSEDALL reallyWantToQuit = true; -#if 0 - quit_event.type = SDL_QUIT; - SDL_PushEvent(&quit_event); -#endif return BR_CONTINUE; } @@ -2627,7 +2614,6 @@ builtReturn callBuiltIn(int whichFunc, int numParams, loadedFunction *fun) { } if (builtInFunctionArray[whichFunc].func) { - //fprintf (stderr, "Calling %i: %s\n", whichFunc, builtInFunctionNames[whichFunc]); return builtInFunctionArray[whichFunc].func(numParams, fun); } } |