ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


new:getcvarfixed

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
new:getcvarfixed [2018/02/17 03:24] korshunnew:getcvarfixed [2018/02/17 14:34] korshun
Line 8: Line 8:
 ACSUtils implements ''a_GetCVarFixed'' and ''a_GetUserCVarFixed'' by calling [[zdoom>GetCVarString]] to retrieve its value as a string and parsing that string using ACSUtils [[number parsing functions]]. ACSUtils implements ''a_GetCVarFixed'' and ''a_GetUserCVarFixed'' by calling [[zdoom>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''.+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 just called ''GetCVarFixed'' and ''GetUserCVarFixed''.