Xonotic
|
#include "slider.qh"
Go to the source code of this file.
Functions | |
entity | makeXonoticSlider (float theValueMin, float theValueMax, float theValueStep, string theCvar) |
entity | makeXonoticSlider_T (float theValueMin, float theValueMax, float theValueStep, string theCvar, string theTooltip) |
void | XonoticSlider_configureXonoticSlider (entity me, float theValueMin, float theValueMax, float theValueStep, string theCvar, string theTooltip) |
void | XonoticSlider_loadCvars (entity me) |
void | XonoticSlider_saveCvars (entity me) |
void | XonoticSlider_setValue (entity me, float val) |
void | XonoticSlider_setValue_noAnim (entity me, float val) |
entity makeXonoticSlider | ( | float | theValueMin, |
float | theValueMax, | ||
float | theValueStep, | ||
string | theCvar | ||
) |
Definition at line 10 of file slider.qc.
References makeXonoticSlider_T(), and string_null.
entity makeXonoticSlider_T | ( | float | theValueMin, |
float | theValueMax, | ||
float | theValueStep, | ||
string | theCvar, | ||
string | theTooltip | ||
) |
Definition at line 3 of file slider.qc.
Referenced by makeXonoticSlider().
void XonoticSlider_configureXonoticSlider | ( | entity | me, |
float | theValueMin, | ||
float | theValueMax, | ||
float | theValueStep, | ||
string | theCvar, | ||
string | theTooltip | ||
) |
Definition at line 14 of file slider.qc.
References fabs(), setZonedTooltip(), and string_null.
Definition at line 56 of file slider.qc.
References CheckSendCvars(), cvar_set(), and ftos_mindecimals().