diff options
author | Eugene Sandulenko | 2016-01-24 21:02:42 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-02-14 17:12:52 +0100 |
commit | 2fba6e3a174fe5c4c8573c9431816b26636dcff3 (patch) | |
tree | deee8f92952dbaa8d491312fa6c64b76d264cc23 /engines | |
parent | 851c2d6f70649f048d9723d3012354fcda8594f8 (diff) | |
download | scummvm-rg350-2fba6e3a174fe5c4c8573c9431816b26636dcff3.tar.gz scummvm-rg350-2fba6e3a174fe5c4c8573c9431816b26636dcff3.tar.bz2 scummvm-rg350-2fba6e3a174fe5c4c8573c9431816b26636dcff3.zip |
WAGE: Unstub redrawScene()
Diffstat (limited to 'engines')
-rw-r--r-- | engines/wage/wage.cpp | 17 | ||||
-rw-r--r-- | engines/wage/wage.h | 1 |
2 files changed, 8 insertions, 10 deletions
diff --git a/engines/wage/wage.cpp b/engines/wage/wage.cpp index 310f0931cd..6f3f4b28c9 100644 --- a/engines/wage/wage.cpp +++ b/engines/wage/wage.cpp @@ -386,21 +386,18 @@ void WageEngine::onMove(Designed *what, Designed *from, Designed *to) { void WageEngine::redrawScene() { Scene *currentScene = _world->_player->_currentScene; - if (currentScene != NULL) { - //bool firstTime = (_lastScene != currentScene); - warning("STUB: WageEngine::redrawScene()"); + if (currentScene != NULL) { + bool firstTime = (_lastScene != currentScene); - //updateConsoleForScene(console, currentScene); - //updateSceneViewerForScene(viewer, currentScene); - //viewer.paintImmediately(viewer.getBounds()); - //getContentPane().validate(); - //getContentPane().repaint(); - //console.postUpdateUI(); - //soundManager.updateSoundTimerForScene(currentScene, firstTime); + updateSoundTimerForScene(currentScene, firstTime); } } +void WageEngine::updateSoundTimerForScene(Scene *scene, bool firstTime) { + //warning("STUB: WageEngine::updateSoundTimerForScene()"); +} + void WageEngine::processTurnInternal(Common::String *textInput, Designed *clickInput) { Scene *playerScene = _world->_player->_currentScene; if (playerScene == _world->_storageScene) diff --git a/engines/wage/wage.h b/engines/wage/wage.h index af5766ea68..416c8b28e9 100644 --- a/engines/wage/wage.h +++ b/engines/wage/wage.h @@ -152,6 +152,7 @@ private: void performHealingMagic(Chr *chr, Obj *magicalObject); void doClose(); + void updateSoundTimerForScene(Scene *scene, bool firstTime); public: void takeObj(Obj *obj); |