summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-07-18 21:41:20 +0200
committeraap <aap@papnet.eu>2019-07-18 21:41:20 +0200
commit9a7ce75c0371b4c35523a6c8872bba782a1eeb0b (patch)
tree66d5ff34dfa270334517385e6858c5d2fc8521e5 /src/vehicles/Vehicle.h
parentCAutomobile::ProcessControl done (diff)
downloadre3-9a7ce75c0371b4c35523a6c8872bba782a1eeb0b.tar
re3-9a7ce75c0371b4c35523a6c8872bba782a1eeb0b.tar.gz
re3-9a7ce75c0371b4c35523a6c8872bba782a1eeb0b.tar.bz2
re3-9a7ce75c0371b4c35523a6c8872bba782a1eeb0b.tar.lz
re3-9a7ce75c0371b4c35523a6c8872bba782a1eeb0b.tar.xz
re3-9a7ce75c0371b4c35523a6c8872bba782a1eeb0b.tar.zst
re3-9a7ce75c0371b4c35523a6c8872bba782a1eeb0b.zip
Diffstat (limited to 'src/vehicles/Vehicle.h')
-rw-r--r--src/vehicles/Vehicle.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h
index 7513c0da..3074bfb6 100644
--- a/src/vehicles/Vehicle.h
+++ b/src/vehicles/Vehicle.h
@@ -98,10 +98,23 @@ enum eWheels
enum
{
- CAR_PIECE_WHEEL_LF = 13,
+ CAR_PIECE_BONNET = 1,
+ CAR_PIECE_BOOT,
+ CAR_PIECE_BUMP_FRONT,
+ CAR_PIECE_BUMP_REAR,
+ CAR_PIECE_DOOR_LF,
+ CAR_PIECE_DOOR_RF,
+ CAR_PIECE_DOOR_LR,
+ CAR_PIECE_DOOR_RR,
+ CAR_PIECE_WING_LF,
+ CAR_PIECE_WING_RF,
+ CAR_PIECE_WING_LR,
+ CAR_PIECE_WING_RR,
+ CAR_PIECE_WHEEL_LF,
CAR_PIECE_WHEEL_LR,
CAR_PIECE_WHEEL_RF,
CAR_PIECE_WHEEL_RR,
+ CAR_PIECE_WINDSCREEN,
};
enum tWheelState
@@ -166,7 +179,7 @@ public:
uint8 m_veh_flagB40 : 1;
uint8 m_veh_flagB80 : 1;
- uint8 m_veh_flagC1 : 1;
+ uint8 bTakeLessDamage : 1; // This vehicle is stronger (takes about 1/4 of damage)
uint8 bIsDamaged : 1; // This vehicle has been damaged and is displaying all its components
uint8 bHasBeenOwnedByPlayer : 1;// To work out whether stealing it is a crime
uint8 bFadeOut : 1; // Fade vehicle out