summaryrefslogtreecommitdiffstats
path: root/src/control/CarAI.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-05 13:40:35 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-05 13:40:35 +0200
commitae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c (patch)
tree12152b094647544a8b6bac68fe7271f37996afd5 /src/control/CarAI.h
parentMerge pull request #508 from Nick007J/master (diff)
downloadre3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar
re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar.gz
re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar.bz2
re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar.lz
re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar.xz
re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.tar.zst
re3-ae0c83fa01b05dc2ee70acb2bd4d0e8a3945630c.zip
Diffstat (limited to 'src/control/CarAI.h')
-rw-r--r--src/control/CarAI.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/control/CarAI.h b/src/control/CarAI.h
index fbd46e95..9c3cb196 100644
--- a/src/control/CarAI.h
+++ b/src/control/CarAI.h
@@ -8,18 +8,34 @@ class CCarAI
{
public:
static float FindSwitchDistanceClose(CVehicle*);
+ static float FindSwitchDistanceFarNormalVehicle(CVehicle*);
static float FindSwitchDistanceFar(CVehicle*);
+#ifdef MIAMI
+ static void BackToCruisingIfNoWantedLevel(CVehicle*);
+#endif
static void UpdateCarAI(CVehicle*);
static void CarHasReasonToStop(CVehicle*);
static float GetCarToGoToCoors(CVehicle*, CVector*);
- static void AddPoliceOccupants(CVehicle*);
+#ifdef MIAMI
+ static float GetCarToParkAtCoors(CVehicle*, CVector*);
+#endif
+ static void AddPoliceCarOccupants(CVehicle*);
static void AddAmbulanceOccupants(CVehicle*);
static void AddFiretruckOccupants(CVehicle*);
static void TellOccupantsToLeaveCar(CVehicle*);
+#ifdef MIAMI
+ static void TellOccupantsToFleeCar(CVehicle*);
+#endif
static void TellCarToRamOtherCar(CVehicle*, CVehicle*);
static void TellCarToBlockOtherCar(CVehicle*, CVehicle*);
static eCarMission FindPoliceCarMissionForWantedLevel();
+#ifdef MIAMI
+ static eCarMission FindPoliceBoatMissionForWantedLevel();
+#endif
static int32 FindPoliceCarSpeedForWantedLevel(CVehicle*);
static void MellowOutChaseSpeed(CVehicle*);
+#ifdef MIAMI
+ static void MellowOutChaseSpeedBoat(CVehicle*);
+#endif
static void MakeWayForCarWithSiren(CVehicle *veh);
};