forked from isledecomp/racers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodeldistanceresource.h
More file actions
50 lines (41 loc) · 1.21 KB
/
Copy pathmodeldistanceresource.h
File metadata and controls
50 lines (41 loc) · 1.21 KB
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
#ifndef MODELDISTANCERESOURCE_H
#define MODELDISTANCERESOURCE_H
#include "compat.h"
#include "race/events/raceeventresource.h"
#include "types.h"
class GolModelEntity;
class RaceEventTable;
// VTABLE: LEGORACERS 0x004b1c20
// SIZE 0x34
class ModelDistanceResource : public RaceEventResource {
public:
// .evb field token scoped to the modelDistances section
enum {
e_hideWhenActive = 0x46,
};
// SIZE 0x24
struct InitParams {
LegoU32 m_eventId; // 0x00
LegoS32 m_stateEventIds[3]; // 0x04
RaceEventTable* m_eventTable; // 0x10
GolModelEntity* m_modelEntity; // 0x14
LegoBool32 m_noEnd; // 0x18
LegoBool32 m_triggerOnEnd; // 0x1c
LegoBool32 m_hideWhenActive; // 0x20
};
ModelDistanceResource();
~ModelDistanceResource() override;
void OnStartAt(GolVec3*) override;
void OnEnd() override;
LegoU32 GetKind() override; // vtable+0x18
void ClearFields();
void Initialize(InitParams* p_params);
void Destroy();
// SYNTHETIC: LEGORACERS 0x004613d0
// ModelDistanceResource::`vector deleting destructor'
private:
GolModelEntity* m_modelEntity; // 0x20
LegoFloat m_modelDistances[3]; // 0x24
LegoBool32 m_hideWhenActive; // 0x30
};
#endif // MODELDISTANCERESOURCE_H