diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-02-27 19:07:36 +0300 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-02-27 19:38:35 +0300 |
commit | 750d3229a38cfa449ebb51e4936ca9b33e581695 (patch) | |
tree | 84f3dc2642869bc046888c24683cc80712652ba7 /src/peds/Population.h | |
parent | cbf396e6e94109ada4e2ec020cb50163ac05dc41 (diff) |
CPopulation 3 and fixes
Diffstat (limited to 'src/peds/Population.h')
-rw-r--r-- | src/peds/Population.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/peds/Population.h b/src/peds/Population.h index f22926a0..152fb7ae 100644 --- a/src/peds/Population.h +++ b/src/peds/Population.h @@ -67,7 +67,7 @@ public: static void LoadPedGroups(); static void UpdatePedCount(ePedType, bool); static void DealWithZoneChange(eLevelName oldLevel, eLevelName newLevel, bool); - static CPed *AddPedInCar(CVehicle *vehicle); + static CPed *AddPedInCar(CVehicle *car); static bool IsPointInSafeZone(CVector *coors); static void RemovePed(CPed *ent); static int32 ChooseCivilianOccupation(int32); @@ -81,5 +81,9 @@ public: static void AddToPopulation(float, float, float, float); static void ManagePopulation(void); static void MoveCarsAndPedsOutOfAbandonedZones(void); - static void ConvertToRealObject(CDummyObject* obj); + static void ConvertToRealObject(CDummyObject*); + static void ConvertToDummyObject(CObject*); + static void ConvertAllObjectsToDummyObjects(void); + static bool TestRoomForDummyObject(CObject*); + static bool TestSafeForRealObject(CDummyObject*); }; |