diff options
author | Matthew Hoops | 2012-05-14 00:49:10 -0400 |
---|---|---|
committer | Matthew Hoops | 2012-05-14 09:56:56 -0400 |
commit | d789df894552bf73709628f09a0282b462df797e (patch) | |
tree | 221de03284a568a9db5f54a88754bdb0aa3b8241 /graphics/decoders/pict.h | |
parent | c3f0a426fcbe2c8991b29c0e4bda1e7f0c9263b9 (diff) | |
download | scummvm-rg350-d789df894552bf73709628f09a0282b462df797e.tar.gz scummvm-rg350-d789df894552bf73709628f09a0282b462df797e.tar.bz2 scummvm-rg350-d789df894552bf73709628f09a0282b462df797e.zip |
GRAPHICS: Add palette start index and color count functions to ImageDecoder
Diffstat (limited to 'graphics/decoders/pict.h')
-rw-r--r-- | graphics/decoders/pict.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/decoders/pict.h b/graphics/decoders/pict.h index 1d07df1ab9..417a7c5134 100644 --- a/graphics/decoders/pict.h +++ b/graphics/decoders/pict.h @@ -57,6 +57,7 @@ public: void destroy(); const Surface *getSurface() const { return _outputSurface; } const byte *getPalette() const { return _palette; } + uint16 getPaletteColorCount() const { return _paletteColorCount; } struct PixMap { uint32 baseAddr; @@ -81,6 +82,7 @@ public: private: Common::Rect _imageRect; byte _palette[256 * 3]; + uint16 _paletteColorCount; Graphics::Surface *_outputSurface; bool _continueParsing; |