2019-05-18 06:39:39 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
class CVehicle;
|
|
|
|
|
|
|
|
class CCarCtrl
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static void SwitchVehicleToRealPhysics(CVehicle*);
|
2019-06-28 06:34:02 -04:00
|
|
|
static void AddToCarArray(int32 id, int32 vehclass);
|
2019-06-24 18:42:23 -04:00
|
|
|
static void UpdateCarCount(CVehicle*, bool);
|
2019-06-28 06:34:02 -04:00
|
|
|
static int32 ChooseCarModel(int32 vehclass);
|
2019-07-14 07:49:27 -04:00
|
|
|
static bool JoinCarWithRoadSystemGotoCoors(CVehicle*, CVector, bool);
|
|
|
|
static void JoinCarWithRoadSystem(CVehicle*);
|
2019-07-17 07:19:20 -04:00
|
|
|
static void SteerAICarWithPhysics(CVehicle*);
|
|
|
|
static void UpdateCarOnRails(CVehicle*);
|
2019-06-24 10:57:54 -04:00
|
|
|
|
|
|
|
static int32 &NumLawEnforcerCars;
|
2019-06-30 06:59:55 -04:00
|
|
|
static int32 &NumAmbulancesOnDuty;
|
|
|
|
static int32 &NumFiretrucksOnDuty;
|
2019-06-29 05:09:33 -04:00
|
|
|
static bool &bCarsGeneratedAroundCamera;
|
2019-07-03 18:16:24 -04:00
|
|
|
static float &CarDensityMultiplier;
|
2019-05-18 06:39:39 -04:00
|
|
|
};
|