diff options
author | Matthew Hoops | 2014-02-27 21:27:24 -0500 |
---|---|---|
committer | Matthew Hoops | 2014-02-28 00:31:59 -0500 |
commit | 0f07f85a948e39c286b0bbd9e9191d517108c2da (patch) | |
tree | 4a851be91c6a64cf085b053cee8cc031d4a526bf /image/bmp.h | |
parent | 08ea14a8d0e1a1478d1f486edeecea3e619e0cd0 (diff) | |
download | scummvm-rg350-0f07f85a948e39c286b0bbd9e9191d517108c2da.tar.gz scummvm-rg350-0f07f85a948e39c286b0bbd9e9191d517108c2da.tar.bz2 scummvm-rg350-0f07f85a948e39c286b0bbd9e9191d517108c2da.zip |
IMAGE: Split raw bitmap decoding into a Codec
Diffstat (limited to 'image/bmp.h')
-rw-r--r-- | image/bmp.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/image/bmp.h b/image/bmp.h index bc4cfc3edd..b482cc674b 100644 --- a/image/bmp.h +++ b/image/bmp.h @@ -45,6 +45,8 @@ struct Surface; namespace Image { +class Codec; + class BitmapDecoder : public ImageDecoder { public: BitmapDecoder(); @@ -58,7 +60,8 @@ public: uint16 getPaletteColorCount() const { return _paletteColorCount; } private: - Graphics::Surface *_surface; + Codec *_codec; + const Graphics::Surface *_surface; byte *_palette; uint16 _paletteColorCount; }; |