diff options
author | Alyssa Milburn | 2011-01-31 18:03:27 +0000 |
---|---|---|
committer | Alyssa Milburn | 2011-01-31 18:03:27 +0000 |
commit | 309cb47572e602fbdecb3a6bfea789f50df7c4f3 (patch) | |
tree | eddd056bc963ca1a44829e91ed37b77e0ddf4d6d /engines/mohawk/livingbooks.h | |
parent | 4a07ae68291bf0fde9b207af9b8b5277fb5049e5 (diff) | |
download | scummvm-rg350-309cb47572e602fbdecb3a6bfea789f50df7c4f3.tar.gz scummvm-rg350-309cb47572e602fbdecb3a6bfea789f50df7c4f3.tar.bz2 scummvm-rg350-309cb47572e602fbdecb3a6bfea789f50df7c4f3.zip |
MOHAWK: LB anim sound improvements.
The parent animation now keeps track of sounds, and animations don't
emit a done event while their sounds are still playing.
svn-id: r55688
Diffstat (limited to 'engines/mohawk/livingbooks.h')
-rw-r--r-- | engines/mohawk/livingbooks.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/mohawk/livingbooks.h b/engines/mohawk/livingbooks.h index 513db28fa8..18f37a9a3a 100644 --- a/engines/mohawk/livingbooks.h +++ b/engines/mohawk/livingbooks.h @@ -298,6 +298,9 @@ public: void seek(uint16 pos); void stop(); + void playSound(uint16 resourceId); + bool soundPlaying(uint16 resourceId); + bool transparentAt(int x, int y); void setTempo(uint16 tempo); @@ -318,6 +321,7 @@ protected: Common::Array<LBAnimationNode *> _nodes; uint16 _tempo; + uint16 _currentSound; uint32 _lastTime, _currentFrame; bool _running; |