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

Go to the source code of this file.

Functions

entity makeXonoticMutatorTouchExplodeTab ()
void XonoticMutatorTouchExplodeTab_fill (entity me)

Function Documentation

◆ makeXonoticMutatorTouchExplodeTab()

entity makeXonoticMutatorTouchExplodeTab ( )

Definition at line 5 of file ui_touchexplode.qc.

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

References entity(), and NEW.

◆ XonoticMutatorTouchExplodeTab_fill()

void XonoticMutatorTouchExplodeTab_fill ( entity me)

Definition at line 12 of file ui_touchexplode.qc.

13{
14 entity e;
15
17
18 me.TR(me);
19 me.TD(me, 1, 1.5, e = makeXonoticTextLabel(0, _("Damage:")));
20 me.TD(me, 1, 2.5, e = makeXonoticSlider(0, 100, 5, "g_touchexplode_damage"));
21 me.TR(me);
22 me.TD(me, 1, 1.5, e = makeXonoticTextLabel(0, _("Force:")));
23 me.TD(me, 1, 2.5, e = makeXonoticSlider(0, 1000, 50, "g_touchexplode_force"));
24 e.formatString = _("%s qu/s");
25}
entity Mutators_main_checkbox(entity me)
Definition mutatortab.qc:25
entity makeXonoticTextLabel(float theAlign, string theText)
Definition textlabel.qc:3
entity makeXonoticSlider(float theValueMin, float theValueMax, float theValueStep, string theCvar)
Definition slider.qc:9

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