ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


functions:a_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
functions:a_getcvarfixed [2017/04/15 17:18] korshunfunctions:a_getcvarfixed [2017/04/15 17:18] korshun
Line 8: Line 8:
 Returns the value of an int or float CVar as a fixed-point number. Returns the value of an int or float CVar as a fixed-point number.
  
-Returns 0 if the CVar doesn't exist or is not a number:+Returns 0 if the CVar doesn't exist or is not a number.
  
 The function works by calling [[zdoom>GetCVarString]] and parsing the text with [[atof]]. The function works by calling [[zdoom>GetCVarString]] and parsing the text with [[atof]].
functions/a_getcvarfixed.txt · Last modified: 2017/06/16 13:25 by korshun