ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


getcvarfixed

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
getcvarfixed [2019/04/22 22:43]
korshun
getcvarfixed [2019/04/22 22:44] (current)
korshun
Line 4: Line 4:
  
  
-<note important>​If the CVar's value is outside the range of fixed-point numbers, the functions return ​''​32767.99997''​, or ''​-32768.0''​, depending on the sign.</​note>​+<note important>​If the CVar's value is outside the range of fixed-point numbers, the result is clamped to ''​-32768.0''​..''​32767.99997'' ​range.</​note>​
  
 <note important>​The function names begin with ''​a_''​ because [[GDCC]] defines its own broken ''​GetCVarFixed'',​ which causes a compilation error if another function named ''​GetCVarFixed''​ exists.</​note>​ <note important>​The function names begin with ''​a_''​ because [[GDCC]] defines its own broken ''​GetCVarFixed'',​ which causes a compilation error if another function named ''​GetCVarFixed''​ exists.</​note>​
getcvarfixed.txt ยท Last modified: 2019/04/22 22:44 by korshun