diff options
Diffstat (limited to 'engines/director/images.h')
-rw-r--r-- | engines/director/images.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/engines/director/images.h b/engines/director/images.h index 54e824588f..3be0e11a9e 100644 --- a/engines/director/images.h +++ b/engines/director/images.h @@ -81,6 +81,25 @@ private: uint8 _paletteColorCount; }; +class BITDDecoderV4 : public Image::ImageDecoder { +public: + BITDDecoderV4(int w, int h); + virtual ~BITDDecoderV4(); + + // ImageDecoder API + void destroy(); + virtual bool loadStream(Common::SeekableReadStream &stream); + virtual const Graphics::Surface *getSurface() const { return _surface; } + const byte *getPalette() const { return _palette; } + void loadPalette(Common::SeekableReadStream &stream); + uint16 getPaletteColorCount() const { return _paletteColorCount; } + +private: + Graphics::Surface *_surface; + byte *_palette; + uint8 _paletteColorCount; +}; + } // End of namespace Director #endif |