Go to the source code of this file.
◆ XonoticHUDRadarDialog_fill()
Definition at line 8 of file dialog_hudpanel_radar.qc.
References entity(), and makeXonoticTextSlider().
11 string panelname =
"radar";
15 e.addValue(e, _(
"Disable"),
"0");
16 e.addValue(e, _(
"Enable in team games"),
"1");
17 e.addValue(e, _(
"Always enable"),
"2");
18 e.configureXonoticTextSliderValues(e);
27 me.TD(me, 1, 2.6, e =
makeXonoticSlider(0.1, 1, 0.1,
"hud_panel_radar_foreground_alpha"));
32 e.addValue(e, _(
"Forward"),
"0");
33 e.addValue(e, _(
"West"),
"1");
34 e.addValue(e, _(
"South"),
"2");
35 e.addValue(e, _(
"East"),
"3");
36 e.addValue(e, _(
"North"),
"4");
37 e.configureXonoticTextSliderValues(e);
41 me.TD(me, 1, 2.6, e =
makeXonoticSlider(1024, 8192, 512,
"hud_panel_radar_scale"));
46 e.addValue(e, _(
"Zoomed in"),
"0");
47 e.addValue(e, _(
"Zoomed out"),
"1");
48 e.addValue(e, _(
"Always zoomed"),
"2");
49 e.addValue(e, _(
"Never zoomed"),
"3");
50 e.configureXonoticTextSliderValues(e);
entity makeXonoticTextLabel(float theAlign, string theText)
entity makeXonoticSlider(float theValueMin, float theValueMax, float theValueStep, string theCvar)
entity makeXonoticTextSlider(string theCvar)