re3/src/control/CarCtrl.h

29 lines
901 B
C
Raw Normal View History

2019-05-18 10:39:39 +00:00
#pragma once
class CVehicle;
class CCarCtrl
{
public:
static void SwitchVehicleToRealPhysics(CVehicle*);
2019-06-28 10:34:02 +00:00
static void AddToCarArray(int32 id, int32 vehclass);
2019-06-24 22:42:23 +00:00
static void UpdateCarCount(CVehicle*, bool);
2019-06-28 10:34:02 +00:00
static int32 ChooseCarModel(int32 vehclass);
static bool JoinCarWithRoadSystemGotoCoors(CVehicle*, CVector, bool);
static void JoinCarWithRoadSystem(CVehicle*);
static void SteerAICarWithPhysics(CVehicle*);
static void UpdateCarOnRails(CVehicle*);
2019-07-17 21:58:06 +00:00
static bool MapCouldMoveInThisArea(float x, float y);
2019-07-18 13:41:09 +00:00
static void ScanForPedDanger(CVehicle *veh);
2019-07-25 20:34:29 +00:00
static void RemoveFromInterestingVehicleList(CVehicle*);
static int32 &NumLawEnforcerCars;
static int32 &NumAmbulancesOnDuty;
static int32 &NumFiretrucksOnDuty;
2019-07-25 20:34:29 +00:00
static int32 &NumRandomCars;
static int32 &NumMissionCars;
static int32 &NumParkedCars;
2019-06-29 09:09:33 +00:00
static bool &bCarsGeneratedAroundCamera;
2019-07-03 22:16:24 +00:00
static float &CarDensityMultiplier;
2019-05-18 10:39:39 +00:00
};