summaryrefslogtreecommitdiffstats
path: root/src/core/re3.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2021-01-10 19:45:58 +0100
committeraap <aap@papnet.eu>2021-01-10 19:45:58 +0100
commit93ea98520bb652095c9f09ed5032842963e2a86c (patch)
tree28f7839aa1b94bcddc8f7c5eeb76f01b50cdadd0 /src/core/re3.cpp
parentFix linux build (diff)
downloadre3-93ea98520bb652095c9f09ed5032842963e2a86c.tar
re3-93ea98520bb652095c9f09ed5032842963e2a86c.tar.gz
re3-93ea98520bb652095c9f09ed5032842963e2a86c.tar.bz2
re3-93ea98520bb652095c9f09ed5032842963e2a86c.tar.lz
re3-93ea98520bb652095c9f09ed5032842963e2a86c.tar.xz
re3-93ea98520bb652095c9f09ed5032842963e2a86c.tar.zst
re3-93ea98520bb652095c9f09ed5032842963e2a86c.zip
Diffstat (limited to '')
-rw-r--r--src/core/re3.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/re3.cpp b/src/core/re3.cpp
index 53a4396d..58d8cc6b 100644
--- a/src/core/re3.cpp
+++ b/src/core/re3.cpp
@@ -600,6 +600,7 @@ DebugMenuPopulate(void)
DebugMenuAddCmd("Spawn", "Spawn Freeway", [](){ SpawnCar(MI_FREEWAY); });
DebugMenuAddVarBool8("Render", "Draw hud", &CHud::m_Wants_To_Draw_Hud, nil);
+ DebugMenuAddVar("Render", "Brightness", &FrontEndMenuManager.m_PrefsBrightness, nil, 16, 0, 700, nil);
DebugMenuAddVarBool8("Render", "Backface Culling", &gBackfaceCulling, nil);
DebugMenuAddVarBool8("Render", "PS2 Alpha test Emu", &gPS2alphaTest, nil);
DebugMenuAddVarBool8("Render", "Frame limiter", &FrontEndMenuManager.m_PrefsFrameLimiter, nil);
@@ -630,8 +631,8 @@ extern bool gbRenderWorld2;
#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);
+ static const char *filternames[] = { "None", "PS2" };
+ e = DebugMenuAddVar("Render", "Colourfilter", &CPostFX::EffectSwitch, nil, 1, CPostFX::POSTFX_OFF, CPostFX::POSTFX_NORMAL, filternames);
DebugMenuEntrySetWrap(e, true);
DebugMenuAddVar("Render", "Intensity", &CPostFX::Intensity, nil, 0.05f, 0, 10.0f);
DebugMenuAddVarBool8("Render", "Blur", &CPostFX::BlurOn, nil);
@@ -642,6 +643,10 @@ extern bool gbRenderWorld2;
DebugMenuAddVarBool8("Render", "Occlusion debug", &bDispayOccDebugStuff, nil);
#endif
#ifdef EXTENDED_PIPELINES
+ static const char *worldpipenames[] = { "PS2", "Mobile" };
+ e = DebugMenuAddVar("Render", "World Rendering", &CustomPipes::WorldPipeSwitch, nil,
+ 1, CustomPipes::WORLDPIPE_PS2, CustomPipes::WORLDPIPE_MOBILE, worldpipenames);
+ DebugMenuEntrySetWrap(e, true);
static const char *vehpipenames[] = { "MatFX", "Neo" };
e = DebugMenuAddVar("Render", "Vehicle Pipeline", &CustomPipes::VehiclePipeSwitch, nil,
1, CustomPipes::VEHICLEPIPE_MATFX, CustomPipes::VEHICLEPIPE_NEO, vehpipenames);