aboutsummaryrefslogtreecommitdiff
path: root/sky/sound.h
diff options
context:
space:
mode:
authorJoost Peters2003-03-11 18:32:58 +0000
committerJoost Peters2003-03-11 18:32:58 +0000
commit5af41d1bc657d071fa939bd3f326c3562f4d4850 (patch)
tree8c02b96a435f2cb261829f3636e74404fae298fa /sky/sound.h
parentd7f21b46e84c259f28c6382cba1b074fddd52839 (diff)
downloadscummvm-rg350-5af41d1bc657d071fa939bd3f326c3562f4d4850.tar.gz
scummvm-rg350-5af41d1bc657d071fa939bd3f326c3562f4d4850.tar.bz2
scummvm-rg350-5af41d1bc657d071fa939bd3f326c3562f4d4850.zip
added timers, full cd-intro and fixed some minor issues
svn-id: r6797
Diffstat (limited to 'sky/sound.h')
-rw-r--r--sky/sound.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sky/sound.h b/sky/sound.h
index 26d8d8080f..a1083a67bc 100644
--- a/sky/sound.h
+++ b/sky/sound.h
@@ -25,19 +25,21 @@
class SkySound {
protected:
- bool _voiceIsPlaying;
-
public:
SoundMixer *_mixer;
-
+ PlayingSoundHandle _voiceHandle;
+ PlayingSoundHandle _effectHandle;
+ PlayingSoundHandle _bgSoundHandle;
protected:
+ int playSound(byte *sound, uint32 size, PlayingSoundHandle *handle);
public:
SkySound(SoundMixer *mixer);
int playVoice(byte *sound, uint32 size);
+ int playBgSound(byte *sound, uint32 size);
};