Xonotic
|
#include "slider_decibels.qh"
Go to the source code of this file.
Functions | |
float | fromDecibelOfSquare (float f, float mi) |
entity | makeXonoticDecibelsSlider (float theValueMin, float theValueMax, float theValueStep, string theCvar) |
entity | makeXonoticDecibelsSlider_T (float theValueMin, float theValueMax, float theValueStep, string theCvar, string theTooltip) |
TEST (XonoticDecibelsSlider, SoundTest) | |
float | toDecibelOfSquare (float f, float mi) |
void | XonoticDecibelsSlider_loadCvars (entity me) |
void | XonoticDecibelsSlider_saveCvars (entity me) |
string | XonoticDecibelsSlider_valueToText (entity me, float v) |
Variables | |
float | autocvar_menu_snd_sliderscale |
bool | autocvar_test_XonoticDecibelsSlider = false |
Definition at line 17 of file slider_decibels.qc.
Referenced by TEST(), XonoticDecibelsSlider_loadCvars(), and XonoticDecibelsSlider_saveCvars().
entity makeXonoticDecibelsSlider | ( | float | theValueMin, |
float | theValueMax, | ||
float | theValueStep, | ||
string | theCvar | ||
) |
Definition at line 38 of file slider_decibels.qc.
References makeXonoticDecibelsSlider_T(), and string_null.
entity makeXonoticDecibelsSlider_T | ( | float | theValueMin, |
float | theValueMax, | ||
float | theValueStep, | ||
string | theCvar, | ||
string | theTooltip | ||
) |
Definition at line 31 of file slider_decibels.qc.
Referenced by makeXonoticDecibelsSlider().
TEST | ( | XonoticDecibelsSlider | , |
SoundTest | |||
) |
Definition at line 86 of file slider_decibels.qc.
References autocvar_test_XonoticDecibelsSlider, EXPECT_GT, fabs(), fromDecibelOfSquare(), LOG_INFOF, SUCCEED, toDecibelOfSquare(), and v.
Definition at line 3 of file slider_decibels.qc.
Referenced by TEST(), and XonoticDecibelsSlider_loadCvars().
Definition at line 42 of file slider_decibels.qc.
References cvar(), floor(), fromDecibelOfSquare(), Slider_setValue_noAnim(), toDecibelOfSquare(), and v.
Definition at line 57 of file slider_decibels.qc.
References cvar_set(), fromDecibelOfSquare(), and ftos().
Definition at line 69 of file slider_decibels.qc.
References CTX().
float autocvar_menu_snd_sliderscale |
Definition at line 68 of file slider_decibels.qc.
Definition at line 85 of file slider_decibels.qc.
Referenced by TEST().