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