diff options
author | Paul Gilbert | 2018-03-06 07:11:33 -0500 |
---|---|---|
committer | Paul Gilbert | 2018-03-06 07:11:33 -0500 |
commit | b2811fa5673de51a6c1198a10d43e7b5f5218df5 (patch) | |
tree | b8de43b05eba068d4e974f4d0c8b8915657f1969 /engines/xeen/sound.h | |
parent | a461a39e4a864a0e850e72322e8771db188b7d4a (diff) | |
download | scummvm-rg350-b2811fa5673de51a6c1198a10d43e7b5f5218df5.tar.gz scummvm-rg350-b2811fa5673de51a6c1198a10d43e7b5f5218df5.tar.bz2 scummvm-rg350-b2811fa5673de51a6c1198a10d43e7b5f5218df5.zip |
XEEN: Change setMusicVolume to setMusicPercent for better range clarity
Diffstat (limited to 'engines/xeen/sound.h')
-rw-r--r-- | engines/xeen/sound.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/xeen/sound.h b/engines/xeen/sound.h index e0629170ef..91a1fa79c8 100644 --- a/engines/xeen/sound.h +++ b/engines/xeen/sound.h @@ -39,6 +39,7 @@ private: const byte *_songData; Audio::Mixer *_mixer; Audio::SoundHandle _soundHandle; + byte _musicPercent; private: /** * Loads effects data that was embedded in the music driver @@ -84,9 +85,9 @@ public: void restartSong() { songCommand(RESTART_SONG); } /** - * Sets the music volume + * Sets the in-game music volume percent. This is separate from the ScummVM volume */ - void setMusicVolume(byte volume) { songCommand(SET_VOLUME, volume); } + void setMusicPercent(byte percent); /** * Plays a song |