diff options
author | Filippos Karapetis | 2008-04-21 20:20:34 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-04-21 20:20:34 +0000 |
commit | 54485c24c530288280174f6d286c8c0b367a8206 (patch) | |
tree | 3f2a547f0b380f6db26480e222ab5dc1cda75cc3 /engines/made/resource.h | |
parent | 169bf5ddba25a7ab63b405a48bccc449550a693e (diff) | |
download | scummvm-rg350-54485c24c530288280174f6d286c8c0b367a8206.tar.gz scummvm-rg350-54485c24c530288280174f6d286c8c0b367a8206.tar.bz2 scummvm-rg350-54485c24c530288280174f6d286c8c0b367a8206.zip |
Some palette related fixes
svn-id: r31650
Diffstat (limited to 'engines/made/resource.h')
-rw-r--r-- | engines/made/resource.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/made/resource.h b/engines/made/resource.h index 619bf80b0c..bba940de69 100644 --- a/engines/made/resource.h +++ b/engines/made/resource.h @@ -62,10 +62,12 @@ public: ~PictureResource(); void load(byte *source, int size); Graphics::Surface *getPicture() const { return _picture; } - byte *getPalette() const { return _palette; } + byte *getPalette() const { return _picturePalette; } + bool hasPalette() const { return _hasPalette; } protected: Graphics::Surface *_picture; - byte *_palette; + byte *_picturePalette; + bool _hasPalette; }; class AnimationResource : public Resource { |