summaryrefslogtreecommitdiffstats
path: root/src/collision/ColStore.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-03 17:01:17 +0100
committerGitHub <noreply@github.com>2021-01-03 17:01:17 +0100
commit65796459343a01ddd17170104599ae340b90bb1d (patch)
treed16a5bc09e9cebd006085f30a27dfb3567927ee7 /src/collision/ColStore.cpp
parentMerge pull request #921 from TheOfficialFloW/patch-2 (diff)
parentPad2 fix (diff)
downloadre3-65796459343a01ddd17170104599ae340b90bb1d.tar
re3-65796459343a01ddd17170104599ae340b90bb1d.tar.gz
re3-65796459343a01ddd17170104599ae340b90bb1d.tar.bz2
re3-65796459343a01ddd17170104599ae340b90bb1d.tar.lz
re3-65796459343a01ddd17170104599ae340b90bb1d.tar.xz
re3-65796459343a01ddd17170104599ae340b90bb1d.tar.zst
re3-65796459343a01ddd17170104599ae340b90bb1d.zip
Diffstat (limited to 'src/collision/ColStore.cpp')
-rw-r--r--src/collision/ColStore.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/collision/ColStore.cpp b/src/collision/ColStore.cpp
index 192c373d..4317655a 100644
--- a/src/collision/ColStore.cpp
+++ b/src/collision/ColStore.cpp
@@ -11,8 +11,12 @@
#include "Frontend.h"
#include "Physical.h"
#include "ColStore.h"
+#include "VarConsole.h"
CPool<ColDef,ColDef> *CColStore::ms_pColPool;
+#ifndef MASTER
+bool bDispColInMem;
+#endif
void
CColStore::Initialise(void)
@@ -20,6 +24,9 @@ CColStore::Initialise(void)
if(ms_pColPool == nil)
ms_pColPool = new CPool<ColDef,ColDef>(COLSTORESIZE, "CollisionFiles");
AddColSlot("generic"); // slot 0. not streamed
+#ifndef MASTER
+ VarConsole.Add("Display collision in memory", &bDispColInMem, true);
+#endif
}
void