]> git.xonotic.org Git - voretournament/voretournament.git/commitdiff
Add helper setting to the menu
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 2 Aug 2011 17:26:34 +0000 (20:26 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 2 Aug 2011 17:26:34 +0000 (20:26 +0300)
data/defaultVT.cfg
data/qcsrc/menu/voret/dialog_settings_audio.c

index 4fbd384bd0b2c7475251a939e0dbc0bb056f3325..030631504d79956ae56652dba392acae79527888 100644 (file)
@@ -674,7 +674,7 @@ seta cl_notify_carried_items "3" "notify you of carried items when you obtain th
 seta cl_hitsound 1 "play a hit notifier sound when you have hit an enemy"\r
 seta cl_announcer default "name of the announcer you wish to use from data/sound/announcer"\r
 \r
-seta cl_helper 1 "enable helper system"\r
+seta cl_helper 1 "enable helper system (voice that warns you in certain circumstances)"\r
 seta cl_helper_voice default "name of the helper you wish to use from data/sound/helper"\r
 seta cl_helper_pause 2 "number of seconds that must pass before the helper system can be triggered again"\r
 seta cl_helper_item_health 25 "the helper will warn you when going below this amount of health"\r
index 933d6591dbc8cd2db03b2f92cf3c344f256871eb..516c6863464efb87e97ce59d4ba747df5551cc7c 100644 (file)
@@ -175,6 +175,8 @@ void fillVoretAudioSettingsTab(entity me)
                        e.addValue(e, "5 minutes", "2");\r
                        e.addValue(e, "Both", "3");\r
                        e.configureVoretTextSliderValues(e);\r
+       me.TR(me);\r
+               me.TD(me, 1, 3, e = makeVoretCheckBox(0, "cl_helper", "Helper"));\r
        me.TR(me);\r
                me.TD(me, 1, 3, e = makeVoretCheckBox(0, "cl_hitsound", "Hit indicator"));\r
        me.TR(me);\r