1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-06-13 10:08:31 +00:00
re3/src/control/CarAI.h

42 lines
1.2 KiB
C
Raw Normal View History

#pragma once
2019-08-06 21:32:19 +00:00
#include "AutoPilot.h"
class CVehicle;
class CCarAI
{
public:
2019-10-06 11:25:13 +00:00
static float FindSwitchDistanceClose(CVehicle*);
2020-05-05 11:40:35 +00:00
static float FindSwitchDistanceFarNormalVehicle(CVehicle*);
2019-10-06 11:25:13 +00:00
static float FindSwitchDistanceFar(CVehicle*);
2020-05-05 11:40:35 +00:00
#ifdef MIAMI
static void BackToCruisingIfNoWantedLevel(CVehicle*);
#endif
static void UpdateCarAI(CVehicle*);
2019-10-06 11:25:13 +00:00
static void CarHasReasonToStop(CVehicle*);
static float GetCarToGoToCoors(CVehicle*, CVector*);
2020-05-05 11:40:35 +00:00
#ifdef MIAMI
static float GetCarToParkAtCoors(CVehicle*, CVector*);
#endif
static void AddPoliceCarOccupants(CVehicle*);
2019-09-14 23:28:07 +00:00
static void AddAmbulanceOccupants(CVehicle*);
static void AddFiretruckOccupants(CVehicle*);
2019-09-14 17:53:04 +00:00
static void TellOccupantsToLeaveCar(CVehicle*);
2020-05-05 11:40:35 +00:00
#ifdef MIAMI
static void TellOccupantsToFleeCar(CVehicle*);
#endif
2019-10-06 11:25:13 +00:00
static void TellCarToRamOtherCar(CVehicle*, CVehicle*);
static void TellCarToBlockOtherCar(CVehicle*, CVehicle*);
static eCarMission FindPoliceCarMissionForWantedLevel();
2020-05-05 11:40:35 +00:00
#ifdef MIAMI
static eCarMission FindPoliceBoatMissionForWantedLevel();
#endif
2019-10-06 11:25:13 +00:00
static int32 FindPoliceCarSpeedForWantedLevel(CVehicle*);
static void MellowOutChaseSpeed(CVehicle*);
2020-05-05 11:40:35 +00:00
#ifdef MIAMI
static void MellowOutChaseSpeedBoat(CVehicle*);
#endif
2019-10-06 11:25:13 +00:00
static void MakeWayForCarWithSiren(CVehicle *veh);
};