summaryrefslogtreecommitdiffstats
path: root/src/peds/Population.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-10 11:25:30 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-10 11:25:30 +0200
commit2f7d2fa3ad697b6fa1896ac75f97c23f52ed843e (patch)
tree24ca53597b1ebf632b12fb315ef91e899807d47d /src/peds/Population.h
parentMerge pull request #528 from Nick007J/miami (diff)
downloadre3-2f7d2fa3ad697b6fa1896ac75f97c23f52ed843e.tar
re3-2f7d2fa3ad697b6fa1896ac75f97c23f52ed843e.tar.gz
re3-2f7d2fa3ad697b6fa1896ac75f97c23f52ed843e.tar.bz2
re3-2f7d2fa3ad697b6fa1896ac75f97c23f52ed843e.tar.lz
re3-2f7d2fa3ad697b6fa1896ac75f97c23f52ed843e.tar.xz
re3-2f7d2fa3ad697b6fa1896ac75f97c23f52ed843e.tar.zst
re3-2f7d2fa3ad697b6fa1896ac75f97c23f52ed843e.zip
Diffstat (limited to '')
-rw-r--r--src/peds/Population.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peds/Population.h b/src/peds/Population.h
index 181c5809..20d6e567 100644
--- a/src/peds/Population.h
+++ b/src/peds/Population.h
@@ -70,7 +70,7 @@ public:
static void LoadPedGroups();
static void UpdatePedCount(ePedType, bool);
static void DealWithZoneChange(eLevelName oldLevel, eLevelName newLevel, bool);
- static CPed *AddPedInCar(CVehicle *car);
+ static CPed *AddPedInCar(CVehicle *car, bool isPassenger);
static bool IsPointInSafeZone(CVector *coors);
static void RemovePed(CPed *ent);
static int32 ChooseCivilianOccupation(int32);
@@ -80,7 +80,7 @@ public:
static void FindClosestZoneForCoors(CVector*, int*, eLevelName, eLevelName);
static void GeneratePedsAtStartOfGame();
static float PedCreationDistMultiplier();
- static CPed *AddPed(ePedType pedType, uint32 mi, CVector const &coors);
+ static CPed *AddPed(ePedType pedType, uint32 mi, CVector const &coors, int32 modifier = 0);
static void AddToPopulation(float, float, float, float);
static void ManagePopulation(void);
static void MoveCarsAndPedsOutOfAbandonedZones(void);