summaryrefslogtreecommitdiffstats
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-19 13:58:19 +0200
committeraap <aap@papnet.eu>2019-07-19 13:58:19 +0200
commit0ad39c020cfd4882b45bd1d26e521748e37b94a4 (patch)
tree736fde80727300b695e649c18e67be340b384985 /src/core/re3.cpp
parentCAutomobile ctor, car spawner, fixes (diff)
downloadre3-0ad39c020cfd4882b45bd1d26e521748e37b94a4.tar
re3-0ad39c020cfd4882b45bd1d26e521748e37b94a4.tar.gz
re3-0ad39c020cfd4882b45bd1d26e521748e37b94a4.tar.bz2
re3-0ad39c020cfd4882b45bd1d26e521748e37b94a4.tar.lz
re3-0ad39c020cfd4882b45bd1d26e521748e37b94a4.tar.xz
re3-0ad39c020cfd4882b45bd1d26e521748e37b94a4.tar.zst
re3-0ad39c020cfd4882b45bd1d26e521748e37b94a4.zip
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r--src/core/re3.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index 2c44986f..67b9095e 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -58,8 +58,6 @@ mysrand(unsigned int seed)
myrand_seed = seed;
}
-int gDbgSurf;
-
void (*DebugMenuProcess)(void);
void (*DebugMenuRender)(void);
static void stub(void) { }
@@ -246,12 +244,13 @@ DebugMenuPopulate(void)
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);
DebugMenuAddVarBool8("Debug", "Show Collision Polys", (int8*)&gbShowCollisionPolys, nil);
DebugMenuAddVarBool8("Debug", "Don't render Buildings", (int8*)&gbDontRenderBuildings, nil);
DebugMenuAddVarBool8("Debug", "Don't render Big Buildings", (int8*)&gbDontRenderBigBuildings, nil);
DebugMenuAddVarBool8("Debug", "Don't render Peds", (int8*)&gbDontRenderPeds, nil);
+ DebugMenuAddVarBool8("Debug", "Don't render Vehicles", (int8*)&gbDontRenderVehicles, nil);
DebugMenuAddVarBool8("Debug", "Don't render Objects", (int8*)&gbDontRenderObjects, nil);
- DebugMenuAddVar("Debug", "Dbg Surface", &gDbgSurf, nil, 1, 0, 34, nil);
DebugMenuAddCmd("Debug", "Start Credits", CCredits::Start);
DebugMenuAddCmd("Debug", "Stop Credits", CCredits::Stop);