summaryrefslogtreecommitdiffstats
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-08-13 16:29:07 +0200
committerGitHub <noreply@github.com>2020-08-13 16:29:07 +0200
commit18647717df2153bdce6805cf9270f8b33019dd0b (patch)
treef23a40ccb7bfb37a53b8814aca20bd5758f72627 /src/core/re3.cpp
parentMerge pull request #683 from majesticCoding/miami (diff)
parentsun reflection fix (diff)
downloadre3-18647717df2153bdce6805cf9270f8b33019dd0b.tar
re3-18647717df2153bdce6805cf9270f8b33019dd0b.tar.gz
re3-18647717df2153bdce6805cf9270f8b33019dd0b.tar.bz2
re3-18647717df2153bdce6805cf9270f8b33019dd0b.tar.lz
re3-18647717df2153bdce6805cf9270f8b33019dd0b.tar.xz
re3-18647717df2153bdce6805cf9270f8b33019dd0b.tar.zst
re3-18647717df2153bdce6805cf9270f8b33019dd0b.zip
Diffstat (limited to '')
-rw-r--r--src/core/re3.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index 9d10193d..34fbb428 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -33,6 +33,8 @@
#include "WaterLevel.h"
#include "main.h"
#include "Script.h"
+#include "MBlur.h"
+#include "postfx.h"
#ifndef _WIN32
#include "assert.h"
@@ -515,6 +517,15 @@ 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 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);
+ DebugMenuEntrySetWrap(e, true);
+ DebugMenuAddVar("Render", "Intensity", &CPostFX::Intensity, nil, 0.05f, 0, 10.0f);
+ DebugMenuAddVarBool8("Render", "Blur", &CPostFX::BlurOn, nil);
+ DebugMenuAddVarBool8("Render", "Motion Blur", &CPostFX::MotionBlurOn, nil);
+#endif
+ DebugMenuAddVar("Render", "Drunkness", &CMBlur::Drunkness, nil, 0.05f, 0, 1.0f);
DebugMenuAddVarBool8("Render", "Occlusion debug", &bDisplayOccDebugStuff, nil);
DebugMenuAddVarBool8("Render", "Show Ped Paths", &gbShowPedPaths, nil);
DebugMenuAddVarBool8("Render", "Show Car Paths", &gbShowCarPaths, nil);