summaryrefslogtreecommitdiffstats
path: root/src/control/CarCtrl.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-07 17:53:38 +0200
committeraap <aap@papnet.eu>2020-05-07 17:53:38 +0200
commit19b21cafcd0e457155c71f339dbccb94aff72d83 (patch)
tree3c61e0b3839ff14b9eaf8d30f88bcb4f4b265e65 /src/control/CarCtrl.h
parentMerge branch 'miami' of github.com:GTAmodding/re3 into miami (diff)
downloadre3-19b21cafcd0e457155c71f339dbccb94aff72d83.tar
re3-19b21cafcd0e457155c71f339dbccb94aff72d83.tar.gz
re3-19b21cafcd0e457155c71f339dbccb94aff72d83.tar.bz2
re3-19b21cafcd0e457155c71f339dbccb94aff72d83.tar.lz
re3-19b21cafcd0e457155c71f339dbccb94aff72d83.tar.xz
re3-19b21cafcd0e457155c71f339dbccb94aff72d83.tar.zst
re3-19b21cafcd0e457155c71f339dbccb94aff72d83.zip
Diffstat (limited to 'src/control/CarCtrl.h')
-rw-r--r--src/control/CarCtrl.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/control/CarCtrl.h b/src/control/CarCtrl.h
index 89de0418..8f5b6ef8 100644
--- a/src/control/CarCtrl.h
+++ b/src/control/CarCtrl.h
@@ -12,7 +12,7 @@ class CZoneInfo;
enum{
MAX_CARS_TO_KEEP = 2,
- MAX_CAR_MODELS_IN_ARRAY = 256,
+ MAX_CAR_MODELS_IN_ARRAY = 25,
};
#define LANE_WIDTH 5.0f
@@ -34,9 +34,11 @@ public:
TAXI,
MOPED,
MOTORBIKE,
+
LEISUREBOAT,
WORKERBOAT,
- TOTAL_CUSTOM_CLASSES,
+
+ COPS,
MAFIA,
TRIAD,
DIABLO,
@@ -46,7 +48,11 @@ public:
NINES,
GANG8,
GANG9,
- COPS
+ COPSBOAT,
+
+ NUM_CAR_CLASSES = MOTORBIKE+1,
+ NUM_BOAT_CLASSES = 2,
+ TOTAL_CUSTOM_CLASSES = NUM_CAR_CLASSES + NUM_BOAT_CLASSES
};
static void SwitchVehicleToRealPhysics(CVehicle*);