diff options
| author | Strangerke | 2015-12-06 21:39:41 +0100 |
|---|---|---|
| committer | Willem Jan Palenstijn | 2015-12-23 21:33:52 +0100 |
| commit | 803dbcee90bad321532dea54219697aaec34608a (patch) | |
| tree | 58e9bc170566e54916d33239143cda6253722862 /engines/lab/lab.cpp | |
| parent | b3269dc80d2a2e1dca9ac24854578befe5004f4f (diff) | |
| download | scummvm-rg350-803dbcee90bad321532dea54219697aaec34608a.tar.gz scummvm-rg350-803dbcee90bad321532dea54219697aaec34608a.tar.bz2 scummvm-rg350-803dbcee90bad321532dea54219697aaec34608a.zip | |
LAB: Move _rooms to LabEngine, some renaming
Diffstat (limited to 'engines/lab/lab.cpp')
| -rw-r--r-- | engines/lab/lab.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/lab/lab.cpp b/engines/lab/lab.cpp index 5f2a4d5f10..83f09cdf87 100644 --- a/engines/lab/lab.cpp +++ b/engines/lab/lab.cpp @@ -72,11 +72,12 @@ LabEngine::LabEngine(OSystem *syst, const ADGameDescription *gameDesc) _isCrumbWaiting = false; _noUpdateDiff = false; _quitLab = false; + _mainDisplay = true; + _numInv = 0; _manyRooms = 0; _direction = 0; _highestCondition = 0; - _crumbSecs = 0; _crumbMicros = 0; @@ -85,6 +86,7 @@ LabEngine::LabEngine(OSystem *syst, const ADGameDescription *gameDesc) _music = nullptr; _anim = nullptr; _graphics = nullptr; + _rooms = nullptr; _lastTooLong = false; _interfaceOff = false; @@ -129,6 +131,7 @@ LabEngine::~LabEngine() { delete _music; delete _anim; delete _graphics; + free(_rooms); for (int i = 0; i < 16; i++) delete _tiles[i]; |
