22 #ifndef IMAGE_CODECS_CDTOONS_H 23 #define IMAGE_CODECS_CDTOONS_H 25 #include "image/codecs/codec.h" 27 #include "common/hashmap.h" 53 const byte *
getPalette()
override { _dirtyPalette =
false;
return _palette; }
58 byte _palette[256 * 3];
60 uint16 _currentPaletteId;
64 void renderBlock(byte *data, uint size,
int x,
int y, uint width, uint height);
65 void setPalette(byte *data);
bool containsPalette() const override
Definition: cdtoons.h:52
bool hasDirtyPalette() const override
Definition: cdtoons.h:54
Graphics::PixelFormat getPixelFormat() const override
Definition: cdtoons.h:51
const byte * getPalette() override
Definition: cdtoons.h:53
Definition: movie_decoder.h:32