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.
1
#include "
dialog_hudpanel_modicons.qh
"
2
3
#include "
checkbox.qh
"
4
#include "
textlabel.qh
"
5
#include <
common/mapinfo.qh
>
6
#include <
common/gametypes/gametype/clanarena/clanarena.qh
>
7
#include <
common/gametypes/gametype/domination/domination.qh
>
8
#include <
common/gametypes/gametype/freezetag/freezetag.qh
>
9
10
void
XonoticHUDModIconsDialog_fill
(
entity
me)
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
}
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
clanarena.qh
XonoticHUDModIconsDialog_fill
void XonoticHUDModIconsDialog_fill(entity me)
Definition
dialog_hudpanel_modicons.qc:10
dialog_hudpanel_modicons.qh
domination.qh
freezetag.qh
ZCTX
#define ZCTX(s)
Definition
i18n.qh:68
MapInfo_Type_ToText
string MapInfo_Type_ToText(Gametype t)
Definition
mapinfo.qc:661
mapinfo.qh
dialog_hudpanel_main_checkbox
void dialog_hudpanel_main_checkbox(entity me, string panelname)
Definition
util.qc:722
dialog_hudpanel_main_settings
void dialog_hudpanel_main_settings(entity me, string panelname)
Definition
util.qc:731
makeXonoticTextLabel
entity makeXonoticTextLabel(float theAlign, string theText)
Definition
textlabel.qc:3
textlabel.qh
makeXonoticCheckBox
entity makeXonoticCheckBox(float isInverted, string theCvar, string theText)
Definition
checkbox.qc:28
checkbox.qh
menu
xonotic
dialog_hudpanel_modicons.qc
Generated on
for Xonotic QuakeC by
1.14.0