mirror of
https://github.com/GTAmodding/re3.git
synced 2025-10-19 06:39:23 +00:00
CCarCtrl::GenerateOneRandomVehicle!
This commit is contained in:
parent
20d1381a0f
commit
4ae4bc94c6
16 changed files with 599 additions and 8 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue