diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-01 12:55:00 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-01 12:55:00 +0100 |
commit | b4b9f9601b6c578668e1535fd44bcc3f31491090 (patch) | |
tree | 06e4534e9d918aacbd5611dcfedc8956eadbbd8d /src/core/Pad.cpp | |
parent | Merge branch 'miami' into lcs-dev (diff) | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
download | re3-b4b9f9601b6c578668e1535fd44bcc3f31491090.tar re3-b4b9f9601b6c578668e1535fd44bcc3f31491090.tar.gz re3-b4b9f9601b6c578668e1535fd44bcc3f31491090.tar.bz2 re3-b4b9f9601b6c578668e1535fd44bcc3f31491090.tar.lz re3-b4b9f9601b6c578668e1535fd44bcc3f31491090.tar.xz re3-b4b9f9601b6c578668e1535fd44bcc3f31491090.tar.zst re3-b4b9f9601b6c578668e1535fd44bcc3f31491090.zip |
Diffstat (limited to 'src/core/Pad.cpp')
-rw-r--r-- | src/core/Pad.cpp | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/src/core/Pad.cpp b/src/core/Pad.cpp index 7d53009d..4a78e834 100644 --- a/src/core/Pad.cpp +++ b/src/core/Pad.cpp @@ -3331,10 +3331,18 @@ void CPad::PrintErrorMessage(void) if ( bDisplayNoControllerMessage && !CGame::playingIntro && !FrontEndMenuManager.m_bMenuActive ) { CSprite2d::DrawRect(CRect(SCREEN_STRETCH_X(20.0f), SCREEN_SCALE_FROM_BOTTOM(130.0f), SCREEN_STRETCH_FROM_RIGHT(20.0f), SCREEN_SCALE_Y(140.0f)), CRGBA(50, 50, 50, 210)); +#ifdef FIX_BUGS CFont::SetScale(SCREEN_SCALE_X(0.85f), SCREEN_SCALE_Y(1.0f)); +#else + CFont::SetScale(0.85f, 1.0f); +#endif CFont::SetJustifyOff(); CFont::SetBackgroundOff(); - CFont::SetCentreSize(SCREEN_SCALE_X(590.0f)); +#ifdef FIX_BUGS + CFont::SetCentreSize(SCREEN_SCALE_X(DEFAULT_SCREEN_WIDTH - 20)); +#else + CFont::SetCentreSize(SCREEN_WIDTH - 20); +#endif CFont::SetCentreOn(); CFont::SetPropOn(); CFont::SetColor(CRGBA(255, 255, 200, 200)); @@ -3349,10 +3357,18 @@ void CPad::PrintErrorMessage(void) else if ( bObsoleteControllerMessage ) { CSprite2d::DrawRect(CRect(SCREEN_STRETCH_X(20.0f), SCREEN_SCALE_FROM_BOTTOM(130.0f), SCREEN_STRETCH_FROM_RIGHT(20.0f), SCREEN_SCALE_Y(140.0f)), CRGBA(50, 50, 50, 210)); +#ifdef FIX_BUGS CFont::SetScale(SCREEN_SCALE_X(0.85f), SCREEN_SCALE_Y(1.0f)); +#else + CFont::SetScale(0.85f, 1.0f); +#endif CFont::SetJustifyOff(); CFont::SetBackgroundOff(); - CFont::SetCentreSize(SCREEN_SCALE_X(590.0f)); +#ifdef FIX_BUGS + CFont::SetCentreSize(SCREEN_SCALE_X(DEFAULT_SCREEN_WIDTH - 20)); +#else + CFont::SetCentreSize(SCREEN_WIDTH - 20); +#endif CFont::SetCentreOn(); CFont::SetPropOn(); CFont::SetColor(CRGBA(255, 255, 200, 200)); |