aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2018-04-23 23:55:33 +0200
committerStrangerke2018-04-24 00:01:46 +0200
commitdd152510afece30ca90d7154dd65a53e84a69942 (patch)
tree02e3d756fcfde28c86591e41f63d5461f5548823
parent366fbf5d2a7a427735c7f3c144359da21382f119 (diff)
downloadscummvm-rg350-dd152510afece30ca90d7154dd65a53e84a69942.tar.gz
scummvm-rg350-dd152510afece30ca90d7154dd65a53e84a69942.tar.bz2
scummvm-rg350-dd152510afece30ca90d7154dd65a53e84a69942.zip
LILLIPUT: Remove some unused variables, initialize some others
-rw-r--r--engines/lilliput/lilliput.cpp11
-rw-r--r--engines/lilliput/lilliput.h3
2 files changed, 11 insertions, 3 deletions
diff --git a/engines/lilliput/lilliput.cpp b/engines/lilliput/lilliput.cpp
index cc5247592d..88bea2ab71 100644
--- a/engines/lilliput/lilliput.cpp
+++ b/engines/lilliput/lilliput.cpp
@@ -243,6 +243,17 @@ LilliputEngine::LilliputEngine(OSystem *syst, const LilliputGameDescription *gd)
for (int i = 0; i < 20; ++i)
_keyboardMapping[i] = Common::KEYCODE_DOLLAR;
+ _mainSurface = nullptr;
+ _smallAnimsFrameIndex = 0;
+ _keyDelay = 0;
+ _int8Timer = 0;
+ _keyboard_nextIndex = 0;
+ _keyboard_oldIndex = 0;
+ _normalCursor = nullptr;
+ _greenCursor = nullptr;
+ _word10800_ERULES = 0;
+ _currentDisplayCharacter = 0;
+
_shouldQuit = false;
_eventMan = nullptr;
_lastTime = 0;
diff --git a/engines/lilliput/lilliput.h b/engines/lilliput/lilliput.h
index ac33a0f613..cb4e43c3da 100644
--- a/engines/lilliput/lilliput.h
+++ b/engines/lilliput/lilliput.h
@@ -116,9 +116,6 @@ public:
byte _keyboard_oldIndex;
Common::Event _keyboard_buffer[8];
byte _byte12A05;
- byte _byte12A06;
- byte _byte12A07;
- byte _byte12A08;
bool _refreshScreenFlag;
byte _byte16552;
int8 _lastInterfaceHotspotIndex;