aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/sound.h')
-rw-r--r--engines/kyra/sound.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/kyra/sound.h b/engines/kyra/sound.h
index 2c9b0a4076..f393ae15ba 100644
--- a/engines/kyra/sound.h
+++ b/engines/kyra/sound.h
@@ -284,12 +284,16 @@ public:
void loadSoundFile(uint file) { _music->loadSoundFile(file); _sfx->loadSoundFile(file); }
void loadSoundFile(Common::String file) { _music->loadSoundFile(file); _sfx->loadSoundFile(file); }
+ void loadSfxFile(Common::String file) { _sfx->loadSoundFile(file); }
+
void playTrack(uint8 track) { _music->playTrack(track); }
void haltTrack() { _music->haltTrack(); }
bool isPlaying() const { return _music->isPlaying() | _sfx->isPlaying(); }
void playSoundEffect(uint8 track) { _sfx->playSoundEffect(track); }
+ void stopAllSoundEffects() { _sfx->stopAllSoundEffects(); }
+
void beginFadeOut() { _music->beginFadeOut(); }
private:
Sound *_music, *_sfx;