summaryrefslogtreecommitdiffstats
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-08-13 18:14:24 +0200
committeraap <aap@papnet.eu>2020-08-13 18:14:24 +0200
commitafed831aeda5415f1d99612d0f14541fdd34720f (patch)
treeeda5ea030af2ed1b76c2c1e645974fdb4c7b6246 /src/core/re3.cpp
parentfix render poly bug (diff)
downloadre3-afed831aeda5415f1d99612d0f14541fdd34720f.tar
re3-afed831aeda5415f1d99612d0f14541fdd34720f.tar.gz
re3-afed831aeda5415f1d99612d0f14541fdd34720f.tar.bz2
re3-afed831aeda5415f1d99612d0f14541fdd34720f.tar.lz
re3-afed831aeda5415f1d99612d0f14541fdd34720f.tar.xz
re3-afed831aeda5415f1d99612d0f14541fdd34720f.tar.zst
re3-afed831aeda5415f1d99612d0f14541fdd34720f.zip
Diffstat (limited to 'src/core/re3.cpp')
-rw-r--r--src/core/re3.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index f9be4b51..9edd9497 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -29,6 +29,8 @@
#include "Text.h"
#include "WaterLevel.h"
#include "main.h"
+#include "MBlur.h"
+#include "postfx.h"
#ifndef _WIN32
#include "assert.h"
@@ -461,6 +463,13 @@ 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", "Motion Blur", &CPostFX::MotionBlurOn, nil);
+#endif
DebugMenuAddVarBool8("Render", "Show Ped Paths", &gbShowPedPaths, nil);
DebugMenuAddVarBool8("Render", "Show Car Paths", &gbShowCarPaths, nil);
DebugMenuAddVarBool8("Render", "Show Car Path Links", &gbShowCarPathsLinks, nil);