22 #ifndef IMAGE_CODECS_CDTOONS_H 23 #define IMAGE_CODECS_CDTOONS_H 25 #include "image/codecs/codec.h" 27 #include "common/hashmap.h" 28 #include "graphics/palette.h" 54 const byte *
getPalette()
override { _dirtyPalette =
false;
return _palette.data(); }
61 uint16 _currentPaletteId;
65 void renderBlock(byte *data, uint size,
int x,
int y, uint width, uint height);
66 void setPalette(byte *data);
bool containsPalette() const override
Definition: cdtoons.h:53
bool hasDirtyPalette() const override
Definition: cdtoons.h:55
Graphics::PixelFormat getPixelFormat() const override
Definition: cdtoons.h:52
const byte * getPalette() override
Definition: cdtoons.h:54
Simple class for handling a palette data.
Definition: palette.h:51
Definition: movie_decoder.h:32