2019-06-12 20:35:26 -04:00
|
|
|
#pragma once
|
|
|
|
|
2019-07-31 11:54:18 -04:00
|
|
|
#include "Game.h"
|
|
|
|
|
2019-07-05 08:23:39 -04:00
|
|
|
class CPed;
|
|
|
|
class CVehicle;
|
2019-06-24 18:42:23 -04:00
|
|
|
|
2019-06-28 06:34:02 -04:00
|
|
|
struct PedGroup
|
|
|
|
{
|
|
|
|
int32 models[8];
|
|
|
|
};
|
|
|
|
|
2019-06-12 20:35:26 -04:00
|
|
|
class CPopulation
|
|
|
|
{
|
|
|
|
public:
|
2019-06-28 06:34:02 -04:00
|
|
|
static PedGroup *ms_pPedGroups; //[31]
|
2019-06-16 18:16:38 -04:00
|
|
|
static bool &ms_bGivePedsWeapons;
|
2019-07-03 18:16:24 -04:00
|
|
|
static int32 &m_AllRandomPedsThisType;
|
|
|
|
static float &PedDensityMultiplier;
|
2019-07-14 05:49:03 -04:00
|
|
|
static uint32 &ms_nTotalMissionPeds;
|
2019-08-06 17:32:19 -04:00
|
|
|
static int32 &MaxNumberOfPedsInUse;
|
2019-06-24 18:42:23 -04:00
|
|
|
|
|
|
|
static void UpdatePedCount(uint32, bool);
|
2019-06-28 13:23:28 -04:00
|
|
|
static void DealWithZoneChange(eLevelName oldLevel, eLevelName newLevel, bool);
|
2019-07-05 08:23:39 -04:00
|
|
|
static CPed *AddPedInCar(CVehicle *vehicle);
|
2019-07-17 07:19:20 -04:00
|
|
|
static bool IsPointInSafeZone(CVector *coors);
|
2019-09-11 20:43:18 -04:00
|
|
|
static void RemovePed(CEntity* ent);
|
2019-06-28 06:34:02 -04:00
|
|
|
};
|