summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Vehicle.h
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2019-07-27 20:28:42 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2019-07-27 20:28:42 +0200
commitd62225968b6700417790df0fe71007591697423d (patch)
treea5b18032ff3084e213011923e433e5fc0c417a2d /src/vehicles/Vehicle.h
parentcargen + some script (diff)
parentfixed intro skip (diff)
downloadre3-d62225968b6700417790df0fe71007591697423d.tar
re3-d62225968b6700417790df0fe71007591697423d.tar.gz
re3-d62225968b6700417790df0fe71007591697423d.tar.bz2
re3-d62225968b6700417790df0fe71007591697423d.tar.lz
re3-d62225968b6700417790df0fe71007591697423d.tar.xz
re3-d62225968b6700417790df0fe71007591697423d.tar.zst
re3-d62225968b6700417790df0fe71007591697423d.zip
Diffstat (limited to 'src/vehicles/Vehicle.h')
-rw-r--r--src/vehicles/Vehicle.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/vehicles/Vehicle.h b/src/vehicles/Vehicle.h
index 1e5a7849..1e77a3c5 100644
--- a/src/vehicles/Vehicle.h
+++ b/src/vehicles/Vehicle.h
@@ -59,6 +59,11 @@ enum
CAR_POS_EXHAUST = 9,
};
+enum
+{
+ BOAT_POS_FRONTSEAT
+};
+
enum eDoors
{
DOOR_BONNET = 0,
@@ -186,7 +191,7 @@ public:
uint8 m_veh_flagC10 : 1;
uint8 m_veh_flagC20 : 1;
uint8 bCanBeDamaged : 1; // Set to FALSE during cut scenes to avoid explosions
- uint8 bUseSpecialColModel : 1;
+ uint8 bUsingSpecialColModel : 1;// Is player vehicle using special collision model, stored in player strucure
uint8 m_veh_flagD1 : 1;
uint8 m_veh_flagD2 : 1;
@@ -253,7 +258,7 @@ public:
virtual void BlowUpCar(CEntity *ent) {}
virtual bool SetUpWheelColModel(CColModel *colModel) { return false; }
virtual void BurstTyre(uint8 tyre) {}
- virtual bool IsRoomForPedToLeaveCar(uint32, CVector *) { return false;}
+ virtual bool IsRoomForPedToLeaveCar(uint32 component, CVector *forcedDoorPos) { return false;}
virtual float GetHeightAboveRoad(void);
virtual void PlayCarHorn(void) {}