aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-03-26 20:47:46 -0400
committerPaul Gilbert2014-03-26 20:47:46 -0400
commiteeb4b940b7245aedb7056947b4f5c435a43fc136 (patch)
treef371429d3c90474ed2dbabde78b6fe15c4c75c26 /engines
parent253023b9bb35547c1afe9678f051fb83329d3245 (diff)
downloadscummvm-rg350-eeb4b940b7245aedb7056947b4f5c435a43fc136.tar.gz
scummvm-rg350-eeb4b940b7245aedb7056947b4f5c435a43fc136.tar.bz2
scummvm-rg350-eeb4b940b7245aedb7056947b4f5c435a43fc136.zip
MADS: Fixes for highlighting game actions
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/font.cpp1
-rw-r--r--engines/mads/user_interface.cpp5
2 files changed, 5 insertions, 1 deletions
diff --git a/engines/mads/font.cpp b/engines/mads/font.cpp
index e511bd8371..294139c3dd 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 67e6718c5d..2a99b61a63 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() {