From eeb4b940b7245aedb7056947b4f5c435a43fc136 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Wed, 26 Mar 2014 20:47:46 -0400 Subject: [PATCH] MADS: Fixes for highlighting game actions --- engines/mads/font.cpp | 1 + engines/mads/user_interface.cpp | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/engines/mads/font.cpp b/engines/mads/font.cpp index e511bd83719..294139c3dd3 100644 --- a/engines/mads/font.cpp +++ b/engines/mads/font.cpp @@ -116,6 +116,7 @@ void Font::setColors(uint8 v1, uint8 v2, uint8 v3, uint8 v4) { _fontColors[0] = v1; _fontColors[1] = v2; _fontColors[2] = v3; + _fontColors[3] = v4; } void Font::setColorMode(SelectionMode mode) { diff --git a/engines/mads/user_interface.cpp b/engines/mads/user_interface.cpp index 67e6718c5dd..2a99b61a63c 100644 --- a/engines/mads/user_interface.cpp +++ b/engines/mads/user_interface.cpp @@ -687,7 +687,10 @@ void UserInterface::updateSelection(ScrCategory category, int newIndex, int *idx void UserInterface::updateRect(const Common::Rect &bounds) { _vm->_screen.setPointer(&_surface); setBounds(Common::Rect(0, MADS_SCENE_HEIGHT, MADS_SCREEN_WIDTH - 1, MADS_SCREEN_HEIGHT)); - _vm->_screen.copyRectToScreen(bounds); + + Common::Rect r = bounds; + r.translate(0, MADS_SCENE_HEIGHT); + _vm->_screen.copyRectToScreen(r); } void UserInterface::scrollerChanged() {