[Scummvm-git-logs] scummvm master -> dd152510afece30ca90d7154dd65a53e84a69942
Strangerke
Strangerke at scummvm.org
Tue Apr 24 00:04:07 CEST 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
dd152510af LILLIPUT: Remove some unused variables, initialize some others
Commit: dd152510afece30ca90d7154dd65a53e84a69942
https://github.com/scummvm/scummvm/commit/dd152510afece30ca90d7154dd65a53e84a69942
Author: Strangerke (strangerke at scummvm.org)
Date: 2018-04-24T00:01:46+02:00
Commit Message:
LILLIPUT: Remove some unused variables, initialize some others
Changed paths:
engines/lilliput/lilliput.cpp
engines/lilliput/lilliput.h
diff --git a/engines/lilliput/lilliput.cpp b/engines/lilliput/lilliput.cpp
index cc52475..88bea2a 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 ac33a0f..cb4e43c 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;
More information about the Scummvm-git-logs
mailing list