mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 09:48:15 +08:00
Population and many small classes done, mouse AUX buttons, Frontend, Hud, fixes
This commit is contained in:
1 parent
1fa852f118
commit
f71953077d
35 files changed
+1428
-1134
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user