22 #ifndef MM1_GFX_SCREEN_DECODER_H 23 #define MM1_GFX_SCREEN_DECODER_H 25 #include "image/image_decoder.h" 26 #include "graphics/managed_surface.h" 36 byte _indexes[4] = { 0 };
43 int16 w = 320, int16 h = 200);
46 return loadStream(stream, 320, 200);
52 const byte *
getPalette()
const override {
return nullptr; }
54 void clear() { _surface.
free(); }
Definition: image_decoder.h:52
uint16 getPaletteColorCount() const override
Definition: screen_decoder.h:53
const Graphics::Surface * getSurface() const override
Definition: screen_decoder.h:49
const byte * getPalette() const override
Definition: screen_decoder.h:52
Definition: detection.h:27
bool loadStream(Common::SeekableReadStream &stream) override
Definition: screen_decoder.h:45
Definition: screen_decoder.h:32