Lower maximum volume (to work better with Quest maximum volume)

This commit is contained in:
Petr Bartos 2022-04-09 21:08:59 +02:00
parent aa7108be8c
commit e293d58aa9
3 changed files with 6 additions and 6 deletions

View File

@ -317,7 +317,7 @@ static void UI_SoundOptionsMenu_Init( void ) {
soundOptionsInfo.sfxvolume.generic.x = 400;
soundOptionsInfo.sfxvolume.generic.y = y;
soundOptionsInfo.sfxvolume.minvalue = 0;
soundOptionsInfo.sfxvolume.maxvalue = 10;
soundOptionsInfo.sfxvolume.maxvalue = 8;
y += BIGCHAR_HEIGHT+2;
soundOptionsInfo.musicvolume.generic.type = MTYPE_SLIDER;
@ -328,7 +328,7 @@ static void UI_SoundOptionsMenu_Init( void ) {
soundOptionsInfo.musicvolume.generic.x = 400;
soundOptionsInfo.musicvolume.generic.y = y;
soundOptionsInfo.musicvolume.minvalue = 0;
soundOptionsInfo.musicvolume.maxvalue = 10;
soundOptionsInfo.musicvolume.maxvalue = 8;
y += BIGCHAR_HEIGHT+2;
soundOptionsInfo.soundSystem.generic.type = MTYPE_SPINCONTROL;

View File

@ -419,7 +419,7 @@ itemDef {
group grpSystem
type ITEM_TYPE_SLIDER
text "Effects Volume:"
cvarfloat "s_volume" 0.7 0 1
cvarfloat "s_volume" 0.1 0 0.8
rect 0 65 256 20
textalign ITEM_ALIGN_RIGHT
textalignx 128
@ -434,7 +434,7 @@ itemDef {
group grpSystem
type ITEM_TYPE_SLIDER
text "Music Volume:"
cvarfloat "s_musicvolume" 0.25 0 1
cvarfloat "s_musicvolume" 0.1 0 0.8
rect 0 85 256 20
textalign ITEM_ALIGN_RIGHT
textalignx 128

View File

@ -446,7 +446,7 @@ itemDef {
group grpSystem
type ITEM_TYPE_SLIDER
text "Effects Volume:"
cvarfloat "s_volume" 0.7 0 1
cvarfloat "s_volume" 0.1 0 0.8
rect 99 92 256 20
textalign ITEM_ALIGN_RIGHT
textalignx 128
@ -461,7 +461,7 @@ itemDef {
group grpSystem
type ITEM_TYPE_SLIDER
text "Music Volume:"
cvarfloat "s_musicvolume" 0.25 0 1
cvarfloat "s_musicvolume" 0.1 0 0.8
rect 99 119 256 20
textalign ITEM_ALIGN_RIGHT
textalignx 128