diff options
author | Strangerke | 2015-12-06 17:24:25 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:33:51 +0100 |
commit | 438e7a24f5f362c383269cca41ced901a98f284e (patch) | |
tree | 6ac7e5747cf0ceb0788b48e6a692eef639a5b5cd /engines/lab/lab.cpp | |
parent | f48cf343c2761b7918924cc4af923f9503de102c (diff) | |
download | scummvm-rg350-438e7a24f5f362c383269cca41ced901a98f284e.tar.gz scummvm-rg350-438e7a24f5f362c383269cca41ced901a98f284e.tar.bz2 scummvm-rg350-438e7a24f5f362c383269cca41ced901a98f284e.zip |
LAB: Get rid of some global variables
Diffstat (limited to 'engines/lab/lab.cpp')
-rw-r--r-- | engines/lab/lab.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/lab/lab.cpp b/engines/lab/lab.cpp index 6781a8acc0..f9de51b41f 100644 --- a/engines/lab/lab.cpp +++ b/engines/lab/lab.cpp @@ -70,6 +70,13 @@ LabEngine::LabEngine(OSystem *syst, const ADGameDescription *gameDesc) _followCrumbsFast = false; _isCrumbTurning = false; _isCrumbWaiting = false; + _noUpdateDiff = false; + _quitLab = false; + _numInv = 0; + _manyRooms = 0; + _direction = 0; + _highestCondition = 0; + _crumbSecs = 0; _crumbMicros = 0; @@ -98,8 +105,8 @@ LabEngine::LabEngine(OSystem *syst, const ADGameDescription *gameDesc) _newFileName = nullptr; _curFileName = " "; - _msgFont = 0; - _inventory = 0; + _msgFont = nullptr; + _inventory = nullptr; initTilePuzzle(); |