diff options
-rw-r--r-- | engines/scumm/insane/insane.cpp | 5 | ||||
-rw-r--r-- | engines/scumm/insane/insane.h | 2 | ||||
-rw-r--r-- | engines/scumm/insane/insane_scenes.cpp | 3 |
3 files changed, 0 insertions, 10 deletions
diff --git a/engines/scumm/insane/insane.cpp b/engines/scumm/insane/insane.cpp index 4dc639ce0d..3f979ce2a3 100644 --- a/engines/scumm/insane/insane.cpp +++ b/engines/scumm/insane/insane.cpp @@ -126,7 +126,6 @@ void Insane::initvars(void) { _keyboardDisable = 0; _needSceneSwitch = false; _idx2Exceeded = 0; - _lastKey = 0; _tiresRustle = false; _keybOldDx = 0; _keybOldDy = 0; @@ -1402,10 +1401,6 @@ bool Insane::smush_eitherNotStartNewFrame(void) { } } -int32 Insane::getLastKey(bool arg_0) { - return _vm->_lastKeyHit; -} - bool Insane::smlayer_actorNeedRedraw(int actornum, int actnum) { Actor *a = _vm->derefActor(_actor[actornum].act[actnum].actor, "smlayer_actorNeedRedraw"); diff --git a/engines/scumm/insane/insane.h b/engines/scumm/insane/insane.h index c85d57d5f3..1ba916cc5a 100644 --- a/engines/scumm/insane/insane.h +++ b/engines/scumm/insane/insane.h @@ -106,7 +106,6 @@ class Insane { int16 _keyboardDisable; bool _needSceneSwitch; int32 _idx2Exceeded; - int32 _lastKey; bool _beenCheated; bool _tiresRustle; int _keybOldDx; @@ -416,7 +415,6 @@ class Insane { int32 step2, int32 setupsan1); void smush_setFrameSteps(int32 step1, int32 step2); void smush_setupSanFile(const char *filename, int32 offset, int32 contFrame); - int32 getLastKey(bool arg_0); void drawSpeedyActor(int32 arg_0); void actor11Reaction(int32 buttons); void actor12Reaction(int32 buttons); diff --git a/engines/scumm/insane/insane_scenes.cpp b/engines/scumm/insane/insane_scenes.cpp index 58e28452cd..d6dd75f813 100644 --- a/engines/scumm/insane/insane_scenes.cpp +++ b/engines/scumm/insane/insane_scenes.cpp @@ -831,8 +831,6 @@ void Insane::procPreRendering(void) { _keyboardDisable = 0; } } - - _lastKey = getLastKey(1); } void Insane::procPostRendering(byte *renderBitmap, int32 codecparam, int32 setupsan12, @@ -1002,7 +1000,6 @@ void Insane::procPostRendering(byte *renderBitmap, int32 codecparam, int32 setup if (needMore) postCaseMore(renderBitmap, codecparam, setupsan12, setupsan13, curFrame, maxFrame); - _lastKey = 0; _tiresRustle = false; } |