From 1f543652b7cb6a092896f626aa334e56a55c47ec Mon Sep 17 00:00:00 2001 From: Alyssa Milburn Date: Fri, 1 Apr 2011 14:43:22 +0200 Subject: MOHAWK: Handle waiting for sound cues in LBAnimation. --- engines/mohawk/livingbooks.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'engines/mohawk/livingbooks.h') 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 _nodes; uint16 _tempo; + uint16 _currentSound; + CueList _cueList; + uint32 _lastTime, _currentFrame; bool _running; -- cgit v1.2.3