ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


units

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
units [2017/07/09 17:09]
korshun
units [2017/07/09 17:13] (current)
korshun
Line 1: Line 1:
 ====== Standard ZDoom units ====== ====== Standard ZDoom units ======
  
-  * **distance** -- mapunits+  * **distance** -- mapunits (also called mappixels)
   * **time** -- tics (or seconds in non-gameplay contexts)   * **time** -- tics (or seconds in non-gameplay contexts)
   * **angle** -- turns counterclockwise   * **angle** -- turns counterclockwise
Line 17: Line 17:
 ==== Space ==== ==== Space ====
   * meters, feet, and other nonsense -- Doom doesn't have an accurate scale   * meters, feet, and other nonsense -- Doom doesn't have an accurate scale
-  * sv_gravity units (800:1) -- converted to acceleration by dividing by 800 -- [[GetGravityG]], [[SetGravityG]] +  * sv_gravity units (800:1) -- converted to acceleration by dividing by 800 
-  * JumpZ units -- [[functions:jumpz2height]], [[functions:height2jumpz]]+  * JumpZ units -- see [[functions:jumpz2height]]
  
 ==== Time ==== ==== Time ====
Line 25: Line 25:
  
 ==== Angles ==== ==== Angles ====
-  * degrees (360:1) -- [[functions:deg2angle]], [[functions:angle2deg]] +  * degrees (360:1) 
-  * radians (tau:1) -- [[functions:rad2angle]], [[functions:angle2rad]]+  * radians (tau:1)
   * byte angles (256:1)   * byte angles (256:1)
  
  
      
units.1499609378.txt.gz · Last modified: 2017/07/09 17:09 by korshun