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

Go to the source code of this file.

Functions

entity makeXonoticMutatorMidAirTab ()
void XonoticMutatorMidAirTab_fill (entity me)

Function Documentation

◆ makeXonoticMutatorMidAirTab()

entity makeXonoticMutatorMidAirTab ( )

Definition at line 6 of file ui_midair.qc.

7{
9 me.configureDialog(me);
10 return me;
11}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
#define NEW(cname,...)
Definition oo.qh:120

References entity(), and NEW.

◆ XonoticMutatorMidAirTab_fill()

void XonoticMutatorMidAirTab_fill ( entity me)

Definition at line 13 of file ui_midair.qc.

14{
15 entity e;
16
18
19 me.TR(me);
20 me.TD(me, 1, 1.5, e = makeXonoticTextLabel(0, _("Invincibility time:")));
21 me.TD(me, 1, 2.5, e = makeXonoticSlider_T(0, 1, 0.1, "g_midair_shieldtime",
22 _("Invincibility time after leaving contact with ground")));
23 e.formatString = "S";
24 e.setValueSpace(e, e.valueSpace * 1.2);
25}
entity Mutators_main_checkbox(entity me)
Definition mutatortab.qc:25
entity makeXonoticTextLabel(float theAlign, string theText)
Definition textlabel.qc:3
entity makeXonoticSlider_T(float theValueMin, float theValueMax, float theValueStep, string theCvar, string theTooltip)
Definition slider.qc:3

References entity(), makeXonoticSlider_T(), makeXonoticTextLabel(), and Mutators_main_checkbox().