diff options
author | Alyssa Milburn | 2010-12-05 22:11:07 +0000 |
---|---|---|
committer | Alyssa Milburn | 2010-12-05 22:11:07 +0000 |
commit | 237925e5fddf21dba86155fc9d10aba7355cc9ed (patch) | |
tree | 23b41d11508fcaf970b76cdca0f897f1c8fd6705 /engines/mohawk/livingbooks.h | |
parent | 7c9dc9f117e4ad7f78d0069c38e707e43d35bf5b (diff) | |
download | scummvm-rg350-237925e5fddf21dba86155fc9d10aba7355cc9ed.tar.gz scummvm-rg350-237925e5fddf21dba86155fc9d10aba7355cc9ed.tar.bz2 scummvm-rg350-237925e5fddf21dba86155fc9d10aba7355cc9ed.zip |
MOHAWK: improve LBPaletteItem support
svn-id: r54793
Diffstat (limited to 'engines/mohawk/livingbooks.h')
-rw-r--r-- | engines/mohawk/livingbooks.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/mohawk/livingbooks.h b/engines/mohawk/livingbooks.h index 4215889574..db6948e2ad 100644 --- a/engines/mohawk/livingbooks.h +++ b/engines/mohawk/livingbooks.h @@ -365,10 +365,12 @@ public: void readData(uint16 type, uint16 size, Common::SeekableSubReadStreamEndian *stream); - void draw(); + bool togglePlaying(bool playing, bool restart); + void update(); protected: - uint16 _start, _count, _drawStart, _drawCount; + uint16 _fadeInPeriod, _fadeInStep, _drawStart, _drawCount; + uint32 _fadeInStart, _fadeInCurrent; byte _palette[255 * 4]; }; |