Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
dialog_hudpanel_modicons.qc File Reference
Include dependency graph for dialog_hudpanel_modicons.qc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void XonoticHUDModIconsDialog_fill (entity me)

Function Documentation

◆ XonoticHUDModIconsDialog_fill()

void XonoticHUDModIconsDialog_fill ( entity me)

Definition at line 10 of file dialog_hudpanel_modicons.qc.

11{
12 entity e;
13 string panelname = "modicons";
14
15 dialog_hudpanel_main_checkbox(me, panelname);
16
17 dialog_hudpanel_main_settings(me, panelname);
18
19 string gt_str = CTX(_("GAMETYPE^%s:"));
20 string text = _("Show icons");
21 me.TR(me);
22 me.TD(me, 1, 1.4, e = makeXonoticTextLabel(0, strzone(sprintf(gt_str, MapInfo_Type_ToText(MAPINFO_TYPE_CA)))));
23 me.TD(me, 1, 2.6, e = makeXonoticCheckBox(0, "hud_panel_modicons_ca_layout", text));
24 me.TR(me);
25 me.TD(me, 1, 1.4, e = makeXonoticTextLabel(0, strzone(sprintf(gt_str, MapInfo_Type_ToText(MAPINFO_TYPE_DOMINATION)))));
26 me.TD(me, 1, 2.6, e = makeXonoticCheckBox(0, "hud_panel_modicons_dom_layout", text));
27 me.TR(me);
28 me.TD(me, 1, 1.4, e = makeXonoticTextLabel(0, strzone(sprintf(gt_str, MapInfo_Type_ToText(MAPINFO_TYPE_FREEZETAG)))));
29 me.TD(me, 1, 2.6, e = makeXonoticCheckBox(0, "hud_panel_modicons_freezetag_layout", text));
30}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
ERASEABLE string CTX(string s)
Definition i18n.qh:46
string MapInfo_Type_ToText(Gametype t)
Definition mapinfo.qc:660
void dialog_hudpanel_main_checkbox(entity me, string panelname)
Definition util.qc:730
void dialog_hudpanel_main_settings(entity me, string panelname)
Definition util.qc:739
string strzone(string s)
entity makeXonoticTextLabel(float theAlign, string theText)
Definition textlabel.qc:3
entity makeXonoticCheckBox(float isInverted, string theCvar, string theText)
Definition checkbox.qc:28

References CTX(), dialog_hudpanel_main_checkbox(), dialog_hudpanel_main_settings(), entity(), makeXonoticCheckBox(), makeXonoticTextLabel(), MapInfo_Type_ToText(), and strzone().