diff options
Diffstat (limited to 'engines/mohawk/riven_card.h')
-rw-r--r-- | engines/mohawk/riven_card.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/engines/mohawk/riven_card.h b/engines/mohawk/riven_card.h index 27e6ec2ca8..a736a604b6 100644 --- a/engines/mohawk/riven_card.h +++ b/engines/mohawk/riven_card.h @@ -25,7 +25,6 @@ #include "mohawk/riven_scripts.h" #include "mohawk/riven_sound.h" -#include "mohawk/video.h" #include "common/rect.h" #include "common/system.h" @@ -33,6 +32,7 @@ namespace Mohawk { class RivenHotspot; +struct MLSTRecord; /** * A game view @@ -57,7 +57,7 @@ public: }; /** Initialization routine used to draw a card for the first time or to refresh it */ - void enter(); + void enter(bool unkMovies); /** Run the card's leave scripts */ void leave(); @@ -80,6 +80,9 @@ public: /** Get the card's sound description with the specified index */ SLSTRecord getSound(uint16 index) const; + /** Play the card's movie with the specified index */ + void playMovie(uint16 index, bool queue = false); + /** Get the card's movie description with the specified index */ MLSTRecord getMovie(uint16 index) const; @@ -177,6 +180,18 @@ private: Common::Array<WaterEffectRecord> _waterEffectList; }; +struct MLSTRecord { + uint16 index; + uint16 movieID; + uint16 playbackSlot; + uint16 left; + uint16 top; + uint16 u0[3]; + uint16 loop; + uint16 volume; + uint16 u1; +}; + /** * A Card Hotspot * |