diff options
author | aap <aap@papnet.eu> | 2020-05-10 10:04:27 +0200 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-05-10 10:04:27 +0200 |
commit | f0442960a22a7386f29c138f6afb1c08101789ee (patch) | |
tree | 979d9e240b2304a5a73193ed66e06c7b0a76c741 /src/render | |
parent | CWeaponModelInfo (diff) | |
parent | Merge branch 'master' into miami (diff) | |
download | re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.gz re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.bz2 re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.lz re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.xz re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.zst re3-f0442960a22a7386f29c138f6afb1c08101789ee.zip |
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/Particle.cpp | 2 | ||||
-rw-r--r-- | src/render/Shadows.cpp | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/render/Particle.cpp b/src/render/Particle.cpp index c855c860..5995432b 100644 --- a/src/render/Particle.cpp +++ b/src/render/Particle.cpp @@ -222,10 +222,12 @@ int32 Randomizer; int32 nParticleCreationInterval = 1; float fParticleScaleLimit = 0.5f; +#ifdef DEBUGMENU SETTWEAKPATH("Particle"); TWEAKINT32(nParticleCreationInterval, 0, 5, 1); TWEAKFLOAT(fParticleScaleLimit, 0.0f, 1.0f, 0.1f); TWEAKFUNC(CParticle::ReloadConfig); +#endif void CParticle::ReloadConfig() { diff --git a/src/render/Shadows.cpp b/src/render/Shadows.cpp index cc8c7034..cefc1d9f 100644 --- a/src/render/Shadows.cpp +++ b/src/render/Shadows.cpp @@ -20,8 +20,10 @@ #include "SpecialFX.h" #include "Shadows.h" +#ifdef DEBUGMENU SETTWEAKPATH("Shadows"); TWEAKBOOL(gbPrintShite); +#endif RwImVertexIndex ShadowIndexList[24]; |