[Scummvm-cvs-logs] SF.net SVN: scummvm: [25517] scummvm/trunk/engines/agos/window.cpp
kirben at users.sourceforge.net
kirben at users.sourceforge.net
Mon Feb 12 12:27:11 CET 2007
Revision: 25517
http://scummvm.svn.sourceforge.net/scummvm/?rev=25517&view=rev
Author: kirben
Date: 2007-02-12 03:27:11 -0800 (Mon, 12 Feb 2007)
Log Message:
-----------
Add palette code difference for Amiga OCS version of Simon the Sorcerer 1.
Modified Paths:
--------------
scummvm/trunk/engines/agos/window.cpp
Modified: scummvm/trunk/engines/agos/window.cpp
===================================================================
--- scummvm/trunk/engines/agos/window.cpp 2007-02-12 10:58:07 UTC (rev 25516)
+++ scummvm/trunk/engines/agos/window.cpp 2007-02-12 11:27:11 UTC (rev 25517)
@@ -185,9 +185,15 @@
}
void AGOSEngine::setTextColor(uint color) {
- WindowBlock *window;
+ WindowBlock *window = _windowArray[_curWindow];
- window = _windowArray[_curWindow];
+ if ((getFeatures() & GF_32COLOR) && color != 0) {
+ if (window->fill_color == 17)
+ color = 25;
+ else
+ color = 12;
+ }
+
window->text_color = 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