7 me.configureXonoticTextSlider(me, theCvar, theTooltip);
16 me.configureSliderVisuals(me, me.fontSize, me.align, me.valueSpace, me.image);
17 me.controlledCvar = (theCvar) ? theCvar :
string_null;
39 if (!me.controlledCvar)
45 for(i = 1; i < n; ++i)
47 me.setValueFromIdentifier_noAnim(me, s);
48 if(me.value < 0 && n > 1)
52 for(i = 1; i < n; ++i)
61 if (!me.controlledCvar)
64 if(me.value >= 0 && me.value < me.nValues)
79 for(i = 0; i < n; ++i)
87 for(i = 0; i < n; ++i)
94 error(
"XonoticTextSlider: invalid identifier ", me.getIdentifier(me),
" does not match cvar list ", me.controlledCvar);
void XonoticTextSlider_setValue(entity me, float val)
entity makeXonoticTextSlider_T(string theCvar, string theTooltip)
void XonoticTextSlider_configureXonoticTextSlider(entity me, string theCvar, string theTooltip)
spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 spree_cen s1 f1 s1 strcat(_("Level %s: "), "^BG%s\3\, _("^BGPress ^F2%s^BG to enter the game"))
void XonoticTextSlider_saveCvars(entity me)
void XonoticTextSlider_setValue_noAnim(entity me, float val)
entity makeXonoticTextSlider(string theCvar)
void XonoticTextSlider_loadCvars(entity me)
void XonoticTextSlider_configureXonoticTextSliderValues(entity me)