diff options
author | Martin Kiewitz | 2015-06-08 18:14:41 +0200 |
---|---|---|
committer | Martin Kiewitz | 2015-06-08 18:14:41 +0200 |
commit | 55551cfbd510a8e56562faddc4bb4768e3b72d0a (patch) | |
tree | 3976b2912c4f83ed9ba7f6086c883dbe39cdf1bd | |
parent | d5ef021f6fe85597bcf387d99eedb09d105ff517 (diff) | |
download | scummvm-rg350-55551cfbd510a8e56562faddc4bb4768e3b72d0a.tar.gz scummvm-rg350-55551cfbd510a8e56562faddc4bb4768e3b72d0a.tar.bz2 scummvm-rg350-55551cfbd510a8e56562faddc4bb4768e3b72d0a.zip |
SHERLOCK: 3DO: add comment about ccbFlag bit 5
-rw-r--r-- | engines/sherlock/resources.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/sherlock/resources.cpp b/engines/sherlock/resources.cpp index 068e193219..8d21512d7d 100644 --- a/engines/sherlock/resources.cpp +++ b/engines/sherlock/resources.cpp @@ -775,6 +775,12 @@ void ImageFile3DO::load3DOCelFile(Common::SeekableReadStream &stream) { if (ccbFlags & 0x200) // bit 9 ccbFlags_compressed = true; + // bit 5 of ccbFlags defines how RGB-black (0, 0, 0) will get treated + // = false -> RGB-black is treated as transparent + // = true -> RGB-black is treated as actual black + // atm we are always treating it as transparent + // it seems this bit is not set for any data of Sherlock Holmes + // PRE0 first 3 bits define how many bits per encoded pixel are used ccbPRE0_bitsPerPixel = imagefile3DO_cel_bitsPerPixelLookupTable[ccbPRE0 & 0x07]; if (!ccbPRE0_bitsPerPixel) |