Population and many small classes done, mouse AUX buttons, Frontend, Hud, fixes

This commit is contained in:
eray orçunus
2020-09-29 22:53:12 +03:00
parent 1fa852f118
commit f71953077d
35 changed files with 1428 additions and 1134 deletions

View File

@@ -144,8 +144,11 @@ inline uint32 ldb(uint32 p, uint32 s, uint32 w)
#ifdef ASPECT_RATIO_SCALE
#define SCREEN_SCALE_AR(a) ((a) * DEFAULT_ASPECT_RATIO / SCREEN_ASPECT_RATIO)
extern float ScaleAndCenterX(float x);
#define SCALE_AND_CENTER_X(x) ScaleAndCenterX(x)
#else
#define SCREEN_SCALE_AR(a) (a)
#define SCALE_AND_CENTER_X(x) SCREEN_STRETCH_X(x)
#endif
#include "maths.h"