diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-04-15 22:27:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 22:27:23 +0200 |
commit | a43ca86542e904aa4f6a193ebda7d628c8015ab7 (patch) | |
tree | efe0da93c1ffbe69e1c9e5df2ab65b13f3a83a84 /src/core/re3.cpp | |
parent | Merge pull request #447 from erorcun/erorcun (diff) | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-a43ca86542e904aa4f6a193ebda7d628c8015ab7.tar re3-a43ca86542e904aa4f6a193ebda7d628c8015ab7.tar.gz re3-a43ca86542e904aa4f6a193ebda7d628c8015ab7.tar.bz2 re3-a43ca86542e904aa4f6a193ebda7d628c8015ab7.tar.lz re3-a43ca86542e904aa4f6a193ebda7d628c8015ab7.tar.xz re3-a43ca86542e904aa4f6a193ebda7d628c8015ab7.tar.zst re3-a43ca86542e904aa4f6a193ebda7d628c8015ab7.zip |
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r-- | src/core/re3.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp index 321ff172..5d76d642 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -22,6 +22,8 @@ #include "Console.h" #include "Debug.h" #include "Hud.h" +#include "SceneEdit.h" +#include "Pad.h" #include <list> @@ -332,6 +334,7 @@ DebugMenuPopulate(void) DebugMenuAddCmd("Spawn", "Spawn Predator", [](){ SpawnCar(MI_PREDATOR); }); DebugMenuAddVarBool8("Debug", "Draw hud", (int8*)&CHud::m_Wants_To_Draw_Hud, nil); + DebugMenuAddVarBool8("Debug", "Edit on", (int8*)&CSceneEdit::m_bEditOn, nil); DebugMenuAddVar("Debug", "Engine Status", &engineStatus, nil, 1, 0, 226, nil); DebugMenuAddCmd("Debug", "Set Engine Status", SetEngineStatus); DebugMenuAddCmd("Debug", "Fix Car", FixCar); |