diff options
author | Strangerke | 2015-12-07 17:46:37 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:33:54 +0100 |
commit | 5bc48cbbddc47ba3d1893776178c19bd33dbee4c (patch) | |
tree | 11d8ea4391aee37c0af4cb0caa602851ec72e94f /engines/lab/lab.cpp | |
parent | 320e658cb1e1d266cb3bf91ad9202ff83f88a9ad (diff) | |
download | scummvm-rg350-5bc48cbbddc47ba3d1893776178c19bd33dbee4c.tar.gz scummvm-rg350-5bc48cbbddc47ba3d1893776178c19bd33dbee4c.tar.bz2 scummvm-rg350-5bc48cbbddc47ba3d1893776178c19bd33dbee4c.zip |
LAB: Move utility functions to a separate class
Diffstat (limited to 'engines/lab/lab.cpp')
-rw-r--r-- | engines/lab/lab.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/lab/lab.cpp b/engines/lab/lab.cpp index ec81fdf427..d1de3e11f0 100644 --- a/engines/lab/lab.cpp +++ b/engines/lab/lab.cpp @@ -87,6 +87,7 @@ LabEngine::LabEngine(OSystem *syst, const ADGameDescription *gameDesc) _anim = nullptr; _graphics = nullptr; _rooms = nullptr; + _utils = nullptr; _lastTooLong = false; _interfaceOff = false; @@ -130,6 +131,7 @@ LabEngine::~LabEngine() { delete _anim; delete _graphics; delete[] _rooms; + delete _utils; for (int i = 0; i < 16; i++) delete _tiles[i]; @@ -146,6 +148,7 @@ Common::Error LabEngine::run() { _music = new Music(this); _graphics = new DisplayMan(this); _anim = new Anim(this); + _utils = new Utils(this); if (getPlatform() == Common::kPlatformWindows) { // Check if this is the Wyrmkeep trial |