Go to the source code of this file.
◆ makeXonoticParticlesSlider()
entity makeXonoticParticlesSlider |
( |
| ) |
|
◆ XonoticParticlesSlider_configureXonoticParticlesSlider()
void XonoticParticlesSlider_configureXonoticParticlesSlider |
( |
entity |
me | ) |
|
Definition at line 10 of file slider_particles.qc.
12 me.configureXonoticTextSlider(me,
"cl_particles_quality",
13 _(
"Multiplier for amount of particles. Less means less particles, which in turn gives for better performance"));
14 if(
cvar(
"developer") > 0) { me.addValue(me,
ZCTX(_(
"PART^OMG")),
"0.25 250 0"); }
15 me.addValue(me,
ZCTX(_(
"PARTQUAL^Low")),
"0.5 500 0");
16 me.addValue(me,
ZCTX(_(
"PARTQUAL^Medium")),
"0.75 750 0");
17 me.addValue(me,
ZCTX(_(
"PARTQUAL^Normal")),
"1.0 1000 1");
18 me.addValue(me,
ZCTX(_(
"PARTQUAL^High")),
"1.5 1500 1");
19 me.addValue(me,
ZCTX(_(
"PARTQUAL^Ultra")),
"2.0 2000 2");
20 if(
cvar(
"developer") > 0) { me.addValue(me,
ZCTX(_(
"PARTQUAL^Ultimate")),
"3.0 3000 2"); }
21 me.configureXonoticTextSliderValues(me);
◆ XonoticParticlesSlider_loadCvars()
void XonoticParticlesSlider_loadCvars |
( |
entity |
me | ) |
|
◆ XonoticParticlesSlider_saveCvars()
void XonoticParticlesSlider_saveCvars |
( |
entity |
me | ) |
|