From 5af41d1bc657d071fa939bd3f326c3562f4d4850 Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Tue, 11 Mar 2003 18:32:58 +0000 Subject: added timers, full cd-intro and fixed some minor issues svn-id: r6797 --- sky/sound.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sky/sound.h') 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); }; -- cgit v1.2.3