diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-09 23:41:21 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-09 23:50:34 +0100 |
commit | 59f9c009efd3e149b83621c61716fa8da1ee1309 (patch) | |
tree | 46d3644183f9bd7b4297f9f3f675f0322665a703 /src/control | |
parent | Revert "Font: Fix text dimensions" (diff) | |
download | re3-59f9c009efd3e149b83621c61716fa8da1ee1309.tar re3-59f9c009efd3e149b83621c61716fa8da1ee1309.tar.gz re3-59f9c009efd3e149b83621c61716fa8da1ee1309.tar.bz2 re3-59f9c009efd3e149b83621c61716fa8da1ee1309.tar.lz re3-59f9c009efd3e149b83621c61716fa8da1ee1309.tar.xz re3-59f9c009efd3e149b83621c61716fa8da1ee1309.tar.zst re3-59f9c009efd3e149b83621c61716fa8da1ee1309.zip |
Diffstat (limited to 'src/control')
-rw-r--r-- | src/control/Darkel.cpp | 4 | ||||
-rw-r--r-- | src/control/Garages.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Darkel.cpp b/src/control/Darkel.cpp index 793bec36..afdfcb82 100644 --- a/src/control/Darkel.cpp +++ b/src/control/Darkel.cpp @@ -72,7 +72,7 @@ CDarkel::DrawMessages() { CFont::SetJustifyOff(); CFont::SetBackgroundOff(); - CFont::SetCentreSize(SCREEN_SCALE_FROM_RIGHT(30.0f)); + CFont::SetCentreSize(SCREEN_SCALE_X(610.0f)); CFont::SetCentreOn(); CFont::SetPropOn(); uint32 timePassedSinceStart = CTimer::GetTimeInMilliseconds() - CDarkel::TimeOfFrenzyStart; @@ -132,7 +132,7 @@ CDarkel::DrawMessages() uint32 timePassedSinceStart = CTimer::GetTimeInMilliseconds() - CDarkel::TimeOfFrenzyStart; if (CTimer::GetTimeInMilliseconds() - CDarkel::TimeOfFrenzyStart < 5000) { CFont::SetBackgroundOff(); - CFont::SetCentreSize(SCREEN_SCALE_FROM_RIGHT(20.0f)); + CFont::SetCentreSize(SCREEN_SCALE_X(620.0f)); CFont::SetCentreOn(); CFont::SetScale(SCREEN_SCALE_X(1.5f), SCREEN_SCALE_Y(1.5f)); CFont::SetJustifyOff(); diff --git a/src/control/Garages.cpp b/src/control/Garages.cpp index 61c1a850..5a04285f 100644 --- a/src/control/Garages.cpp +++ b/src/control/Garages.cpp @@ -1400,7 +1400,7 @@ void CGarages::PrintMessages() CFont::SetPropOn(); CFont::SetJustifyOff(); CFont::SetBackgroundOff(); - CFont::SetCentreSize(SCREEN_SCALE_FROM_RIGHT(50.0f)); + CFont::SetCentreSize(SCREEN_SCALE_X(590.0f)); CFont::SetCentreOn(); CFont::SetFontStyle(FONT_LOCALE(FONT_BANK)); CFont::SetColor(CRGBA(0, 0, 0, 255)); |