diff options
author | Filip Gawin <filip.gawin@zoho.com> | 2019-06-07 22:31:03 +0200 |
---|---|---|
committer | Filip Gawin <filip.gawin@zoho.com> | 2019-06-12 01:23:49 +0200 |
commit | ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f (patch) | |
tree | 366f56253d34262c47a5ac002ea5ed4d05aa7783 /src/render | |
parent | Add GetTranslatedName to CZone (diff) | |
download | re3-ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f.tar re3-ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f.tar.gz re3-ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f.tar.bz2 re3-ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f.tar.lz re3-ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f.tar.xz re3-ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f.tar.zst re3-ecd70a5f17e0aa4f6b0052c01a2170f01b125c5f.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Hud.cpp | 2 | ||||
-rw-r--r-- | src/render/Hud.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/render/Hud.cpp b/src/render/Hud.cpp index f3211fd6..0de5f5b0 100644 --- a/src/render/Hud.cpp +++ b/src/render/Hud.cpp @@ -2,5 +2,7 @@ #include "patcher.h" #include "Hud.h" +bool &CHud::m_Wants_To_Draw_Hud = *(bool*)0x95CD89; + WRAPPER void CHud::Draw(void) { EAXJMP(0x5052A0); } WRAPPER void CHud::DrawAfterFade(void) { EAXJMP(0x509030); } diff --git a/src/render/Hud.h b/src/render/Hud.h index 72d3c6ad..242acea8 100644 --- a/src/render/Hud.h +++ b/src/render/Hud.h @@ -5,4 +5,6 @@ class CHud public: static void Draw(void); static void DrawAfterFade(void); + + static bool &m_Wants_To_Draw_Hud; }; |