1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-11-10 18:19:15 +00:00
re3/src/control/Population.cpp

26 lines
932 B
C++
Raw Normal View History

2019-06-13 00:35:26 +00:00
#include "common.h"
2019-06-24 22:42:23 +00:00
#include "patcher.h"
2019-06-28 17:23:28 +00:00
#include "Game.h"
2019-09-12 00:43:18 +00:00
#include "World.h"
#include "Entity.h"
2019-06-13 00:35:26 +00:00
#include "Population.h"
2019-06-28 10:34:02 +00:00
PedGroup *CPopulation::ms_pPedGroups = (PedGroup*)0x6E9248;
2019-06-24 22:42:23 +00:00
bool &CPopulation::ms_bGivePedsWeapons = *(bool*)0x95CCF6;
2019-07-03 22:16:24 +00:00
int32 &CPopulation::m_AllRandomPedsThisType = *(int32*)0x5FA570;
float &CPopulation::PedDensityMultiplier = *(float*)0x5FA56C;
2019-07-14 09:49:03 +00:00
uint32 &CPopulation::ms_nTotalMissionPeds = *(uint32*)0x8F5F70;
2019-08-06 21:32:19 +00:00
int32 &CPopulation::MaxNumberOfPedsInUse = *(int32*)0x5FA574;
2019-06-24 22:42:23 +00:00
2019-06-28 10:34:02 +00:00
WRAPPER void CPopulation::UpdatePedCount(uint32, bool) { EAXJMP(0x4F5A60); }
2019-06-28 17:23:28 +00:00
WRAPPER void CPopulation::DealWithZoneChange(eLevelName oldLevel, eLevelName newLevel, bool) { EAXJMP(0x4F6200); }
2019-07-05 12:23:39 +00:00
WRAPPER CPed *CPopulation::AddPedInCar(CVehicle *vehicle) { EAXJMP(0x4F5800); }
WRAPPER bool CPopulation::IsPointInSafeZone(CVector *coors) { EAXJMP(0x4F60C0); }
2019-09-12 00:43:18 +00:00
void
CPopulation::RemovePed(CEntity* ent)
{
CWorld::Remove(ent);
delete ent;
}