Isle
Loading...
Searching...
No Matches
bike.h
Go to the documentation of this file.
1#ifndef BIKE_H
2#define BIKE_H
3
4#include "decomp.h"
5#include "islepathactor.h"
6
7// VTABLE: LEGO1 0x100d9808
8// VTABLE: BETA10 0x101b91e8
9// SIZE 0x164
10
15class Bike : public IslePathActor {
16public:
20 Bike();
21
26 const char* ClassName() const override // vtable+0x0c
27 {
28 // STRING: LEGO1 0x100f03d0
29 return "Bike";
30 }
31
37 MxBool IsA(const char* p_name) const override // vtable+0x10
38 {
39 return !strcmp(p_name, Bike::ClassName()) || IslePathActor::IsA(p_name);
40 }
41
46 MxResult Create(MxDSAction& p_dsAction) override;
47
52 MxLong HandleClick() override;
53
60
64 void Exit() override;
65
70
71 // SYNTHETIC: LEGO1 0x10076880
72 // Bike::`scalar deleting destructor'
73
74private:
75 // TODO: Bike fields
81 undefined m_unk0x160[4];
82};
83
84#endif // BIKE_H
[AI] Represents the player's bicycle vehicle in LEGO Island, allowing for in-world interactions such ...
Definition: bike.h:15
Bike()
[AI] Default constructor.
Definition: bike.cpp:19
void ActivateSceneActions()
[AI] Triggers the bike's area-specific actions, such as playing background music and starting scripte...
Definition: bike.cpp:109
MxBool IsA(const char *p_name) const override
[AI] Checks for runtime type identification against the provided class name.
Definition: bike.h:37
void Exit() override
[AI] Cleans up and removes the bike actor from the world and updates the global game state to indicat...
Definition: bike.cpp:40
const char * ClassName() const override
[AI] Returns the class name for this object.
Definition: bike.h:26
MxLong HandleClick() override
[AI] Handles response when the bike actor is clicked (e.g.
Definition: bike.cpp:53
MxResult Create(MxDSAction &p_dsAction) override
[AI] Handles initialization and placement of the bike into the world.
Definition: bike.cpp:27
MxLong HandleControl(LegoControlManagerNotificationParam &p_param) override
[AI] Responds to control events from the LegoControlManager related to the Bike, such as horn,...
Definition: bike.cpp:80
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] Notification parameter for the LegoControlManager, used to propagate information about control e...
[AI] Represents an action deserialized from SI chunks, holding key animation or script parameters suc...
Definition: mxdsaction.h:17
#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