diff options
author | aap <aap@papnet.eu> | 2020-04-10 18:36:39 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-04-10 18:36:39 +0200 |
commit | c5d61392ead394a3d6a1e2832c7d9f0ccf951ad3 (patch) | |
tree | dd8186d8f12e842649ba233274ad1916ed5b1343 /src/core | |
parent | disabling the code that freezes gang members (diff) | |
download | re3-c5d61392ead394a3d6a1e2832c7d9f0ccf951ad3.tar re3-c5d61392ead394a3d6a1e2832c7d9f0ccf951ad3.tar.gz re3-c5d61392ead394a3d6a1e2832c7d9f0ccf951ad3.tar.bz2 re3-c5d61392ead394a3d6a1e2832c7d9f0ccf951ad3.tar.lz re3-c5d61392ead394a3d6a1e2832c7d9f0ccf951ad3.tar.xz re3-c5d61392ead394a3d6a1e2832c7d9f0ccf951ad3.tar.zst re3-c5d61392ead394a3d6a1e2832c7d9f0ccf951ad3.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/main.cpp | 7 | ||||
-rw-r--r-- | src/core/re3.cpp | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp index 93e4c71c..f09c2e0a 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -1,8 +1,7 @@ #include "common.h" #include "rpmatfx.h" -#include "rpskin.h" #include "rphanim.h" -#include "rtbmp.h" +#include "rpskin.h" #include "patcher.h" #include "main.h" #include "CdStream.h" @@ -54,6 +53,7 @@ #include "Frontend.h" #include "AnimViewer.h" #include "Script.h" +#include "PathFind.h" #include "Debug.h" #include "Console.h" #include "timebars.h" @@ -788,8 +788,11 @@ void RenderDebugShit(void) { CTheScripts::RenderTheScriptDebugLines(); +#ifndef FINAL if(gbShowCollisionLines) CRenderer::RenderCollisionLines(); + ThePaths.DisplayPathData(); +#endif } void diff --git a/src/core/re3.cpp b/src/core/re3.cpp index 6eae8685..11b1584a 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -350,6 +350,9 @@ DebugMenuPopulate(void) DebugMenuAddCmd("Debug", "Catalina Fly Away", CHeli::MakeCatalinaHeliFlyAway); DebugMenuAddVarBool8("Debug", "Script Heli On", (int8*)0x95CD43, nil); + DebugMenuAddVarBool8("Debug", "Show Ped Paths", (int8*)&gbShowPedPaths, nil); + DebugMenuAddVarBool8("Debug", "Show Car Paths", (int8*)&gbShowCarPaths, nil); + DebugMenuAddVarBool8("Debug", "Show Car Path Links", (int8*)&gbShowCarPathsLinks, nil); DebugMenuAddVarBool8("Debug", "Show Ped Road Groups", (int8*)&gbShowPedRoadGroups, nil); DebugMenuAddVarBool8("Debug", "Show Car Road Groups", (int8*)&gbShowCarRoadGroups, nil); DebugMenuAddVarBool8("Debug", "Show Collision Lines", (int8*)&gbShowCollisionLines, nil); |