summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-04-10 18:36:39 +0200
committeraap <aap@papnet.eu>2020-04-10 18:36:39 +0200
commitc5d61392ead394a3d6a1e2832c7d9f0ccf951ad3 (patch)
treedd8186d8f12e842649ba233274ad1916ed5b1343 /src/core
parentdisabling the code that freezes gang members (diff)
downloadre3-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 'src/core')
-rw-r--r--src/core/main.cpp7
-rw-r--r--src/core/re3.cpp3
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);