summaryrefslogtreecommitdiffstats
path: root/src/render/Hud.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-06-29 11:56:50 +0200
committerSergeanur <s.anureev@yandex.ua>2020-06-29 11:56:50 +0200
commitb26eec5dafc7720d2c8e61db7dd6da29442cab94 (patch)
tree4dfc58239c4555d4d4e6d0b327b65b7dab6cae65 /src/render/Hud.cpp
parentrenamed 2dfx shadowRange to Size (diff)
parentUpdate MemoryCard.cpp (diff)
downloadre3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar.gz
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar.bz2
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar.lz
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar.xz
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.tar.zst
re3-b26eec5dafc7720d2c8e61db7dd6da29442cab94.zip
Diffstat (limited to '')
-rw-r--r--src/render/Hud.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp
index f3ea921b..d4cea597 100644
--- a/src/render/Hud.cpp
+++ b/src/render/Hud.cpp
@@ -591,7 +591,7 @@ void CHud::Draw()
CFont::SetPropOn();
CFont::SetBackgroundOff();
- if (FrontEndMenuManager.m_PrefsLanguage == LANGUAGE_SPANISH)
+ if (FrontEndMenuManager.m_PrefsLanguage == CMenuManager::LANGUAGE_SPANISH)
CFont::SetScale(SCREEN_SCALE_X(1.7f * 0.8f), SCREEN_SCALE_Y(1.8f));
else
CFont::SetScale(SCREEN_SCALE_X(1.7f), SCREEN_SCALE_Y(1.8f));
@@ -690,7 +690,7 @@ void CHud::Draw()
CFont::SetPropOn();
CFont::SetBackgroundOff();
- if (FrontEndMenuManager.m_PrefsLanguage != LANGUAGE_ITALIAN && FrontEndMenuManager.m_PrefsLanguage != LANGUAGE_SPANISH)
+ if (FrontEndMenuManager.m_PrefsLanguage != CMenuManager::LANGUAGE_ITALIAN && FrontEndMenuManager.m_PrefsLanguage != CMenuManager::LANGUAGE_SPANISH)
CFont::SetScale(SCREEN_SCALE_X(1.7f), SCREEN_SCALE_Y(1.8f));
else
CFont::SetScale(SCREEN_SCALE_X(1.7f * 0.85f), SCREEN_SCALE_Y(1.8f));
@@ -1406,7 +1406,7 @@ void CHud::DrawAfterFade()
CFont::SetJustifyOff();
CFont::SetBackgroundOff();
- if (CGame::frenchGame || FrontEndMenuManager.m_PrefsLanguage == LANGUAGE_SPANISH)
+ if (CGame::frenchGame || FrontEndMenuManager.m_PrefsLanguage == CMenuManager::LANGUAGE_SPANISH)
CFont::SetScale(SCREEN_SCALE_X(0.884f), SCREEN_SCALE_Y(1.36f));
else
CFont::SetScale(SCREEN_SCALE_X(1.04f), SCREEN_SCALE_Y(1.6f));