From 5e9002a4aaf8b96bd84c9f8964ce79bd6670a224 Mon Sep 17 00:00:00 2001 From: Arnaud Boutonné Date: Sun, 19 Dec 2010 16:07:03 +0000 Subject: HUGO: Implement setBackgroundColor() svn-id: r54963 --- engines/hugo/display.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/hugo/display.cpp') diff --git a/engines/hugo/display.cpp b/engines/hugo/display.cpp index 827c1dd2f2..4500a11fa3 100644 --- a/engines/hugo/display.cpp +++ b/engines/hugo/display.cpp @@ -158,12 +158,14 @@ void Screen::restorePal(Common::SeekableReadStream *f) { /** -* Set the new background color +* Set the new background color. +* This implementation gives the same result than the DOS version. +* It wasn't implemented in the Win version */ void Screen::setBackgroundColor(long color) { debugC(1, kDebugDisplay, "setBackgroundColor(%ld)", color); - // How??? Translate existing pixels in dib before objects rendered? + remapPal(0, color); } /** -- cgit v1.2.3