Go to the source code of this file.
◆ makeXonoticMutatorNewToysTab()
| entity makeXonoticMutatorNewToysTab |
( |
| ) |
|
Definition at line 5 of file ui_new_toys.qc.
6{
8 me.configureDialog(me);
9 return me;
10}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
References entity(), and NEW.
◆ XonoticMutatorNewToysTab_fill()
Definition at line 12 of file ui_new_toys.qc.
13{
15
17
18 me.TR(me);
20 me.TR(me);
21 const string nta_tooltip = _("Automatically replace some normal weapons of the map with their corresponding additional weapons");
22 me.TDempty(me, 0.2);
23 me.TD(me, 1, (4 - 0.2) / 3, e =
makeXonoticRadioButton_T(1,
"g_new_toys_autoreplace",
"0", _(
"Never"), nta_tooltip));
24 me.TD(me, 1, (4 - 0.2) / 3, e =
makeXonoticRadioButton_T(1,
"g_new_toys_autoreplace",
"1", _(
"Always"), nta_tooltip));
25 me.TD(me, 1, (4 - 0.2) / 3, e =
makeXonoticRadioButton_T(1,
"g_new_toys_autoreplace",
"2", _(
"Randomly"), nta_tooltip));
26}
entity Mutators_main_checkbox(entity me)
entity makeXonoticTextLabel(float theAlign, string theText)
References entity(), makeXonoticRadioButton_T(), makeXonoticTextLabel(), and Mutators_main_checkbox().