diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-12 15:37:04 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2020-11-12 15:37:04 +0100 |
commit | 4f8029ad7c76d53f08d9f922d59db32ee27be3f2 (patch) | |
tree | d5a34f1f072e70671b33ebbff9b9d875053c6380 /src/core/re3.cpp | |
parent | Peds: Remove redundant lines (diff) | |
parent | fixed zone bug (diff) | |
download | re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar.gz re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar.bz2 re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar.lz re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar.xz re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.tar.zst re3-4f8029ad7c76d53f08d9f922d59db32ee27be3f2.zip |
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r-- | src/core/re3.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp index 318b1d47..ebfa8de5 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -422,6 +422,30 @@ DebugMenuPopulate(void) DebugMenuAddVarBool8("Render", "Frame limiter", &FrontEndMenuManager.m_PrefsFrameLimiter, nil); DebugMenuAddVarBool8("Render", "VSynch", &FrontEndMenuManager.m_PrefsVsync, nil); DebugMenuAddVar("Render", "Max FPS", &RsGlobal.maxFPS, nil, 1, 1, 1000, nil); +#ifdef NEW_RENDERER + DebugMenuAddVarBool8("Render", "new renderer", &gbNewRenderer, nil); +extern bool gbRenderRoads; +extern bool gbRenderEverythingBarRoads; +extern bool gbRenderFadingInUnderwaterEntities; +extern bool gbRenderFadingInEntities; +extern bool gbRenderWater; +extern bool gbRenderBoats; +extern bool gbRenderVehicles; +extern bool gbRenderWorld0; +extern bool gbRenderWorld1; +extern bool gbRenderWorld2; + DebugMenuAddVarBool8("Render", "gbRenderRoads", &gbRenderRoads, nil); + DebugMenuAddVarBool8("Render", "gbRenderEverythingBarRoads", &gbRenderEverythingBarRoads, nil); + DebugMenuAddVarBool8("Render", "gbRenderFadingInUnderwaterEntities", &gbRenderFadingInUnderwaterEntities, nil); + DebugMenuAddVarBool8("Render", "gbRenderFadingInEntities", &gbRenderFadingInEntities, nil); + DebugMenuAddVarBool8("Render", "gbRenderWater", &gbRenderWater, nil); + DebugMenuAddVarBool8("Render", "gbRenderBoats", &gbRenderBoats, nil); + DebugMenuAddVarBool8("Render", "gbRenderVehicles", &gbRenderVehicles, nil); + DebugMenuAddVarBool8("Render", "gbRenderWorld0", &gbRenderWorld0, nil); + DebugMenuAddVarBool8("Render", "gbRenderWorld1", &gbRenderWorld1, nil); + DebugMenuAddVarBool8("Render", "gbRenderWorld2", &gbRenderWorld2, nil); +#endif + #ifdef EXTENDED_COLOURFILTER static const char *filternames[] = { "None", "Simple", "Normal", "Mobile" }; e = DebugMenuAddVar("Render", "Colourfilter", &CPostFX::EffectSwitch, nil, 1, CPostFX::POSTFX_OFF, CPostFX::POSTFX_MOBILE, filternames); |