summaryrefslogblamecommitdiffstats
path: root/src/control/CarCtrl.h
blob: 1fe3c31e9b5348989f7111e6e66e1ecda83f01a9 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                          
                                                            
                                                    
                                                    

                                                                             

                                         

                                          
                                                
                                           
  
#pragma once

class CVehicle;

class CCarCtrl
{
public:
	static void SwitchVehicleToRealPhysics(CVehicle*);
	static void AddToCarArray(int32 id, int32 vehclass);
	static void UpdateCarCount(CVehicle*, bool);
	static int32 ChooseCarModel(int32 vehclass);
	static bool JoinCarWithRoadSystemGotoCoors(CVehicle*, CVector, bool);
	static void JoinCarWithRoadSystem(CVehicle*);

	static int32 &NumLawEnforcerCars;
	static int32 &NumAmbulancesOnDuty;
	static int32 &NumFiretrucksOnDuty;
	static bool &bCarsGeneratedAroundCamera;
	static float &CarDensityMultiplier;
};