ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools



fixed GetAspectRatio()


Returns the aspect ratio that ZDoom is currently using for HudMessages. See HUD coordinate system.

  • ASPECT_4_3
  • ASPECT_16_9
  • ASPECT_16_10
  • ASPECT_17_10
  • ASPECT_5_4

Every aspect ratio constant is a fixed-point number equal to the corresponding ratio, for example, ASPECT_4_3 is equal to 1.333333333333333.

functions/getaspectratio.txt · Last modified: 2017/04/17 20:17 by korshun