diff options
author | Max Horn | 2003-06-26 14:04:08 +0000 |
---|---|---|
committer | Max Horn | 2003-06-26 14:04:08 +0000 |
commit | 0f293acf96dde86ed9594905118a9500825cb48f (patch) | |
tree | aff69344bd31b8d4ee9d3358483ec9efa57499de /scumm | |
parent | c1e08c27ce649d63358789843aac42c7c1a0d69e (diff) | |
download | scummvm-rg350-0f293acf96dde86ed9594905118a9500825cb48f.tar.gz scummvm-rg350-0f293acf96dde86ed9594905118a9500825cb48f.tar.bz2 scummvm-rg350-0f293acf96dde86ed9594905118a9500825cb48f.zip |
implemented text shadow in Zak256 (also needed for Indy3-256, maybe?). (Partial) fix for bug #750779 (the shadow color is still wrong)
svn-id: r8654
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/charset.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp index d0ffedd319..59b71028ec 100644 --- a/scumm/charset.cpp +++ b/scumm/charset.cpp @@ -927,7 +927,10 @@ int CharsetRendererV3::getCharWidth(byte chr) { void CharsetRendererV3::setColor(byte color) { _color = color; - if (_vm->_features & GF_16COLOR) { + if (_vm->_gameId == GID_ZAK256) { + _dropShadow = ((_color & 0x80) != 0); + _color &= 0x7f; + } else if (_vm->_features & GF_16COLOR) { _dropShadow = ((_color & 0xF0) != 0); _color &= 0x0f; } else |