|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#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(), XonoticDecibelsSlider_saveCvars(), and XonoticDecibelsSlider_valueToText().
| entity makeXonoticDecibelsSlider | ( | float | theValueMin, |
| float | theValueMax, | ||
| float | theValueStep, | ||
| string | theCvar ) |
Definition at line 38 of file slider_decibels.qc.
References entity(), makeXonoticDecibelsSlider_T(), and string_null.
Referenced by XonoticDecibelsSlider::valueToText().
| 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(), XonoticDecibelsSlider::valueToText(), and XonoticAudioSettingsTab_fill().
| TEST | ( | XonoticDecibelsSlider | , |
| SoundTest | ) |
Definition at line 86 of file slider_decibels.qc.
References autocvar_test_XonoticDecibelsSlider, EXPECT_LT, fabs(), fromDecibelOfSquare(), LOG_INFOF, SUCCEED, and toDecibelOfSquare().
Definition at line 3 of file slider_decibels.qc.
Referenced by TEST(), XonoticDecibelsSlider_loadCvars(), and XonoticDecibelsSlider_valueToText().
Definition at line 42 of file slider_decibels.qc.
References cvar(), entity(), floor(), fromDecibelOfSquare(), Slider_setValue(), and toDecibelOfSquare().
Definition at line 57 of file slider_decibels.qc.
References cvar_set(), entity(), fromDecibelOfSquare(), and ftos().
Definition at line 69 of file slider_decibels.qc.
References autocvar_menu_snd_sliderscale, CTX(), entity(), fromDecibelOfSquare(), ftos_decimals(), ftos_decimals_percentage(), and toDecibelOfSquare().
| float autocvar_menu_snd_sliderscale |
Definition at line 68 of file slider_decibels.qc.
Referenced by XonoticDecibelsSlider_valueToText().
Definition at line 85 of file slider_decibels.qc.
Referenced by TEST().