diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-02 10:38:54 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-02 12:32:25 +0100 |
commit | 42e4a068bb1cd363c3ed308e10c2747a6035e2de (patch) | |
tree | 7e9ce483e3a9eab7d23ec4c4e6476f22ecfa761e /src/collision/ColStore.cpp | |
parent | Partial controller buttons support (diff) | |
download | re3-42e4a068bb1cd363c3ed308e10c2747a6035e2de.tar re3-42e4a068bb1cd363c3ed308e10c2747a6035e2de.tar.gz re3-42e4a068bb1cd363c3ed308e10c2747a6035e2de.tar.bz2 re3-42e4a068bb1cd363c3ed308e10c2747a6035e2de.tar.lz re3-42e4a068bb1cd363c3ed308e10c2747a6035e2de.tar.xz re3-42e4a068bb1cd363c3ed308e10c2747a6035e2de.tar.zst re3-42e4a068bb1cd363c3ed308e10c2747a6035e2de.zip |
Diffstat (limited to '')
-rw-r--r-- | src/collision/ColStore.cpp | 7 |
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 |