summaryrefslogblamecommitdiffstats
path: root/src/control/Population.h
blob: e067562a98bc6643d31dfa387cab5e83cb439d2c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

            

               
                
 




                        


                 
                                              
                                         

                                              
                                            

                                                 
                                                                                       
                                                    
                                                      
  
#pragma once

class CPed;
class CVehicle;
enum eLevelName;

struct PedGroup
{
	int32 models[8];
};

class CPopulation
{
public:
	static PedGroup *ms_pPedGroups;	//[31]
	static bool &ms_bGivePedsWeapons;
	static int32 &m_AllRandomPedsThisType;
	static float &PedDensityMultiplier;
	static uint32 &ms_nTotalMissionPeds;

	static void UpdatePedCount(uint32, bool);
	static void DealWithZoneChange(eLevelName oldLevel, eLevelName newLevel, bool);
	static CPed *AddPedInCar(CVehicle *vehicle);
	static bool IsPointInSafeZone(CVector *coors);
};