From 237925e5fddf21dba86155fc9d10aba7355cc9ed Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Sun, 5 Dec 2010 22:11:07 +0000 Subject: MOHAWK: improve LBPaletteItem support svn-id: r54793 --- engines/mohawk/livingbooks.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines/mohawk/livingbooks.h') 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]; }; -- cgit v1.2.3