diff options
author | Alyssa Milburn | 2011-04-01 14:43:22 +0200 |
---|---|---|
committer | Alyssa Milburn | 2011-04-01 14:44:41 +0200 |
commit | 1f543652b7cb6a092896f626aa334e56a55c47ec (patch) | |
tree | 97cd3a8ab1498ca864d396d103cf56e4e353243a /engines/mohawk/livingbooks.h | |
parent | c0d815413153b799f7a589d11f32a9a53f0d4de5 (diff) | |
download | scummvm-rg350-1f543652b7cb6a092896f626aa334e56a55c47ec.tar.gz scummvm-rg350-1f543652b7cb6a092896f626aa334e56a55c47ec.tar.bz2 scummvm-rg350-1f543652b7cb6a092896f626aa334e56a55c47ec.zip |
MOHAWK: Handle waiting for sound cues in LBAnimation.
Diffstat (limited to 'engines/mohawk/livingbooks.h')
-rw-r--r-- | engines/mohawk/livingbooks.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/mohawk/livingbooks.h b/engines/mohawk/livingbooks.h index 7138078c00..e55f14bc2c 100644 --- a/engines/mohawk/livingbooks.h +++ b/engines/mohawk/livingbooks.h @@ -29,6 +29,7 @@ #include "mohawk/mohawk.h" #include "mohawk/console.h" #include "mohawk/graphics.h" +#include "mohawk/sound.h" #include "common/config-file.h" #include "common/substream.h" @@ -313,7 +314,7 @@ public: void stop(); void playSound(uint16 resourceId); - bool soundPlaying(uint16 resourceId); + bool soundPlaying(uint16 resourceId, const Common::String &cue); bool transparentAt(int x, int y); @@ -335,7 +336,10 @@ protected: Common::Array<LBAnimationNode *> _nodes; uint16 _tempo; + uint16 _currentSound; + CueList _cueList; + uint32 _lastTime, _currentFrame; bool _running; |