LILLIPUT: Remove some unused variables, initialize some others

This commit is contained in:
Strangerke 2018-04-23 23:55:33 +02:00
parent 366fbf5d2a
commit dd152510af
2 changed files with 11 additions and 3 deletions

View File

@ -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;

View File

@ -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;