mirror of
https://github.com/GTAmodding/re3.git
synced 2025-08-28 15:00:50 +00:00
Fixes: PS2/PS2-like menu, Hud, new sliding text found
This commit is contained in:
parent
9b76424540
commit
70aac0f460
12 changed files with 150 additions and 64 deletions
|
@ -70,3 +70,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