This is an old revision of the document!
fixed a_GetCVarFixed(str name)
ZDoom provides GetCVar for ints and GetCVarString for strings, but doesn't provide a way to retrieve the value of float
CVars. ACSUtils implements GetCVarFixed
by calling GetCVarString to retrieve the value of the CVar as a string, and parsing it with ACSUtils number parsing functions.
0.0
.
a_GetCVarFixed
and not GetCVarFixed
because GDCC defines its own broken GetCVarFixed
, which causes a compilation error if another function named GetCVarFixed
exists.