aboutsummaryrefslogtreecommitdiff
path: root/src/control/Darkel.cpp
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2020-11-08 21:11:55 +0300
committererorcun <erorcunerorcun@hotmail.com.tr>2020-11-08 21:11:55 +0300
commitf8367ebdef6d15d1b1892a3418ea8a1ed4df46b2 (patch)
tree43febee0246f7885d664ffc645c6398af6b64f2b /src/control/Darkel.cpp
parentc96ffb05b181ee658a91f11c09b1d99cae727ccd (diff)
Revert "Font: Fix text dimensions"
This reverts commit 6729de49b16da9a1be3c95b146ba053bf214c91c.
Diffstat (limited to 'src/control/Darkel.cpp')
-rw-r--r--src/control/Darkel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/control/Darkel.cpp b/src/control/Darkel.cpp
index afdfcb82..793bec36 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_X(610.0f));
+ CFont::SetCentreSize(SCREEN_SCALE_FROM_RIGHT(30.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_X(620.0f));
+ CFont::SetCentreSize(SCREEN_SCALE_FROM_RIGHT(20.0f));
CFont::SetCentreOn();
CFont::SetScale(SCREEN_SCALE_X(1.5f), SCREEN_SCALE_Y(1.5f));
CFont::SetJustifyOff();