aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/lab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/lab.cpp')
-rw-r--r--engines/lab/lab.cpp10
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