diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-05 16:14:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-05 16:14:13 +0200 |
commit | dfe0642195bd17704aaac669908c8bb29fbcb531 (patch) | |
tree | 99f4d7dec983e7ad6f4071cc259c8c0de2eda2e2 /src/control/CarAI.h | |
parent | Merge pull request #510 from aap/master (diff) | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
download | re3-dfe0642195bd17704aaac669908c8bb29fbcb531.tar re3-dfe0642195bd17704aaac669908c8bb29fbcb531.tar.gz re3-dfe0642195bd17704aaac669908c8bb29fbcb531.tar.bz2 re3-dfe0642195bd17704aaac669908c8bb29fbcb531.tar.lz re3-dfe0642195bd17704aaac669908c8bb29fbcb531.tar.xz re3-dfe0642195bd17704aaac669908c8bb29fbcb531.tar.zst re3-dfe0642195bd17704aaac669908c8bb29fbcb531.zip |
Diffstat (limited to 'src/control/CarAI.h')
-rw-r--r-- | src/control/CarAI.h | 18 |
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); }; |