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

This commit is contained in:
eray orçunus committed 2020-09-30 02:41:42 +03:00
1 parent 1fa852f118
commit f71953077d
35 files changed
+1428 -1134

No files matched your search

+11
View File
@@ -69,3 +69,14 @@ CDraw::SetFOV(float fov)
#endif
ms_fFOV = fov;
}
#ifdef ASPECT_RATIO_SCALE
float
ScaleAndCenterX(float x)
{
if (SCREEN_WIDTH == DEFAULT_SCREEN_WIDTH)
return x;
else
return (SCREEN_WIDTH - SCREEN_SCALE_X(DEFAULT_SCREEN_WIDTH)) / 2 + SCREEN_SCALE_X(x);
}
#endif