diff options
author | Christopher Page | 2008-07-14 22:10:04 +0000 |
---|---|---|
committer | Christopher Page | 2008-07-14 22:10:04 +0000 |
commit | ebd3510b72aeff0021c2676ddfb08f12c3697b11 (patch) | |
tree | d47345649bafde7810f38c52ff3f8f1948dc06c8 /engines/agos/midi.h | |
parent | d2e8d4831e33f9e1c63d53c9dd615a15f67ab995 (diff) | |
download | scummvm-rg350-ebd3510b72aeff0021c2676ddfb08f12c3697b11.tar.gz scummvm-rg350-ebd3510b72aeff0021c2676ddfb08f12c3697b11.tar.bz2 scummvm-rg350-ebd3510b72aeff0021c2676ddfb08f12c3697b11.zip |
AGOS: Got rid of _masterVolume and replaced with _musicVolume and _sfxVolume so that music and sfx are separately controlled via the Options menu
svn-id: r33065
Diffstat (limited to 'engines/agos/midi.h')
-rw-r--r-- | engines/agos/midi.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/agos/midi.h b/engines/agos/midi.h index 2994c49bb6..c004230e5b 100644 --- a/engines/agos/midi.h +++ b/engines/agos/midi.h @@ -68,6 +68,8 @@ protected: // These are maintained for both music and SFX byte _masterVolume; // 0-255 + byte _musicVolume; + byte _sfxVolume; bool _paused; // These are only used for music. @@ -103,8 +105,9 @@ public: void stop(); void pause(bool b); - int getVolume() { return _masterVolume; } - void setVolume(int volume); + int getMusicVolume() { return _musicVolume; } + int getSFXVolume() { return _sfxVolume; } + void setVolume(int musicVol, int sfxVol); void setDriver(MidiDriver *md); public: |