summaryrefslogblamecommitdiffstats
path: root/src/control/CarCtrl.h
blob: 677dcf36568c3f691c213fb524f8f6fdf8b6c851 (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 void SteerAICarWithPhysics(CVehicle*);
	static void UpdateCarOnRails(CVehicle*);
	static bool MapCouldMoveInThisArea(float x, float y);
	static void ScanForPedDanger(CVehicle *veh);

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