BugfixedHL-Rebased
BugfixedHL-Rebased copied to clipboard
Client: Allow to specify name for kill sound and regulate volume
Closes #132
Volume control will stop working as soon as "Apply" is pressed in the advanced options dialog because CCvarCheckButton only allows boolean values
https://github.com/tmp64/BugfixedHL-Rebased/blob/07aecfff8bacaccc1aad1516d342041e4a4aca87/src/game/client/gameui/options/cvar_check_button.cpp#L17-L40
I see two ways to resolve that
a. Replace checkboxes with sliders. But there's barely any space for anything as it is.
b. Modify CCvarCheckButton to only update the value if it was changed.
Rebased on top of master
Thanks!
I see two ways to resolve that a. Replace checkboxes with sliders. But there's barely any space for anything as it is. b. Modify CCvarCheckButton to only update the value if it was changed.
I changed CCvarCheckButton to only apply if the user clicked the checkbox (f4deeab9168dff03444683d6ef59cd0be15f4ab6).