From: z411 Date: Sun, 27 Feb 2022 20:25:24 +0000 (-0300) Subject: Added secondary timer to menu X-Git-Tag: xonotic-v0.8.5~177^2~13 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8ce2bc3e14f66df6d6190d535f1d84c21ad664d6;p=xonotic%2Fxonotic-data.pk3dir.git Added secondary timer to menu --- diff --git a/qcsrc/menu/xonotic/dialog_hudpanel_timer.qc b/qcsrc/menu/xonotic/dialog_hudpanel_timer.qc index 84c6d862d..76909c1da 100644 --- a/qcsrc/menu/xonotic/dialog_hudpanel_timer.qc +++ b/qcsrc/menu/xonotic/dialog_hudpanel_timer.qc @@ -17,4 +17,12 @@ void XonoticHUDTimerDialog_fill(entity me) me.TR(me); me.TDempty(me, 0.2); me.TD(me, 1, 3.8, e = makeXonoticCheckBox(0, "hud_panel_timer_increment", _("Show elapsed time"))); + me.TR(me); + me.TDempty(me, 0.2); + me.TD(me, 1, 1.2, e = makeXonoticTextLabel(0, _("Secondary timer:"))); + me.TD(me, 1, 2.6, e = makeXonoticTextSlider("hud_panel_timer_secondary")); + e.addValue(e, _("Disable"), "0"); + e.addValue(e, _("Enable"), "1"); + e.addValue(e, _("Swapped"), "2"); + e.configureXonoticTextSliderValues(e); }