summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Automobile.h
diff options
context:
space:
mode:
authoreray orçunus <erayorcunus@gmail.com>2020-06-08 23:56:01 +0200
committereray orçunus <erayorcunus@gmail.com>2020-06-09 00:29:55 +0200
commitdba2b052a64bc4f468e94fbf078eff7a0cb27ae4 (patch)
tree7cb2889a80594fb9a26184846475dbbdaf90306f /src/vehicles/Automobile.h
parentbla (diff)
downloadre3-dba2b052a64bc4f468e94fbf078eff7a0cb27ae4.tar
re3-dba2b052a64bc4f468e94fbf078eff7a0cb27ae4.tar.gz
re3-dba2b052a64bc4f468e94fbf078eff7a0cb27ae4.tar.bz2
re3-dba2b052a64bc4f468e94fbf078eff7a0cb27ae4.tar.lz
re3-dba2b052a64bc4f468e94fbf078eff7a0cb27ae4.tar.xz
re3-dba2b052a64bc4f468e94fbf078eff7a0cb27ae4.tar.zst
re3-dba2b052a64bc4f468e94fbf078eff7a0cb27ae4.zip
Diffstat (limited to '')
-rw-r--r--src/vehicles/Automobile.h48
1 files changed, 1 insertions, 47 deletions
diff --git a/src/vehicles/Automobile.h b/src/vehicles/Automobile.h
index 186ed646..6c13c117 100644
--- a/src/vehicles/Automobile.h
+++ b/src/vehicles/Automobile.h
@@ -7,30 +7,6 @@
class CObject;
-enum eCarNodes
-{
- CAR_WHEEL_RF = 1,
- CAR_WHEEL_RM,
- CAR_WHEEL_RB,
- CAR_WHEEL_LF,
- CAR_WHEEL_LM,
- CAR_WHEEL_LB,
- CAR_BUMP_FRONT,
- CAR_BUMP_REAR,
- CAR_WING_RF,
- CAR_WING_RR,
- CAR_DOOR_RF,
- CAR_DOOR_RR,
- CAR_WING_LF,
- CAR_WING_LR,
- CAR_DOOR_LF,
- CAR_DOOR_LR,
- CAR_BONNET,
- CAR_BOOT,
- CAR_WINDSCREEN,
- NUM_CAR_NODES,
-};
-
// These are used for all the wheel arrays
// DON'T confuse with VEHWHEEL, which are vehicle components
enum {
@@ -40,13 +16,6 @@ enum {
CARWHEEL_REAR_RIGHT
};
-enum {
- CAR_DOOR_FLAG_UNKNOWN = 0x0,
- CAR_DOOR_FLAG_LF = 0x1,
- CAR_DOOR_FLAG_LR = 0x2,
- CAR_DOOR_FLAG_RF = 0x4,
- CAR_DOOR_FLAG_RR = 0x8
-};
class CAutomobile : public CVehicle
{
@@ -196,19 +165,4 @@ public:
static const uint32 nSaveStructSize;
static void SetAllTaxiLights(bool set);
-};
-
-inline uint8 GetCarDoorFlag(int32 carnode) {
- switch (carnode) {
- case CAR_DOOR_LF:
- return CAR_DOOR_FLAG_LF;
- case CAR_DOOR_LR:
- return CAR_DOOR_FLAG_LR;
- case CAR_DOOR_RF:
- return CAR_DOOR_FLAG_RF;
- case CAR_DOOR_RR:
- return CAR_DOOR_FLAG_RR;
- default:
- return CAR_DOOR_FLAG_UNKNOWN;
- }
-}
+}; \ No newline at end of file