diff options
Diffstat (limited to 'graphics/video/codecs')
-rw-r--r-- | graphics/video/codecs/codec.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/graphics/video/codecs/codec.h b/graphics/video/codecs/codec.h index 565faf8442..4fa1a041a2 100644 --- a/graphics/video/codecs/codec.h +++ b/graphics/video/codecs/codec.h @@ -42,6 +42,10 @@ public: virtual const Surface *decodeImage(Common::SeekableReadStream *stream) = 0; virtual PixelFormat getPixelFormat() const = 0; + + virtual bool containsPalette() const { return false; } + virtual const byte *getPalette() { return 0; } + virtual bool hasDirtyPalette() const { return false; } }; } // End of namespace Graphics |