diff options
author | erorcun <erayorcunus@gmail.com> | 2019-10-26 00:22:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-26 00:22:01 +0200 |
commit | e7cb489b2234df6da46317c8e5d092032ed6bdf6 (patch) | |
tree | 70b8ac32250c04bb3c01b6678871cea24b55446f /src/core | |
parent | Fixing array sizes in CMessages (diff) | |
parent | Fixes&Peds (diff) | |
download | re3-e7cb489b2234df6da46317c8e5d092032ed6bdf6.tar re3-e7cb489b2234df6da46317c8e5d092032ed6bdf6.tar.gz re3-e7cb489b2234df6da46317c8e5d092032ed6bdf6.tar.bz2 re3-e7cb489b2234df6da46317c8e5d092032ed6bdf6.tar.lz re3-e7cb489b2234df6da46317c8e5d092032ed6bdf6.tar.xz re3-e7cb489b2234df6da46317c8e5d092032ed6bdf6.tar.zst re3-e7cb489b2234df6da46317c8e5d092032ed6bdf6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/Game.cpp | 3 | ||||
-rw-r--r-- | src/core/re3.cpp | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/core/Game.cpp b/src/core/Game.cpp index 00d50fa8..b2bac8dd 100644 --- a/src/core/Game.cpp +++ b/src/core/Game.cpp @@ -80,12 +80,15 @@ WRAPPER void CGame::Initialise(const char *datFile) { EAXJMP(0x48BED0); } #if 0 WRAPPER void CGame::Process(void) { EAXJMP(0x48C850); } #else +extern void (*DebugMenuProcess)(void); void CGame::Process(void) { CPad::UpdatePads(); TheCamera.SetMotionBlurAlpha(0); if (TheCamera.m_BlurType == MBLUR_NONE || TheCamera.m_BlurType == MBLUR_SNIPER || TheCamera.m_BlurType == MBLUR_NORMAL) TheCamera.SetMotionBlur(0, 0, 0, 0, MBLUR_NONE); + + DebugMenuProcess(); CCutsceneMgr::Update(); if (!CCutsceneMgr::IsCutsceneProcessing() && !CTimer::GetIsCodePaused()) FrontEndMenuManager.Process(); diff --git a/src/core/re3.cpp b/src/core/re3.cpp index c8b50d55..62e9a040 100644 --- a/src/core/re3.cpp +++ b/src/core/re3.cpp @@ -18,6 +18,7 @@ #include "Automobile.h" #include "Ped.h" #include "debugmenu_public.h" +#include "Particle.h" #include <vector> #include <list> @@ -352,6 +353,7 @@ DebugMenuPopulate(void) DebugMenuAddCmd("Debug", "Make peds follow you in formation", LetThemFollowYou); #ifndef MASTER DebugMenuAddVarBool8("Debug", "Toggle unused fight feature", (int8*)&CPed::bUnusedFightThingOnPlayer, nil); + DebugMenuAddVarBool8("Debug", "Toggle banned particles", (int8*)&CParticle::bEnableBannedParticles, nil); #endif DebugMenuAddCmd("Debug", "Start Credits", CCredits::Start); |