[Scummvm-cvs-logs] SF.net SVN: scummvm:[54963] scummvm/trunk/engines/hugo/display.cpp
strangerke at users.sourceforge.net
strangerke at users.sourceforge.net
Sun Dec 19 17:07:03 CET 2010
Revision: 54963
http://scummvm.svn.sourceforge.net/scummvm/?rev=54963&view=rev
Author: strangerke
Date: 2010-12-19 16:07:03 +0000 (Sun, 19 Dec 2010)
Log Message:
-----------
HUGO: Implement setBackgroundColor()
Modified Paths:
--------------
scummvm/trunk/engines/hugo/display.cpp
Modified: scummvm/trunk/engines/hugo/display.cpp
===================================================================
--- scummvm/trunk/engines/hugo/display.cpp 2010-12-19 15:48:51 UTC (rev 54962)
+++ scummvm/trunk/engines/hugo/display.cpp 2010-12-19 16:07:03 UTC (rev 54963)
@@ -158,12 +158,14 @@
/**
-* 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);
}
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list