diff options
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/scene.cpp | 6 | ||||
-rw-r--r-- | engines/mads/user_interface.cpp | 3 |
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 |