aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2014-04-07 08:29:27 -0400
committerPaul Gilbert2014-04-07 08:29:27 -0400
commit66b7419f30eb4fb0f9df899eea664f529cfb84fd (patch)
treed8a948aaf6bd7a4e46a1454f415f1d05e751468c
parent1c50c69ba69d255e3ba9ed5a88ea0985417b9357 (diff)
downloadscummvm-rg350-66b7419f30eb4fb0f9df899eea664f529cfb84fd.tar.gz
scummvm-rg350-66b7419f30eb4fb0f9df899eea664f529cfb84fd.tar.bz2
scummvm-rg350-66b7419f30eb4fb0f9df899eea664f529cfb84fd.zip
MADS: Remove stubbed methods that were undeed mouse handler calls
-rw-r--r--engines/mads/scene.cpp6
-rw-r--r--engines/mads/user_interface.cpp3
2 files changed, 2 insertions, 7 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp
index d297cb79ec..f5d1ce66f7 100644
--- a/engines/mads/scene.cpp
+++ b/engines/mads/scene.cpp
@@ -358,8 +358,7 @@ void Scene::doFrame() {
_kernelMessages.update();
}
- _userInterface._uiSlots.draw(_vm->_game->_fx == 0,
- _vm->_game->_fx != 0);
+ _userInterface._uiSlots.draw(!_vm->_game->_fx, _vm->_game->_fx);
// Write any text needed by the interface
if (_vm->_game->_fx)
@@ -395,7 +394,7 @@ void Scene::doFrame() {
}
}
-void Scene::drawElements(ScreenTransition transitionType, bool surfaceFlag) {
+void Scene::drawElements(ScreenTransition transitionType, bool surfaceFlag) {
// Draw any sprites
_spriteSlots.drawBackground();
@@ -433,7 +432,6 @@ void Scene::drawElements(ScreenTransition transitionType, bool surfaceFlag) {
_dirtyAreas.copyToScreen(_vm->_screen._offset);
}
- warning("TODO: sub_115A2");
_spriteSlots.cleanUp();
_textDisplay.cleanUp();
}
diff --git a/engines/mads/user_interface.cpp b/engines/mads/user_interface.cpp
index d229c39c26..c371f3d837 100644
--- a/engines/mads/user_interface.cpp
+++ b/engines/mads/user_interface.cpp
@@ -149,7 +149,6 @@ void UISlots::draw(bool updateFlag, bool delFlag) {
_vm->_screen.setPointer(&userInterface);
userInterface.setBounds(Common::Rect(0, scene._interfaceY,
MADS_SCREEN_WIDTH - 1, userInterface.h + scene._interfaceY - 1));
- warning("TODO: sub_111C8 / sub_1146C");
for (uint idx = 0; idx < size(); ++idx) {
DirtyArea &dirtyArea = userInterface._dirtyAreas[idx];
@@ -162,8 +161,6 @@ void UISlots::draw(bool updateFlag, bool delFlag) {
_vm->_screen.copyRectToScreen(r);
}
}
-
- warning("TODO: sub 115A2 / sub111D3");
}
// Post-processing to remove slots no longer needed