From ea9a84752fe18c101d55b945f6f00266b0841d02 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 16 Dec 2019 09:32:58 +0100 Subject: [PATCH] - switched the volume slider to the OpenAL backend. --- source/common/gamecontrol.cpp | 2 +- wadsrc/static/demolition/menudef.txt | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/source/common/gamecontrol.cpp b/source/common/gamecontrol.cpp index 97096face..e549fd7af 100644 --- a/source/common/gamecontrol.cpp +++ b/source/common/gamecontrol.cpp @@ -479,7 +479,7 @@ int RunGame() M_Init(); SetDefaultStrings(); 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(); } diff --git a/wadsrc/static/demolition/menudef.txt b/wadsrc/static/demolition/menudef.txt index de63e8a1e..b444f2d09 100644 --- a/wadsrc/static/demolition/menudef.txt +++ b/wadsrc/static/demolition/menudef.txt @@ -1283,8 +1283,7 @@ OptionMenu SoundOptions //protected Slider "$MODMNU_MASTERVOLUME", "snd_mastervolume", 0, 1, 0.05, 2 StaticText " " 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 // Todo: Change value type + Slider "$SNDMNU_SFXVOLUME", "snd_sfxvolume", 0, 1, 0.05, 2 Option "$SNDMNU_MUSENABLED", "mus_enabled", "YesNo" 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 @@ -1293,7 +1292,6 @@ OptionMenu SoundOptions //protected Option "$SNDMNU_MIDIDEVICE", "snd_mididevice", "MidiDevices" StaticText " " //Option "$SNDMNU_UNDERWATERREVERB", "snd_waterreverb", "OnOff" - //Option "$SNDMNU_RANDOMIZEPITCHES", "snd_pitched", "OnOff" Slider "$SNDMNU_CHANNELS", "snd_numchannels", 64, 128, 8, 0 staticText "" ifgame (Blood, ShadowWarrior, Redneck, RedneckRides)