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/render/Shadows.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 'src/render/Shadows.cpp')
-rw-r--r-- | src/render/Shadows.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp index e8be23bd..2b1df555 100644 --- a/src/render/Shadows.cpp +++ b/src/render/Shadows.cpp @@ -25,6 +25,7 @@ #include "CutsceneObject.h" #include "CutsceneShadow.h" #include "Clock.h" +#include "VarConsole.h" #ifdef DEBUGMENU SETTWEAKPATH("Shadows"); @@ -57,6 +58,9 @@ CStaticShadow CShadows::aStaticShadows [MAX_STATICSHADOWS]; CPolyBunch *CShadows::pEmptyBunchList; CPermanentShadow CShadows::aPermanentShadows[MAX_PERMAMENTSHADOWS]; +#ifndef MASTER +bool gbCountPolysInShadow; +#endif void CShadows::Init(void) @@ -154,6 +158,10 @@ CShadows::Init(void) { aPermanentShadows[i].m_nType = SHADOWTYPE_NONE; } + +#ifndef MASTER + VarConsole.Add("Count polys in shadow", &gbCountPolysInShadow, true); +#endif } void |