Add new command lime switch to readme and correct default volumes.

Change volume limits in gui to 255

svn-id: r5281
This commit is contained in:
Travis Howell 2002-10-23 11:05:59 +00:00
parent 319b37bd7b
commit d2fb928a9d
2 changed files with 6 additions and 5 deletions

5
README
View File

@ -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.

View File

@ -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);