aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/sprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/sprite.h')
-rw-r--r--engines/sherlock/sprite.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sherlock/sprite.h b/engines/sherlock/sprite.h
index 17566c81bd..5a510b2548 100644
--- a/engines/sherlock/sprite.h
+++ b/engines/sherlock/sprite.h
@@ -44,8 +44,11 @@ struct SpriteFrame {
class Sprite: public Common::Array<SpriteFrame> {
private:
void load(Common::SeekableReadStream &stream, bool skipPal);
+ void loadPalette(Common::SeekableReadStream &stream);
void decompressFrame(SpriteFrame &frame, const byte *src);
public:
+ byte _palette[256 * 3];
+public:
Sprite(Common::SeekableReadStream &stream, bool skipPal = false);
~Sprite();
};