aboutsummaryrefslogtreecommitdiff
path: root/engines/toon/audio.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/toon/audio.h')
-rw-r--r--engines/toon/audio.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/engines/toon/audio.h b/engines/toon/audio.h
index 4527e1fe4b..70d399dd1a 100644
--- a/engines/toon/audio.h
+++ b/engines/toon/audio.h
@@ -124,7 +124,12 @@ public:
void stopCurrentVoice();
void setMusicVolume(int32 volume);
void stopMusic();
-
+ void muteVoice(bool mute);
+ void muteMusic(bool mute);
+ void muteSfx(bool mute);
+ bool isVoiceMuted() { return voiceMuted; }
+ bool isMusicMuted() { return musicMuted; }
+ bool isSfxMuted() { return sfxMuted; }
bool loadAudioPack(int32 id, Common::String indexFile, Common::String packFile);
@@ -140,6 +145,11 @@ public:
Common::String _currentMusicName;
ToonEngine *_vm;
Audio::Mixer *_mixer;
+
+protected:
+ bool voiceMuted;
+ bool musicMuted;
+ bool sfxMuted;
};
} // End of namespace Toon