aboutsummaryrefslogtreecommitdiff
path: root/engines/director/images.h
diff options
context:
space:
mode:
authorEugene Sandulenko2019-12-24 18:22:43 +0100
committerEugene Sandulenko2019-12-24 18:22:43 +0100
commitcb95bb4dec15009d565946e5ff16d3be4897613f (patch)
tree20e7f751c53e14460a6f193d8de0e2764eac39d0 /engines/director/images.h
parent00f5d3fcdbd7b45138d342d528460a23bee57bb6 (diff)
downloadscummvm-rg350-cb95bb4dec15009d565946e5ff16d3be4897613f.tar.gz
scummvm-rg350-cb95bb4dec15009d565946e5ff16d3be4897613f.tar.bz2
scummvm-rg350-cb95bb4dec15009d565946e5ff16d3be4897613f.zip
DIRECTOR: Remove redundant code
Diffstat (limited to 'engines/director/images.h')
-rw-r--r--engines/director/images.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/engines/director/images.h b/engines/director/images.h
index 419b24fc8c..31221b11c0 100644
--- a/engines/director/images.h
+++ b/engines/director/images.h
@@ -61,7 +61,7 @@ private:
class BITDDecoder : public Image::ImageDecoder {
public:
- BITDDecoder(int w, int h);
+ BITDDecoder(int w, int h, uint16 bitsPerPixel, uint16 pitch);
virtual ~BITDDecoder();
// ImageDecoder API
@@ -76,25 +76,6 @@ private:
Graphics::Surface *_surface;
byte *_palette;
uint8 _paletteColorCount;
-};
-
-class BITDDecoderV4 : public Image::ImageDecoder {
-public:
- BITDDecoderV4(int w, int h, uint16 bitsPerPixel, uint16 pitch);
- 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;
uint16 _bitsPerPixel;
};