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"
27#include "graphics/palette.h"
38 byte _indexes[4] = { 0 };
45 int16 w = 320, int16 h = 200);
48 return loadStream(stream, 320, 200);
55 void clear() { _surface.
free(); }
Simple class for handling a palette data.
Definition: palette.h:61
Definition: image_decoder.h:53
Definition: screen_decoder.h:33
bool loadStream(Common::SeekableReadStream &stream) override
Definition: screen_decoder.h:47
const Graphics::Surface * getSurface() const override
Definition: screen_decoder.h:51
const Graphics::Palette & getPalette() const override
Definition: screen_decoder.h:54
Definition: detection.h:27