summaryrefslogblamecommitdiffstats
path: root/src/control/Population.cpp
blob: 72de300d21813bb2c6ccc3fd2cb5ad9e2675a40c (plain) (tree)
1
2
3
4
5
6
7
8
9
                   
                    
                 

                       
                                                           
                                                          

                                                                
                                                               
 
                                                                            
                                                                                                                  
                                                                               
#include "common.h"
#include "patcher.h"
#include "Game.h"
#include "Population.h"

PedGroup *CPopulation::ms_pPedGroups = (PedGroup*)0x6E9248;
bool &CPopulation::ms_bGivePedsWeapons = *(bool*)0x95CCF6;
int32 &CPopulation::m_AllRandomPedsThisType = *(int32*)0x5FA570;
float &CPopulation::PedDensityMultiplier = *(float*)0x5FA56C;
uint32 &CPopulation::ms_nTotalMissionPeds = *(uint32*)0x8F5F70;

WRAPPER void CPopulation::UpdatePedCount(uint32, bool) { EAXJMP(0x4F5A60); }
WRAPPER void CPopulation::DealWithZoneChange(eLevelName oldLevel, eLevelName newLevel, bool) { EAXJMP(0x4F6200); }
WRAPPER CPed *CPopulation::AddPedInCar(CVehicle *vehicle) { EAXJMP(0x4F5800); }