summaryrefslogtreecommitdiffstats
path: root/src/peds/Population.h
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-02-29 15:40:39 +0100
committerGitHub <noreply@github.com>2020-02-29 15:40:39 +0100
commit625a43064a3daad0dd02878f2ce67654eb3a0da4 (patch)
tree84f3dc2642869bc046888c24683cc80712652ba7 /src/peds/Population.h
parentscript fixes (diff)
parentCPopulation 3 and fixes (diff)
downloadre3-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.h8
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*);
};