1
0
mirror of https://github.com/td512/re3.git synced 2026-02-02 17:40:43 +00:00
This commit is contained in:
Fire-Head
2021-01-05 04:17:18 +03:00
parent bc7161754f
commit 11de714d9d
11 changed files with 36 additions and 38 deletions

View File

@@ -20,6 +20,12 @@ uint8 CDraw::FadeRed;
uint8 CDraw::FadeGreen;
uint8 CDraw::FadeBlue;
#ifdef ASPECT_RATIO_SCALE
int32 CDraw::ms_nScalingMode = SCL_PS2;
int32 CDraw::ms_bFixRadar = true;
int32 CDraw::ms_bFixSprites = true;
#endif
float
CDraw::FindAspectRatio(void)
{
@@ -80,7 +86,7 @@ CDraw::SetFOV(float fov)
#ifdef ASPECT_RATIO_SCALE
float CDraw::ScaleY(float y)
{
switch ( CMenuManager::m_PrefsSpriteScalingMode )
switch ( ms_nScalingMode )
{
case SCL_PC: return y * ((float)DEFAULT_SCREEN_HEIGHT/SCREEN_HEIGHT_NTSC);
default: