diff options
author | aap <aap@papnet.eu> | 2021-01-01 14:02:05 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2021-01-01 14:02:05 +0100 |
commit | 60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a (patch) | |
tree | 32df20ab58a7e47e5dbf109468135b046daa017d /src/core/Pad.cpp | |
parent | wrong bike fall off anim (diff) | |
parent | Merge remote-tracking branch 'upstream/miami' into miami (diff) | |
download | re3-60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a.tar re3-60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a.tar.gz re3-60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a.tar.bz2 re3-60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a.tar.lz re3-60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a.tar.xz re3-60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a.tar.zst re3-60197c2d7e89836d1e31f9cf80cfbcea8bad8f8a.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)); |