diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-06 23:32:19 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2019-08-06 23:32:19 +0200 |
commit | 4ae4bc94c692d9fe5781d36a7be6ab72803f6162 (patch) | |
tree | bacd3caa49fb507ff6d4f3b15b89d4bb85348d5d /src/control/CarCtrl.h | |
parent | fixed COMMAND_ADD_BLIP_FOR_COORD_OLD (diff) | |
download | re3-4ae4bc94c692d9fe5781d36a7be6ab72803f6162.tar re3-4ae4bc94c692d9fe5781d36a7be6ab72803f6162.tar.gz re3-4ae4bc94c692d9fe5781d36a7be6ab72803f6162.tar.bz2 re3-4ae4bc94c692d9fe5781d36a7be6ab72803f6162.tar.lz re3-4ae4bc94c692d9fe5781d36a7be6ab72803f6162.tar.xz re3-4ae4bc94c692d9fe5781d36a7be6ab72803f6162.tar.zst re3-4ae4bc94c692d9fe5781d36a7be6ab72803f6162.zip |
Diffstat (limited to 'src/control/CarCtrl.h')
-rw-r--r-- | src/control/CarCtrl.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/control/CarCtrl.h b/src/control/CarCtrl.h index 2ad52d49..6b1fce8c 100644 --- a/src/control/CarCtrl.h +++ b/src/control/CarCtrl.h @@ -1,9 +1,30 @@ #pragma once class CVehicle; +class CZoneInfo; class CCarCtrl { + enum eCarClass { + POOR = 0, + RICH, + EXEC, + WORKER, + SPECIAL, + BIG, + TAXI, + CLASS7, + MAFIA, + TRIAD, + DIABLO, + YAKUZA, + YARDIE, + COLOMB, + NINES, + GANG8, + GANG9, + COPS + }; public: static void SwitchVehicleToRealPhysics(CVehicle*); static void AddToCarArray(int32 id, int32 vehclass); @@ -16,6 +37,11 @@ public: static bool MapCouldMoveInThisArea(float x, float y); static void ScanForPedDanger(CVehicle *veh); static void RemoveFromInterestingVehicleList(CVehicle*); + static void GenerateRandomCars(void); + static void GenerateOneRandomCar(void); + static void GenerateEmergencyServicesCar(void); + static int32 ChooseModel(CZoneInfo*, CVector*, int*); + static int32 ChoosePoliceCarModel(void); static int32 &NumLawEnforcerCars; static int32 &NumAmbulancesOnDuty; @@ -25,4 +51,7 @@ public: static int32 &NumParkedCars; static bool &bCarsGeneratedAroundCamera; static float &CarDensityMultiplier; + static int8 &CountDownToCarsAtStart; + static int32 &MaxNumberOfCarsInUse; + static uint32 &LastTimeLawEnforcerCreated; }; |