diff options
author | Fire_Head <Fire-Head@users.noreply.github.com> | 2019-06-12 11:58:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-12 11:58:11 +0200 |
commit | ea7d5d93b0d1a3d9689ed3f7290302c057ab226a (patch) | |
tree | a45953c15754c723d8feb3baded075dff633127f /src/render | |
parent | Merge pull request #3 from GTAmodding/master (diff) | |
parent | Merge pull request #9 from ShFil119/COnscreenTimer (diff) | |
download | re3-ea7d5d93b0d1a3d9689ed3f7290302c057ab226a.tar re3-ea7d5d93b0d1a3d9689ed3f7290302c057ab226a.tar.gz re3-ea7d5d93b0d1a3d9689ed3f7290302c057ab226a.tar.bz2 re3-ea7d5d93b0d1a3d9689ed3f7290302c057ab226a.tar.lz re3-ea7d5d93b0d1a3d9689ed3f7290302c057ab226a.tar.xz re3-ea7d5d93b0d1a3d9689ed3f7290302c057ab226a.tar.zst re3-ea7d5d93b0d1a3d9689ed3f7290302c057ab226a.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; }; |