diff options
author | Nicola Mettifogo | 2009-03-20 20:38:33 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2009-03-20 20:38:33 +0000 |
commit | db5150dd7c034ab291aeda433dcb48adcc04751e (patch) | |
tree | 1f00a184cd881d9f04c071e2ba4023904856b66b | |
parent | 742c9c9d6aec635d3c9d35bfbb4271558397aadc (diff) | |
download | scummvm-rg350-db5150dd7c034ab291aeda433dcb48adcc04751e.tar.gz scummvm-rg350-db5150dd7c034ab291aeda433dcb48adcc04751e.tar.bz2 scummvm-rg350-db5150dd7c034ab291aeda433dcb48adcc04751e.zip |
Added TODO's about replacing usage of the old ILBM decoder in Nippon Safes.
svn-id: r39573
-rw-r--r-- | engines/parallaction/disk_ns.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/parallaction/disk_ns.cpp b/engines/parallaction/disk_ns.cpp index 5c27e6c488..be2d1465d7 100644 --- a/engines/parallaction/disk_ns.cpp +++ b/engines/parallaction/disk_ns.cpp @@ -959,6 +959,7 @@ void AmigaDisk_ns::buildMask(byte* buf) { } } +// TODO: extend the ILBMDecoder to return CRNG chunks and get rid of this BackgroundDecoder crap class BackgroundDecoder : public Graphics::ILBMDecoder { PaletteFxRange *_range; @@ -1070,6 +1071,7 @@ void AmigaDisk_ns::loadMask(BackgroundInfo& info, const char *name) { info.layers[i] = (((r << 4) & 0xF00) | (g & 0xF0) | (b >> 4)) & 0xFF; } + // TODO: use the new ILBMDecoder here! s->seek(0x126, SEEK_SET); // HACK: skipping IFF/ILBM header should be done by analysis, not magic Graphics::PackBitsReadStream stream(*s); @@ -1092,8 +1094,8 @@ void AmigaDisk_ns::loadPath(BackgroundInfo& info, const char *name) { if (!s) return; // no errors if missing path files: not every location has one - - s->seek(0x120, SEEK_SET); // HACK: skipping IFF/ILBM header should be done by analysis, not magic + // TODO: use the new ILBMDecoder here! + s->seek(0x120, SEEK_SET); Graphics::PackBitsReadStream stream(*s); |