summaryrefslogtreecommitdiffstats
path: root/src/vehicles/Boat.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-07-01 18:03:52 +0200
committeraap <aap@papnet.eu>2020-07-01 18:03:59 +0200
commit575f35f2c48354c6e5df5b936d35658f6e5bc873 (patch)
treef2c6cd046fd54978596ac86286fb6ab36e95123d /src/vehicles/Boat.h
parentcopypaste bug (diff)
downloadre3-575f35f2c48354c6e5df5b936d35658f6e5bc873.tar
re3-575f35f2c48354c6e5df5b936d35658f6e5bc873.tar.gz
re3-575f35f2c48354c6e5df5b936d35658f6e5bc873.tar.bz2
re3-575f35f2c48354c6e5df5b936d35658f6e5bc873.tar.lz
re3-575f35f2c48354c6e5df5b936d35658f6e5bc873.tar.xz
re3-575f35f2c48354c6e5df5b936d35658f6e5bc873.tar.zst
re3-575f35f2c48354c6e5df5b936d35658f6e5bc873.zip
Diffstat (limited to 'src/vehicles/Boat.h')
-rw-r--r--src/vehicles/Boat.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/vehicles/Boat.h b/src/vehicles/Boat.h
index 3cc3513d..56aff264 100644
--- a/src/vehicles/Boat.h
+++ b/src/vehicles/Boat.h
@@ -6,33 +6,34 @@ enum eBoatNodes
{
BOAT_MOVING = 1,
BOAT_RUDDER,
- BOAT_WINDSCREEN
+ BOAT_WINDSCREEN,
+ NUM_BOAT_NODES
};
class CBoat : public CVehicle
{
public:
// 0x288
- float m_fPropellerZ;
- float m_fPropellerY;
- CVector m_waterMoveDrag;
- CVector m_waterTurnDrag;
- float m_fMovingHiRotation;
- int32 _unk0;
- RwFrame *m_aBoatNodes[4];
+ float m_fThrustZ;
+ float m_fThrustY;
+ CVector m_vecMoveRes;
+ CVector m_vecTurnRes;
+ float m_fMovingRotation;
+ int32 m_boat_unused1;
+ RwFrame *m_aBoatNodes[NUM_BOAT_NODES];
uint8 bBoatInWater : 1;
uint8 bPropellerInWater : 1;
bool m_bIsAnchored;
float m_fOrientation;
- int32 _unk1;
+ int32 m_boat_unused2;
float m_fDamage;
CEntity *m_pSetOnFireEntity;
- bool _unk2;
+ bool m_boat_unused3;
float m_fAccelerate;
float m_fBrake;
float m_fSteeringLeftRight;
uint8 m_nPadID;
- int32 _unk3;
+ int32 m_boat_unused4;
float m_fVolumeUnderWater;
CVector m_vecBuoyancePoint;
float m_fPrevVolumeUnderWater;