diff options
author | Paul Gilbert | 2019-01-03 18:30:22 -0800 |
---|---|---|
committer | Paul Gilbert | 2019-01-03 18:30:22 -0800 |
commit | 79052366d049b767d43258f8a8c0926f9f10d7fe (patch) | |
tree | 645b5aec9f9e4ead0b89250e12dde676b24c100b /engines/glk/frotz/pics.h | |
parent | c4c14b593ba254d1f3f1159b1b23c166667a7e56 (diff) | |
download | scummvm-rg350-79052366d049b767d43258f8a8c0926f9f10d7fe.tar.gz scummvm-rg350-79052366d049b767d43258f8a8c0926f9f10d7fe.tar.bz2 scummvm-rg350-79052366d049b767d43258f8a8c0926f9f10d7fe.zip |
GLK: FROTZ: Support using prior palette when a pic doesn't have one
Diffstat (limited to 'engines/glk/frotz/pics.h')
-rw-r--r-- | engines/glk/frotz/pics.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/glk/frotz/pics.h b/engines/glk/frotz/pics.h index ab2204f414..68facf5b9f 100644 --- a/engines/glk/frotz/pics.h +++ b/engines/glk/frotz/pics.h @@ -65,6 +65,7 @@ private: Common::Array<Entry> _index; ///< list of entries uint _entrySize; uint _version; + Common::Array<byte> *_palette; private: /** * Returns the filename for the pictures archive @@ -82,6 +83,11 @@ public: Pics(); /** + * Destructor + */ + ~Pics(); + + /** * Return the number of entries in the file */ size_t size() const { return _index.size(); } |