diff options
author | Travis Howell | 2007-02-12 11:27:11 +0000 |
---|---|---|
committer | Travis Howell | 2007-02-12 11:27:11 +0000 |
commit | b2f9c5ab8e8bb6ba92266d2ba20303c587409ca6 (patch) | |
tree | 1292887d28f6dd7923f322e6343d9dfc872bef30 /engines/agos | |
parent | 611d1a018e7fe7d50c9e8e9b76fe3d2cb581c757 (diff) | |
download | scummvm-rg350-b2f9c5ab8e8bb6ba92266d2ba20303c587409ca6.tar.gz scummvm-rg350-b2f9c5ab8e8bb6ba92266d2ba20303c587409ca6.tar.bz2 scummvm-rg350-b2f9c5ab8e8bb6ba92266d2ba20303c587409ca6.zip |
Add palette code difference for Amiga OCS version of Simon the Sorcerer 1.
svn-id: r25517
Diffstat (limited to 'engines/agos')
-rw-r--r-- | engines/agos/window.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/engines/agos/window.cpp b/engines/agos/window.cpp index eabbca9144..bf5fb457a5 100644 --- a/engines/agos/window.cpp +++ b/engines/agos/window.cpp @@ -185,9 +185,15 @@ void AGOSEngine::restoreBlock(uint h, uint w, uint y, uint x) { } void AGOSEngine::setTextColor(uint color) { - WindowBlock *window; + WindowBlock *window = _windowArray[_curWindow]; + + if ((getFeatures() & GF_32COLOR) && color != 0) { + if (window->fill_color == 17) + color = 25; + else + color = 12; + } - window = _windowArray[_curWindow]; window->text_color = color; } |