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

Go to the source code of this file.

Functions

entity makeXonoticMutatorBloodLossTab ()
void XonoticMutatorBloodLossTab_fill (entity me)

Function Documentation

◆ makeXonoticMutatorBloodLossTab()

entity makeXonoticMutatorBloodLossTab ( )

Definition at line 7 of file ui_bloodloss.qc.

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

References entity(), and NEW.

◆ XonoticMutatorBloodLossTab_fill()

void XonoticMutatorBloodLossTab_fill ( entity me)

Definition at line 14 of file ui_bloodloss.qc.

15{
16 entity e;
17 entity s = makeXonoticSlider(10, 50, 1, me.message);
18
19 me.TR(me);
20 me.TDempty(me, 1.75);
21 me.TD(me, 1, 2.25, e = makeXonoticSliderCheckBox(0, 1, s, _("Enable")));
23 me.TR(me);
24 me.TD(me, 1, 1.5, e = makeXonoticTextLabel(0, _("Bleed below health:")));
25 me.TD(me, 1, 2.5, s);
26}
entity makeXonoticSliderCheckBox(float theOffValue, float isInverted, entity theControlledSlider, string theText)
void Mutators_add_SliderCheckBox(entity me, entity e)
Definition mutatortab.qc:60
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(), makeXonoticSliderCheckBox(), makeXonoticTextLabel(), and Mutators_add_SliderCheckBox().