aboutsummaryrefslogtreecommitdiff
path: root/queen/sound.h
diff options
context:
space:
mode:
authorJoost Peters2003-11-07 02:33:20 +0000
committerJoost Peters2003-11-07 02:33:20 +0000
commite9581dda6e4191aa95a35776a4ac356e61fa982c (patch)
treef60cc55cd939d2c5234f4cf982f37ac7f9f6e7ce /queen/sound.h
parent239aea0ff01b1fc3f4a62c35f0362550de2f696c (diff)
downloadscummvm-rg350-e9581dda6e4191aa95a35776a4ac356e61fa982c.tar.gz
scummvm-rg350-e9581dda6e4191aa95a35776a4ac356e61fa982c.tar.bz2
scummvm-rg350-e9581dda6e4191aa95a35776a4ac356e61fa982c.zip
Added partial playSong() implementation
svn-id: r11179
Diffstat (limited to 'queen/sound.h')
-rw-r--r--queen/sound.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/queen/sound.h b/queen/sound.h
index d66c2cf690..b82da9ca3a 100644
--- a/queen/sound.h
+++ b/queen/sound.h
@@ -37,13 +37,16 @@ public:
virtual ~Sound();
virtual void sfxPlay(const char *base) = 0;
static Sound *giveSound(SoundMixer *mixer, Input *input, Resource *resource, uint8 compression);
- bool isPlaying();
+ void waitSfxFinished();
+ void playSong(int16 songNum);
protected:
SoundMixer *_mixer;
Input *_input;
Resource *_resource;
+ int16 _lastOverride;
+ int16 _currentSong;
PlayingSoundHandle _sfxHandle;
};