diff options
author | Arnaud Boutonné | 2010-12-19 16:07:03 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-12-19 16:07:03 +0000 |
commit | 5e9002a4aaf8b96bd84c9f8964ce79bd6670a224 (patch) | |
tree | 39a62e9d5850375bf239d60b5e4e2d49fa1b8445 /engines | |
parent | 91bee3e7b0c8d6587c20f59e541838f9b2124807 (diff) | |
download | scummvm-rg350-5e9002a4aaf8b96bd84c9f8964ce79bd6670a224.tar.gz scummvm-rg350-5e9002a4aaf8b96bd84c9f8964ce79bd6670a224.tar.bz2 scummvm-rg350-5e9002a4aaf8b96bd84c9f8964ce79bd6670a224.zip |
HUGO: Implement setBackgroundColor()
svn-id: r54963
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hugo/display.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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); } /** |