This is an old revision of the document!
fixed a_GetCVarFixed(str name)
fixed a_GetUserCVarFixed(int player, str name)
ZDoom doesn't provide a version of GetCVar that returns the value of a float cvar.
ACSUtils implements a_GetCVarFixed
and a_GetUserCVarFixed
by calling GetCVarString to retrieve its value as a string and parsing that string using ACSUtils number parsing functions.
The functions have an a_
prefix, because GDCC has its own unrelated GetCVarFixed
function, which would cause a compiler error in GDCC if the ACSUtils functions were called just GetCVarFixed
and GetUserCVarFixed
.</note>