Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
dialog_hudpanel_modicons.qc
Go to the documentation of this file.
2
3#include "checkbox.qh"
4#include "textlabel.qh"
5#include <common/mapinfo.qh>
9
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 me.TR(me);
20 me.TD(me, 1, 1.4, e = makeXonoticTextLabel(0, ZCTX(sprintf(_("GAMETYPE^%s:"), MapInfo_Type_ToText(MAPINFO_TYPE_CA)))));
21 me.TD(me, 1, 2.6, e = makeXonoticCheckBox(0, "hud_panel_modicons_ca_layout", _("Show icons")));
22 me.TR(me);
23 me.TD(me, 1, 1.4, e = makeXonoticTextLabel(0, ZCTX(sprintf(_("GAMETYPE^%s:"), MapInfo_Type_ToText(MAPINFO_TYPE_DOMINATION)))));
24 me.TD(me, 1, 2.6, e = makeXonoticCheckBox(0, "hud_panel_modicons_dom_layout", _("Show icons")));
25 me.TR(me);
26 me.TD(me, 1, 1.4, e = makeXonoticTextLabel(0, ZCTX(sprintf(_("GAMETYPE^%s:"), MapInfo_Type_ToText(MAPINFO_TYPE_FREEZETAG)))));
27 me.TD(me, 1, 2.6, e = makeXonoticCheckBox(0, "hud_panel_modicons_freezetag_layout", _("Show icons")));
28}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
void XonoticHUDModIconsDialog_fill(entity me)
#define ZCTX(s)
Definition i18n.qh:68
string MapInfo_Type_ToText(Gametype t)
Definition mapinfo.qc:661
void dialog_hudpanel_main_checkbox(entity me, string panelname)
Definition util.qc:722
void dialog_hudpanel_main_settings(entity me, string panelname)
Definition util.qc:731
entity makeXonoticTextLabel(float theAlign, string theText)
Definition textlabel.qc:3
entity makeXonoticCheckBox(float isInverted, string theCvar, string theText)
Definition checkbox.qc:28