diff options
author | Strangerke | 2015-12-06 14:36:49 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:33:51 +0100 |
commit | ef99d82d13fdbfcaedd8e5fdea243ba3740c5185 (patch) | |
tree | 101a1f38bb0da064c9b37ba039b00d265b00940a /engines/lab/lab.cpp | |
parent | d9d2383d93760da2267170e786987ba91da1fa08 (diff) | |
download | scummvm-rg350-ef99d82d13fdbfcaedd8e5fdea243ba3740c5185.tar.gz scummvm-rg350-ef99d82d13fdbfcaedd8e5fdea243ba3740c5185.tar.bz2 scummvm-rg350-ef99d82d13fdbfcaedd8e5fdea243ba3740c5185.zip |
LAB: Move more functions to DisplayMan
Diffstat (limited to 'engines/lab/lab.cpp')
-rw-r--r-- | engines/lab/lab.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/engines/lab/lab.cpp b/engines/lab/lab.cpp index acd1ea963d..1e15845201 100644 --- a/engines/lab/lab.cpp +++ b/engines/lab/lab.cpp @@ -55,12 +55,6 @@ LabEngine::LabEngine(OSystem *syst, const ADGameDescription *gameDesc) : Engine(syst), _gameDescription(gameDesc), _extraGameFeatures(0) { g_lab = this; - _screenWidth = 320; - _screenHeight = 200; - - _currentDisplayBuffer = 0; - _displayBuffer = 0; - _lastWaitTOFTicks = 0; _isHiRes = false; @@ -185,4 +179,8 @@ Common::String LabEngine::generateSaveFileName(uint slot) { return Common::String::format("%s.%03u", _targetName.c_str(), slot); } +void LabEngine::drawStaticMessage(byte index) { + _graphics->drawMessage(_resource->getStaticText((StaticText)index).c_str()); +} + } // End of namespace Lab |