- switched the volume slider to the OpenAL backend.

This commit is contained in:
Christoph Oelckers 2019-12-16 09:32:58 +01:00
parent b1b33ef231
commit ea9a84752f
2 changed files with 2 additions and 4 deletions

View file

@ -479,7 +479,7 @@ int RunGame()
M_Init(); M_Init();
SetDefaultStrings(); SetDefaultStrings();
if (g_gameType & GAMEFLAG_RR) InitRREndMap(); // this needs to be done better later if (g_gameType & GAMEFLAG_RR) InitRREndMap(); // this needs to be done better later
C_DoCommand("stat sounddebug"); //C_DoCommand("stat sounddebug");
return gi->app_main(); return gi->app_main();
} }

View file

@ -1283,8 +1283,7 @@ OptionMenu SoundOptions //protected
Slider "$MODMNU_MASTERVOLUME", "snd_mastervolume", 0, 1, 0.05, 2 Slider "$MODMNU_MASTERVOLUME", "snd_mastervolume", 0, 1, 0.05, 2
StaticText " " StaticText " "
Option "$SNDMNU_SNDENABLED", "snd_enabled", "YesNo" Option "$SNDMNU_SNDENABLED", "snd_enabled", "YesNo"
Slider "$SNDMNU_SFXVOLUME", "snd_fxvolume", 0, 255, 2, 1 Slider "$SNDMNU_SFXVOLUME", "snd_sfxvolume", 0, 1, 0.05, 2
//Slider "$SNDMNU_SFXVOLUME", "snd_sfxvolume", 0, 1, 0.05, 2 // Todo: Change value type
Option "$SNDMNU_MUSENABLED", "mus_enabled", "YesNo" Option "$SNDMNU_MUSENABLED", "mus_enabled", "YesNo"
Slider "$SNDMNU_MUSICVOLUME", "mus_volume", 0, 1, 0.05, 2 Slider "$SNDMNU_MUSICVOLUME", "mus_volume", 0, 1, 0.05, 2
Option "$SNDMNU_MENUSOUND", "menu_sounds", "OnOff" // placeholder until the slider can be made to work Option "$SNDMNU_MENUSOUND", "menu_sounds", "OnOff" // placeholder until the slider can be made to work
@ -1293,7 +1292,6 @@ OptionMenu SoundOptions //protected
Option "$SNDMNU_MIDIDEVICE", "snd_mididevice", "MidiDevices" Option "$SNDMNU_MIDIDEVICE", "snd_mididevice", "MidiDevices"
StaticText " " StaticText " "
//Option "$SNDMNU_UNDERWATERREVERB", "snd_waterreverb", "OnOff" //Option "$SNDMNU_UNDERWATERREVERB", "snd_waterreverb", "OnOff"
//Option "$SNDMNU_RANDOMIZEPITCHES", "snd_pitched", "OnOff"
Slider "$SNDMNU_CHANNELS", "snd_numchannels", 64, 128, 8, 0 Slider "$SNDMNU_CHANNELS", "snd_numchannels", 64, 128, 8, 0
staticText "" staticText ""
ifgame (Blood, ShadowWarrior, Redneck, RedneckRides) ifgame (Blood, ShadowWarrior, Redneck, RedneckRides)