diff options
author | erorcun <erayorcunus@gmail.com> | 2020-04-11 23:57:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-11 23:57:46 +0200 |
commit | 207aebc46c261df1e0b22df6d4e592ff348458ce (patch) | |
tree | da8c68bafb71b162406337baac07666f7a6cf90f /src/core/re3.cpp | |
parent | Merge pull request #404 from Sergeanur/rwlink (diff) | |
parent | CMenuManager done and CHud fixes (diff) | |
download | re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar.gz re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar.bz2 re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar.lz re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar.xz re3-207aebc46c261df1e0b22df6d4e592ff348458ce.tar.zst re3-207aebc46c261df1e0b22df6d4e592ff348458ce.zip |
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r-- | src/core/re3.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp index 40e44b15..00674b19 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -21,6 +21,7 @@ #include "Particle.h" #include "Console.h" #include "Debug.h" +#include "Hud.h" #include <list> @@ -342,6 +343,7 @@ DebugMenuPopulate(void) DebugMenuAddCmd("Spawn", "Spawn Rhino", [](){ SpawnCar(MI_RHINO); }); DebugMenuAddCmd("Spawn", "Spawn Firetruck", [](){ SpawnCar(MI_FIRETRUCK); }); + DebugMenuAddVarBool8("Debug", "Draw hud", (int8*)&CHud::m_Wants_To_Draw_Hud, nil); DebugMenuAddVar("Debug", "Engine Status", &engineStatus, nil, 1, 0, 226, nil); DebugMenuAddCmd("Debug", "Set Engine Status", SetEngineStatus); DebugMenuAddCmd("Debug", "Fix Car", FixCar); |