diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-10-12 11:36:15 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-10-12 11:36:15 +0200 |
commit | 40020f4e1e7d34e5d357a54df42c3e7356da1082 (patch) | |
tree | 7058473f027d34299b58118b0b105ef9fda73222 /src/render/Hud.cpp | |
parent | Cutscene aspect ratio fix (diff) | |
download | re3-40020f4e1e7d34e5d357a54df42c3e7356da1082.tar re3-40020f4e1e7d34e5d357a54df42c3e7356da1082.tar.gz re3-40020f4e1e7d34e5d357a54df42c3e7356da1082.tar.bz2 re3-40020f4e1e7d34e5d357a54df42c3e7356da1082.tar.lz re3-40020f4e1e7d34e5d357a54df42c3e7356da1082.tar.xz re3-40020f4e1e7d34e5d357a54df42c3e7356da1082.tar.zst re3-40020f4e1e7d34e5d357a54df42c3e7356da1082.zip |
Diffstat (limited to 'src/render/Hud.cpp')
-rw-r--r-- | src/render/Hud.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp index 52e542f4..3ea756fa 100644 --- a/src/render/Hud.cpp +++ b/src/render/Hud.cpp @@ -854,11 +854,7 @@ void CHud::Draw() break; } -#ifndef HUD_ENHANCEMENTS if (!m_Message[0]) { -#else - if (!m_Message[0] && !m_BigMessage[2][0]) { // Hide vehicle name if wasted/busted text is displaying -#endif m_VehicleNameTimer += CTimer::GetTimeStepInMilliseconds(); CFont::SetJustifyOff(); CFont::SetPropOn(); @@ -1378,16 +1374,16 @@ void CHud::Draw() CFont::SetRightJustifyOn(); CFont::SetFontStyle(FONT_HEADING); - CFont::SetColor(CRGBA(0, 0, 0, BigMessageAlpha[2])); - CFont::PrintString(SCREEN_SCALE_FROM_RIGHT(20.0f - 4.0f), SCREEN_SCALE_FROM_BOTTOM(78.0f), m_BigMessage[2]); + CFont::SetDropShadowPosition(2); + CFont::SetDropColor(CRGBA(0, 0, 0, BigMessageAlpha[2])); CFont::SetColor(CRGBA(WASTEDBUSTED_COLOR.r, WASTEDBUSTED_COLOR.g, WASTEDBUSTED_COLOR.b, BigMessageAlpha[2])); - CFont::PrintString(SCREEN_SCALE_FROM_RIGHT(20.0f), SCREEN_SCALE_FROM_BOTTOM(82.0f), m_BigMessage[2]); + CFont::PrintString(SCREEN_SCALE_FROM_RIGHT(20.0f), SCREEN_SCALE_FROM_BOTTOM(90.0f), m_BigMessage[2]); } else { BigMessageInUse[2] = 1.0f; BigMessageAlpha[2] = 0.0f; - if (m_VehicleState != 0) + if (m_VehicleState != 0) // Hide vehicle name if wasted/busted text is displaying m_VehicleState = 0; if (m_ZoneState != 0) m_ZoneState = 0; |