diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-06 13:25:13 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-10-06 13:25:13 +0200 |
commit | 26f769103163e6c3c96be6e8bf1d905d21db3dd2 (patch) | |
tree | 812d7924c63008b1f8fe81def0187575232ea3cf /src/control/CarAI.h | |
parent | CAutoPilot and CCurves (diff) | |
download | re3-26f769103163e6c3c96be6e8bf1d905d21db3dd2.tar re3-26f769103163e6c3c96be6e8bf1d905d21db3dd2.tar.gz re3-26f769103163e6c3c96be6e8bf1d905d21db3dd2.tar.bz2 re3-26f769103163e6c3c96be6e8bf1d905d21db3dd2.tar.lz re3-26f769103163e6c3c96be6e8bf1d905d21db3dd2.tar.xz re3-26f769103163e6c3c96be6e8bf1d905d21db3dd2.tar.zst re3-26f769103163e6c3c96be6e8bf1d905d21db3dd2.zip |
Diffstat (limited to 'src/control/CarAI.h')
-rw-r--r-- | src/control/CarAI.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/control/CarAI.h b/src/control/CarAI.h index 03bcd260..fbd46e95 100644 --- a/src/control/CarAI.h +++ b/src/control/CarAI.h @@ -7,13 +7,19 @@ class CVehicle; class CCarAI { public: + static float FindSwitchDistanceClose(CVehicle*); + static float FindSwitchDistanceFar(CVehicle*); static void UpdateCarAI(CVehicle*); - static void MakeWayForCarWithSiren(CVehicle *veh); - static int32 FindPoliceCarSpeedForWantedLevel(CVehicle*); - static eCarMission FindPoliceCarMissionForWantedLevel(); + static void CarHasReasonToStop(CVehicle*); + static float GetCarToGoToCoors(CVehicle*, CVector*); static void AddPoliceOccupants(CVehicle*); static void AddAmbulanceOccupants(CVehicle*); static void AddFiretruckOccupants(CVehicle*); - static void CarHasReasonToStop(CVehicle*); static void TellOccupantsToLeaveCar(CVehicle*); + static void TellCarToRamOtherCar(CVehicle*, CVehicle*); + static void TellCarToBlockOtherCar(CVehicle*, CVehicle*); + static eCarMission FindPoliceCarMissionForWantedLevel(); + static int32 FindPoliceCarSpeedForWantedLevel(CVehicle*); + static void MellowOutChaseSpeed(CVehicle*); + static void MakeWayForCarWithSiren(CVehicle *veh); }; |