blob: 52f3530c57ada8619475b1b210e8f7cd4783b92a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
#pragma once
#include "Vehicle.h"
class CBoat : public CVehicle
{
public:
// 0x288
float field_288;
float field_28C;
float field_290;
float field_294;
float field_298;
float field_29C;
float field_2A0;
float field_2A4;
float m_fMovingHiRotation;
int32 _unk0;
RwFrame *m_aBoatNodes[4];
uint8 m_nBoatFlags;
bool m_bIsAnchored;
char _pad0[2];
float field_2C4;
int32 _unk1;
float field_2CC;
CEntity *field_2D0;
bool _unk2;
char _pad1[3];
float m_fAccelerate;
float m_fBrake;
float m_fSteeringLeftRight;
uint8 m_nPadID;
char _pad2[3];
int32 _unk3;
float m_fTurnForceZ;
CVector m_vecMoveForce;
float field_2FC;
uint16 field_300;
uint16 m_nNumWakePoints;
CVector2D m_avec2dWakePoints[32];
float m_afWakePointLifeTime[32];
CBoat(int, uint8);
CBoat* ctor(int, uint8);
void dtor() { this->CBoat::~CBoat(); };
static CBoat *(&apFrameWakeGeneratingBoats)[4];
static bool IsSectorAffectedByWake(CVector2D sector, float fSize, CBoat **apBoats);
static float IsVertexAffectedByWake(CVector vecVertex, CBoat *pBoat);
static void FillBoatList(void);
};
static_assert(sizeof(CBoat) == 0x484, "CBoat: error");
extern float MAX_WAKE_LENGTH;
extern float MIN_WAKE_INTERVAL;
extern float WAKE_LIFETIME;
|