summaryrefslogtreecommitdiffstats
path: root/src/render
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-04-20 18:41:49 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-04-20 18:41:49 +0200
commit35a7f89f734f2e6e09d05cd90a945982e035b14b (patch)
tree01fa4f7ed892166777f0d8f810ccdd48c2610588 /src/render
parentMerge remote-tracking branch 'upstream/master' (diff)
parentupdate librw (matfx) (diff)
downloadre3-35a7f89f734f2e6e09d05cd90a945982e035b14b.tar
re3-35a7f89f734f2e6e09d05cd90a945982e035b14b.tar.gz
re3-35a7f89f734f2e6e09d05cd90a945982e035b14b.tar.bz2
re3-35a7f89f734f2e6e09d05cd90a945982e035b14b.tar.lz
re3-35a7f89f734f2e6e09d05cd90a945982e035b14b.tar.xz
re3-35a7f89f734f2e6e09d05cd90a945982e035b14b.tar.zst
re3-35a7f89f734f2e6e09d05cd90a945982e035b14b.zip
Diffstat (limited to 'src/render')
-rw-r--r--src/render/Hud.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp
index fc399741..137b1afa 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -1240,10 +1240,17 @@ void CHud::DrawAfterFade()
CFont::SetColor(CRGBA(0, 0, 0, 255));
CFont::SetFontStyle(FONT_BANK);
+#ifdef BETA_SLIDING_TEXT
+ CFont::PrintString(SCREEN_WIDTH / 2 + SCREEN_SCALE_X(2.0f) - SCREEN_SCALE_X(OddJob2XOffset), SCREEN_HEIGHT / 2 - SCREEN_SCALE_Y(20.0f) + SCREEN_SCALE_Y(2.0f), m_BigMessage[5]);
+
+ CFont::SetColor(CRGBA(156, 91, 40, 255));
+ CFont::PrintString(SCREEN_WIDTH / 2 - SCREEN_SCALE_X(OddJob2XOffset), SCREEN_HEIGHT / 2 - SCREEN_SCALE_Y(20.0f), m_BigMessage[5]);
+#else
CFont::PrintString(SCREEN_WIDTH / 2 + SCREEN_SCALE_X(2.0f), SCREEN_HEIGHT / 2 - SCREEN_SCALE_Y(20.0f) + SCREEN_SCALE_Y(2.0f), m_BigMessage[5]);
CFont::SetColor(CRGBA(156, 91, 40, 255));
CFont::PrintString(SCREEN_WIDTH / 2, SCREEN_HEIGHT / 2 - SCREEN_SCALE_Y(20.0f), m_BigMessage[5]);
+#endif
}
}