summaryrefslogtreecommitdiffstats
path: root/src/control/Darkel.cpp
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-06-07 04:03:06 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2020-06-07 04:03:06 +0200
commit9c0adf6a8f5b7f49ae233d2fce8a7ceaedc34cfb (patch)
treea7f73dc3672ecbd60bf8a9c07fdc359823603292 /src/control/Darkel.cpp
parentFONT_BANK renamed to FONT_STANDARD (diff)
downloadre3-9c0adf6a8f5b7f49ae233d2fce8a7ceaedc34cfb.tar
re3-9c0adf6a8f5b7f49ae233d2fce8a7ceaedc34cfb.tar.gz
re3-9c0adf6a8f5b7f49ae233d2fce8a7ceaedc34cfb.tar.bz2
re3-9c0adf6a8f5b7f49ae233d2fce8a7ceaedc34cfb.tar.lz
re3-9c0adf6a8f5b7f49ae233d2fce8a7ceaedc34cfb.tar.xz
re3-9c0adf6a8f5b7f49ae233d2fce8a7ceaedc34cfb.tar.zst
re3-9c0adf6a8f5b7f49ae233d2fce8a7ceaedc34cfb.zip
Diffstat (limited to 'src/control/Darkel.cpp')
-rw-r--r--src/control/Darkel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/control/Darkel.cpp b/src/control/Darkel.cpp
index 5e87aaec..cfd58340 100644
--- a/src/control/Darkel.cpp
+++ b/src/control/Darkel.cpp
@@ -74,7 +74,7 @@ CDarkel::DrawMessages()
CFont::SetScale(SCREEN_SCALE_X(1.3f), SCREEN_SCALE_Y(1.3f));
CFont::SetJustifyOff();
CFont::SetColor(CRGBA(255, 255, 128, CalcFade(timePassedSinceStart, 3000, 11000)));
- CFont::SetFontStyle(FONT_STANDARD);
+ CFont::SetFontStyle(FONT_BANK);
if (pStartMessage) {
CFont::PrintString(SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2, pStartMessage);
}
@@ -84,7 +84,7 @@ CDarkel::DrawMessages()
CFont::SetScale(SCREEN_SCALE_X(1.3f), SCREEN_SCALE_Y(1.3f));
CFont::SetJustifyOff();
CFont::SetColor(CRGBA(255, 255, 128, CalcFade(timePassedSinceStart, 0, 8000)));
- CFont::SetFontStyle(FONT_STANDARD);
+ CFont::SetFontStyle(FONT_BANK);
if (pStartMessage) {
CFont::PrintString(SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2, pStartMessage);
}
@@ -124,7 +124,7 @@ CDarkel::DrawMessages()
CFont::SetScale(SCREEN_SCALE_X(1.5f), SCREEN_SCALE_Y(1.5f));
CFont::SetJustifyOff();
CFont::SetColor(CRGBA(128, 255, 128, CalcFade(timePassedSinceStart, 0, 5000)));
- CFont::SetFontStyle(FONT_STANDARD);
+ CFont::SetFontStyle(FONT_BANK);
int y = SCREEN_HEIGHT / 2 + SCREEN_SCALE_Y(25.0f - timePassedSinceStart * 0.01f);
CFont::PrintString(SCREEN_WIDTH / 2, y, TheText.Get("KF_3"));
}