An ACS library for ZDoom-based ports
fixed accel2grav(fixed acceleration)
Converts acceleration (mapunits^2 per tic) to sv_gravity units.
sv_gravity
accel2grav(1.0) -> 800.0; accel2grav(0) -> 0.0; accel2grav(2.0) -> 1600.0;