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.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/engines/mohawk/livingbooks.h b/engines/mohawk/livingbooks.h
index ead232ddb6..fe4c47dc48 100644
--- a/engines/mohawk/livingbooks.h
+++ b/engines/mohawk/livingbooks.h
@@ -63,7 +63,11 @@ enum {
kLBAnimationItem = 0x40,
kLBSoundItem = 0x41,
kLBGroupItem = 0x42,
- kLBPaletteItem = 0x45 // v3
+ kLBMovieItem = 0x43,
+ kLBPaletteAItem = 0x44, // unused?
+ kLBPaletteItem = 0x45,
+ kLBProxyItem = 0x46,
+ kLBXDataFileItem = 0x3e9
};
enum {
@@ -499,6 +503,15 @@ protected:
bool _running;
};
+class LBMovieItem : public LBItem {
+public:
+ LBMovieItem(MohawkEngine_LivingBooks *_vm, Common::Rect rect);
+ ~LBMovieItem();
+
+ void update();
+ bool togglePlaying(bool playing, bool restart);
+};
+
struct NotifyEvent {
NotifyEvent(uint t, uint p) : type(t), param(p) { }
uint type;