aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/livingbooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mohawk/livingbooks.h')
-rw-r--r--engines/mohawk/livingbooks.h6
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];
};