diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-02-27 17:07:36 +0100 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-02-27 17:38:35 +0100 |
commit | 750d3229a38cfa449ebb51e4936ca9b33e581695 (patch) | |
tree | 84f3dc2642869bc046888c24683cc80712652ba7 /src/peds/Population.h | |
parent | script fixes (diff) | |
download | re3-750d3229a38cfa449ebb51e4936ca9b33e581695.tar re3-750d3229a38cfa449ebb51e4936ca9b33e581695.tar.gz re3-750d3229a38cfa449ebb51e4936ca9b33e581695.tar.bz2 re3-750d3229a38cfa449ebb51e4936ca9b33e581695.tar.lz re3-750d3229a38cfa449ebb51e4936ca9b33e581695.tar.xz re3-750d3229a38cfa449ebb51e4936ca9b33e581695.tar.zst re3-750d3229a38cfa449ebb51e4936ca9b33e581695.zip |
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*); }; |