From d789df894552bf73709628f09a0282b462df797e Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Mon, 14 May 2012 00:49:10 -0400 Subject: GRAPHICS: Add palette start index and color count functions to ImageDecoder --- graphics/decoders/bmp.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'graphics/decoders/bmp.h') diff --git a/graphics/decoders/bmp.h b/graphics/decoders/bmp.h index 8a37538ee1..59da682e4d 100644 --- a/graphics/decoders/bmp.h +++ b/graphics/decoders/bmp.h @@ -52,10 +52,12 @@ public: virtual bool loadStream(Common::SeekableReadStream &stream); virtual const Surface *getSurface() const { return _surface; } const byte *getPalette() const { return _palette; } + uint16 getPaletteColorCount() const { return _paletteColorCount; } private: Surface *_surface; byte *_palette; + uint16 _paletteColorCount; }; } // End of namespace Graphics -- cgit v1.2.3