diff options
author | Travis Howell | 2004-06-26 01:02:52 +0000 |
---|---|---|
committer | Travis Howell | 2004-06-26 01:02:52 +0000 |
commit | dfa7af5b5d7935e2450ba6bdb49461229facd1c3 (patch) | |
tree | b9fcb2225ec57a7d03b8c18469e1980fcddfbfc0 | |
parent | 6b722ff11bcaa4622cf662245819993316eb8c5d (diff) | |
download | scummvm-rg350-dfa7af5b5d7935e2450ba6bdb49461229facd1c3.tar.gz scummvm-rg350-dfa7af5b5d7935e2450ba6bdb49461229facd1c3.tar.bz2 scummvm-rg350-dfa7af5b5d7935e2450ba6bdb49461229facd1c3.zip |
Fix transparency for akos codec 16 in HE games.
svn-id: r14059
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | scumm/akos.cpp | 7 |
2 files changed, 1 insertions, 7 deletions
@@ -290,7 +290,6 @@ SCUMM - Document and fix AKOS differences in Humongous Entertainment games - Support various newer Humongous Entertainment games * Humongous entertainment >= v7 titles: - - Determine when AKOS codec16 should use 0 or 255 for transparency colour - Fix palette for AKOS (seems to be codec 1 only?) - Fix inventory flashing at times - Add support for PCM music diff --git a/scumm/akos.cpp b/scumm/akos.cpp index d88d348e69..7a3104c2c5 100644 --- a/scumm/akos.cpp +++ b/scumm/akos.cpp @@ -934,12 +934,7 @@ byte AkosRenderer::codec16(int xmoveCur, int ymoveCur) { Common::Rect clip; int32 maxw, maxh; int32 skip_x, skip_y, cur_x, cur_y; - byte transparency; - //FIXME There should be better method to determine transparency in HE games - if (_vm->_features & GF_HUMONGOUS) { - transparency = (_vm->_gameId == GID_FBEAR) ? 5 : 0; - } else - transparency = 255; + byte transparency = (_vm->_features & GF_HUMONGOUS) ? palette[0] : 255; if (_actorHitMode) { warning("codec16: _actorHitMode not yet implemented"); |