diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-02-18 00:56:13 +0100 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-02-19 19:14:17 +0100 |
commit | 090aef7de7672c2649570eeff5cc5b68a371e723 (patch) | |
tree | 5f03eb72c906e4251f7517a1b6a56b1fcaf1af21 /src/peds/Population.h | |
parent | Merge pull request #328 from erorcun/erorcun (diff) | |
download | re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar.gz re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar.bz2 re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar.lz re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar.xz re3-090aef7de7672c2649570eeff5cc5b68a371e723.tar.zst re3-090aef7de7672c2649570eeff5cc5b68a371e723.zip |
Diffstat (limited to '')
-rw-r--r-- | src/peds/Population.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/peds/Population.h b/src/peds/Population.h index c8f6f985..d39fb209 100644 --- a/src/peds/Population.h +++ b/src/peds/Population.h @@ -2,6 +2,7 @@ #include "Game.h" #include "PedType.h" +#include "CopPed.h" class CPed; class CVehicle; @@ -42,7 +43,7 @@ public: static uint32 &ms_nNumCop; static bool &bZoneChangeHasHappened; static uint32 &ms_nNumEmergency; - static uint32& m_CountDownToPedsAtStart; + static int8& m_CountDownToPedsAtStart; static uint32& ms_nNumGang1; static uint32& ms_nNumGang2; static uint32& ms_nTotalPeds; @@ -69,8 +70,14 @@ public: static bool IsPointInSafeZone(CVector *coors); static void RemovePed(CPed *ent); static int32 ChooseCivilianOccupation(int32); - static int32 ChoosePolicePedOccupation(); + static eCopType ChoosePolicePedOccupation(); static int32 ChooseGangOccupation(int); static void FindCollisionZoneForCoors(CVector*, int*, eLevelName*); static void FindClosestZoneForCoors(CVector*, int*, eLevelName, eLevelName); + static void GeneratePedsAtStartOfGame(); + static float PedCreationDistMultiplier(); + static CPed *AddPed(ePedType pedType, uint32 mi, CVector const &coors); + static void AddToPopulation(float, float, float, float); + static void ManagePopulation(void); + static void MoveCarsAndPedsOutOfAbandonedZones(void); }; |