diff options
author | Paul Gilbert | 2014-03-15 11:12:31 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-03-15 11:12:31 -0400 |
commit | d2bbdd255a43915267bac8dce6998c8f843979da (patch) | |
tree | edb28bd2c87a1ad2daa79d9286627e8fc8acea56 /engines/mads/palette.cpp | |
parent | c9661ca88cbe3554a455c320fe7bcdcb203823a5 (diff) | |
download | scummvm-rg350-d2bbdd255a43915267bac8dce6998c8f843979da.tar.gz scummvm-rg350-d2bbdd255a43915267bac8dce6998c8f843979da.tar.bz2 scummvm-rg350-d2bbdd255a43915267bac8dce6998c8f843979da.zip |
MADS: Implement palette shifting for loaded sprites
Diffstat (limited to 'engines/mads/palette.cpp')
-rw-r--r-- | engines/mads/palette.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/engines/mads/palette.cpp b/engines/mads/palette.cpp index 9f6e3c77ae..8f803d109f 100644 --- a/engines/mads/palette.cpp +++ b/engines/mads/palette.cpp @@ -497,21 +497,6 @@ void Palette::processLists(int count, byte *pal1, byte *pal2) { } while (continueFlag); } - -void Palette::decodePalette(Common::SeekableReadStream *palStream, uint flags) { - int numColors = palStream->readUint16LE(); - assert(numColors <= 252); - - // Load in the palette - Common::Array<RGB6> palette; - palette.resize(numColors); - for (int i = 0; i < numColors; ++i) - palette[i].load(palStream); - - // Process the palette data - _paletteUsage.process(palette, flags); -} - void Palette::setSystemPalette() { byte palData[4 * 3]; palData[0 * 3] = palData[0 * 3 + 1] = palData[0 * 3 + 2] = 0; |