mirror of
https://github.com/GTAmodding/re3.git
synced 2025-07-18 20:24:08 +00:00
Population and many small classes done, mouse AUX buttons, Frontend, Hud, fixes
This commit is contained in:
parent
1fa852f118
commit
f71953077d
35 changed files with 1428 additions and 1134 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue