Isle
Loading...
Searching...
No Matches
racecar.h
Go to the documentation of this file.
1#ifndef RACECAR_H
2#define RACECAR_H
3
4#include "decomp.h"
5#include "islepathactor.h"
6
7// VTABLE: LEGO1 0x100d6918
8// VTABLE: BETA10 0x101bf878
9// SIZE 0x164
10
24class RaceCar : public IslePathActor {
25public:
29 RaceCar();
30
34 ~RaceCar() override; // vtable+0x00
35
40 const char* ClassName() const override // vtable+0x0c
41 {
42 // STRING: LEGO1 0x100f03e0
43 return "RaceCar";
44 }
45
51 MxBool IsA(const char* p_name) const override // vtable+0x10
52 {
53 return !strcmp(p_name, RaceCar::ClassName()) || IslePathActor::IsA(p_name);
54 }
55
64 MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
65
74 MxLong HandleClick() override; // vtable+0xcc
75
76 // SYNTHETIC: LEGO1 0x10028400
77 // RaceCar::`scalar deleting destructor'
78
79private:
80 // TODO: RaceCar fields
84 undefined m_unk0x160[4];
85};
86
87#endif // RACECAR_H
Derived path actor type for handling player transitions and activities on LEGO Island.
Definition: islepathactor.h:23
MxBool IsA(const char *p_name) const override
[AI] Checks if class or any superclass matches the given type string.
[AI] Represents an action deserialized from SI chunks, holding key animation or script parameters suc...
Definition: mxdsaction.h:17
[AI] Represents the drivable race car entity in the LEGO Island world.
Definition: racecar.h:24
MxLong HandleClick() override
[AI] Handles click interaction with the RaceCar.
Definition: racecar.cpp:41
RaceCar()
[AI] Constructs a RaceCar and initializes its properties, such as velocity.
Definition: racecar.cpp:14
MxBool IsA(const char *p_name) const override
[AI] Checks if the object is of or derives from the class name provided.
Definition: racecar.h:51
MxResult Create(MxDSAction &p_dsAction) override
[AI] Initializes the RaceCar from an MxDSAction.
Definition: racecar.cpp:27
~RaceCar() override
[AI] Destructor which unregisters the RaceCar from the control manager and performs cleanup.
Definition: racecar.cpp:20
const char * ClassName() const override
[AI] Returns the class name, "RaceCar".
Definition: racecar.h:40
#define override
Definition: compat.h:21
unsigned char undefined
Definition: decomp.h:26
MxU8 MxBool
[AI]
Definition: mxtypes.h:124
MxLong MxResult
[AI]
Definition: mxtypes.h:106
int MxLong
[AI]
Definition: mxtypes.h:83