diff options
author | erorcun <erayorcunus@gmail.com> | 2020-02-29 15:40:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-29 15:40:39 +0100 |
commit | 625a43064a3daad0dd02878f2ce67654eb3a0da4 (patch) | |
tree | 84f3dc2642869bc046888c24683cc80712652ba7 /src/peds/Population.h | |
parent | script fixes (diff) | |
parent | CPopulation 3 and fixes (diff) | |
download | re3-625a43064a3daad0dd02878f2ce67654eb3a0da4.tar re3-625a43064a3daad0dd02878f2ce67654eb3a0da4.tar.gz re3-625a43064a3daad0dd02878f2ce67654eb3a0da4.tar.bz2 re3-625a43064a3daad0dd02878f2ce67654eb3a0da4.tar.lz re3-625a43064a3daad0dd02878f2ce67654eb3a0da4.tar.xz re3-625a43064a3daad0dd02878f2ce67654eb3a0da4.tar.zst re3-625a43064a3daad0dd02878f2ce67654eb3a0da4.zip |
Diffstat (limited to '')
-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*); }; |