Go to the source code of this file.
◆ XonoticHUDItemsTimeDialog_fill()
Definition at line 9 of file dialog_hudpanel_itemstime.qc.
References entity(), and makeXonoticTextSlider().
12 string panelname =
"itemstime";
16 e.addValue(e, _(
"Disable"),
"0");
17 e.addValue(e, _(
"Enable spectating"),
"1");
18 e.addValue(e, _(
"Enable even playing in warmup"),
"2");
19 e.configureXonoticTextSliderValues(e);
28 me.TD(me, 1, 2, e =
makeXonoticCheckBox(0,
"hud_panel_itemstime_progressbar", _(
"Enable status bar")));
29 me.TD(me, 1, 2, e =
makeXonoticCheckBox(0,
"hud_panel_itemstime_progressbar_reduced", _(
"Reduced")));
30 setDependent(e,
"hud_panel_itemstime_progressbar", 1, 1);
35 me.TD(me, 1, 4, e =
makeXonoticCheckBox(0,
"hud_panel_itemstime_hidespawned", _(
"Hide spawned items")));
37 me.TD(me, 1, 4, e =
makeXonoticCheckBox(0,
"hud_panel_itemstime_hidebig", _(
"Hide big armor and health")));
39 me.TD(me, 1, 4, e =
makeXonoticCheckBox(0,
"hud_panel_itemstime_dynamicsize", _(
"Dynamic size")));
entity makeXonoticTextLabel(float theAlign, string theText)
entity makeXonoticSlider(float theValueMin, float theValueMax, float theValueStep, string theCvar)
entity makeXonoticTextSlider(string theCvar)
entity makeXonoticCheckBox(float isInverted, string theCvar, string theText)