diff options
author | Travis Howell | 2002-10-23 11:05:59 +0000 |
---|---|---|
committer | Travis Howell | 2002-10-23 11:05:59 +0000 |
commit | d2fb928a9dc54a1e8904e4e2be0cb1cc5feec0af (patch) | |
tree | ed85228d497eacc3ef7443e449b7282e4d12f6f3 | |
parent | 319b37bd7b42af88c1f721855587c955243891e6 (diff) | |
download | scummvm-rg350-d2fb928a9dc54a1e8904e4e2be0cb1cc5feec0af.tar.gz scummvm-rg350-d2fb928a9dc54a1e8904e4e2be0cb1cc5feec0af.tar.bz2 scummvm-rg350-d2fb928a9dc54a1e8904e4e2be0cb1cc5feec0af.zip |
Add new command lime switch to readme and correct default volumes.
Change volume limits in gui to 255
svn-id: r5281
-rw-r--r-- | README | 5 | ||||
-rw-r--r-- | scumm/dialogs.cpp | 6 |
2 files changed, 6 insertions, 5 deletions
@@ -246,8 +246,9 @@ Command Line Options: -p<path> - Path to where the game is installed. Default is Cwd. -b<num> - Start in room <num>. -c<num> - Drive to play cd audio from. E.g., 0 is first drive. - -s<num> - Set the sfx volume, 0-255. Default is '100' - -m<num> - Set the music volume, 0-100. Default is '60' + -o<num> - Set the master volume, 0-255. Default is '192' + -s<num> - Set the sfx volume, 0-255. Default is '192' + -m<num> - Set the music volume, 0-255. Default is '192' -t<num> - Set music tempo. Adlib default: 0x1F0000, Midi: 0x460000 -e<mode> - Select sound engine. See below. -g<mode> - Select graphics scaler. See below. diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index 51629a7bdf..e5a9af64ff 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -506,9 +506,9 @@ OptionsDialog::OptionsDialog(NewGui *gui, Scumm *scumm) musicVolumeSlider = new SliderWidget(this, 115, 24, 80, 12, "Volume2", kMusicVolumeChanged); sfxVolumeSlider = new SliderWidget(this, 115, 40, 80, 12, "Volume3", kSfxVolumeChanged); - masterVolumeSlider->setMinValue(0); masterVolumeSlider->setMaxValue(256); - musicVolumeSlider->setMinValue(0); musicVolumeSlider->setMaxValue(256); - sfxVolumeSlider->setMinValue(0); sfxVolumeSlider->setMaxValue(256); + masterVolumeSlider->setMinValue(0); masterVolumeSlider->setMaxValue(255); + musicVolumeSlider->setMinValue(0); musicVolumeSlider->setMaxValue(255); + sfxVolumeSlider->setMinValue(0); sfxVolumeSlider->setMaxValue(255); masterVolumeLabel = new StaticTextWidget(this, 200, 10, 60, 16, "Volume1", kTextAlignLeft); musicVolumeLabel = new StaticTextWidget(this, 200, 26, 60, 16, "Volume2", kTextAlignLeft); |