Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Merge pull request #253 from erorcun/erorcun
Fixes&Peds
  • Loading branch information
erorcun committed Oct 25, 2019
2 parents ccf9c53 + 2d998b2 commit e7cb489b2234df6da46317c8e5d092032ed6bdf6
Showing with 368 additions and 8 deletions.
  1. +3 −0 src/core/Game.cpp
  2. +2 −0 src/core/re3.cpp
  3. +344 −3 src/peds/Ped.cpp
  4. +2 −1 src/peds/Ped.h
  5. +2 −1 src/render/Hud.cpp
  6. +12 −3 src/render/Particle.cpp
  7. +3 −0 src/render/Particle.h
@@ -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();
@@ -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);

0 comments on commit e7cb489

Please sign in to comment.