mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-14 19:15:03 -05:00
Add clang-tidy readability-redundant-inline-specifier (#1060)
* Add clang-tidy readability-redundant-inline-specifier * fix * Update CONTRIBUTING.md * format * fix
This commit is contained in:
parent
0873b782c5
commit
bee101b1f4
186 changed files with 872 additions and 886 deletions
|
@ -1,5 +1,6 @@
|
||||||
Checks: >
|
Checks: >
|
||||||
-*,
|
-*,
|
||||||
|
readability-redundant-inline-specifier,
|
||||||
modernize-use-override
|
modernize-use-override
|
||||||
WarningsAsErrors: '-*,modernize-use-override'
|
WarningsAsErrors: '-*,readability-redundant-inline-specifier,modernize-use-override'
|
||||||
HeaderFilterRegex: ".*"
|
HeaderFilterRegex: ".*"
|
||||||
|
|
|
@ -52,7 +52,7 @@ In general, we're not exhaustively strict about coding style, but there are some
|
||||||
|
|
||||||
### Formatting
|
### Formatting
|
||||||
|
|
||||||
We are currently using [clang-format](https://clang.llvm.org/docs/ClangFormat.html) and [clang-tidy](https://clang.llvm.org/extra/clang-tidy/) with configuration files that aim to replicate the code formatting employed by the original developers. There are [integrations](https://clang.llvm.org/docs/ClangFormat.html#vim-integration) available for most editors and IDEs. The required `clang-format` version is `17.x`.
|
We are currently using [clang-format](https://clang.llvm.org/docs/ClangFormat.html) and [clang-tidy](https://clang.llvm.org/extra/clang-tidy/) with configuration files that aim to replicate the code formatting employed by the original developers. There are [integrations](https://clang.llvm.org/docs/ClangFormat.html#vim-integration) available for most editors and IDEs. The required `clang` toolchain version is `18.x`.
|
||||||
|
|
||||||
### Naming conventions
|
### Naming conventions
|
||||||
|
|
||||||
|
|
|
@ -36,15 +36,15 @@ class IsleApp {
|
||||||
void Tick(BOOL sleepIfNotNextFrame);
|
void Tick(BOOL sleepIfNotNextFrame);
|
||||||
void SetupCursor(WPARAM wParam);
|
void SetupCursor(WPARAM wParam);
|
||||||
|
|
||||||
inline HWND GetWindowHandle() { return m_windowHandle; }
|
HWND GetWindowHandle() { return m_windowHandle; }
|
||||||
inline MxLong GetFrameDelta() { return m_frameDelta; }
|
MxLong GetFrameDelta() { return m_frameDelta; }
|
||||||
inline BOOL GetFullScreen() { return m_fullScreen; }
|
BOOL GetFullScreen() { return m_fullScreen; }
|
||||||
inline HCURSOR GetCursorCurrent() { return m_cursorCurrent; }
|
HCURSOR GetCursorCurrent() { return m_cursorCurrent; }
|
||||||
inline HCURSOR GetCursorBusy() { return m_cursorBusy; }
|
HCURSOR GetCursorBusy() { return m_cursorBusy; }
|
||||||
inline HCURSOR GetCursorNo() { return m_cursorNo; }
|
HCURSOR GetCursorNo() { return m_cursorNo; }
|
||||||
inline BOOL GetDrawCursor() { return m_drawCursor; }
|
BOOL GetDrawCursor() { return m_drawCursor; }
|
||||||
|
|
||||||
inline void SetWindowActive(BOOL p_windowActive) { m_windowActive = p_windowActive; }
|
void SetWindowActive(BOOL p_windowActive) { m_windowActive = p_windowActive; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
LPSTR m_hdPath; // 0x00
|
LPSTR m_hdPath; // 0x00
|
||||||
|
|
|
@ -14,14 +14,14 @@ class Act2Brick : public LegoPathActor {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1007a360
|
// FUNCTION: LEGO1 0x1007a360
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0438
|
// STRING: LEGO1 0x100f0438
|
||||||
return "Act2Brick";
|
return "Act2Brick";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1007a370
|
// FUNCTION: LEGO1 0x1007a370
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Act2Brick::ClassName()) || LegoEntity::IsA(p_name);
|
return !strcmp(p_name, Act2Brick::ClassName()) || LegoEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,14 +10,14 @@ class Act2PoliceStation : public LegoEntity {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000e200
|
// FUNCTION: LEGO1 0x1000e200
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f03fc
|
// STRING: LEGO1 0x100f03fc
|
||||||
return "Act2PoliceStation";
|
return "Act2PoliceStation";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000e210
|
// FUNCTION: LEGO1 0x1000e210
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Act2PoliceStation::ClassName()) || LegoEntity::IsA(p_name);
|
return !strcmp(p_name, Act2PoliceStation::ClassName()) || LegoEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,17 +8,17 @@
|
||||||
// SIZE 0x0c
|
// SIZE 0x0c
|
||||||
class Act3State : public LegoState {
|
class Act3State : public LegoState {
|
||||||
public:
|
public:
|
||||||
inline Act3State() { m_unk0x08 = 0; }
|
Act3State() { m_unk0x08 = 0; }
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000e300
|
// FUNCTION: LEGO1 0x1000e300
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f03f0
|
// STRING: LEGO1 0x100f03f0
|
||||||
return "Act3State";
|
return "Act3State";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000e310
|
// FUNCTION: LEGO1 0x1000e310
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Act3State::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, Act3State::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,7 @@ class Act3State : public LegoState {
|
||||||
// SYNTHETIC: LEGO1 0x1000e3c0
|
// SYNTHETIC: LEGO1 0x1000e3c0
|
||||||
// Act3State::`scalar deleting destructor'
|
// Act3State::`scalar deleting destructor'
|
||||||
|
|
||||||
inline undefined4 GetUnknown0x08() { return m_unk0x08; }
|
undefined4 GetUnknown0x08() { return m_unk0x08; }
|
||||||
|
|
||||||
// TODO: Most likely getters/setters are not used according to BETA.
|
// TODO: Most likely getters/setters are not used according to BETA.
|
||||||
|
|
||||||
|
@ -48,14 +48,14 @@ class Act3 : public LegoWorld {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10072510
|
// FUNCTION: LEGO1 0x10072510
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f013c
|
// STRING: LEGO1 0x100f013c
|
||||||
return "Act3";
|
return "Act3";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10072520
|
// FUNCTION: LEGO1 0x10072520
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Act3::ClassName()) || LegoWorld::IsA(p_name);
|
return !strcmp(p_name, Act3::ClassName()) || LegoWorld::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -68,8 +68,8 @@ class Act3 : public LegoWorld {
|
||||||
MxBool Escape() override; // vtable+0x64
|
MxBool Escape() override; // vtable+0x64
|
||||||
void Enable(MxBool p_enable) override; // vtable+0x68
|
void Enable(MxBool p_enable) override; // vtable+0x68
|
||||||
|
|
||||||
inline void SetUnknown420c(MxEntity* p_entity) { m_unk0x420c = p_entity; }
|
void SetUnknown420c(MxEntity* p_entity) { m_unk0x420c = p_entity; }
|
||||||
inline void SetUnknown4270(MxU32 p_unk0x4270) { m_unk0x4270 = p_unk0x4270; }
|
void SetUnknown4270(MxU32 p_unk0x4270) { m_unk0x4270 = p_unk0x4270; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x10072630
|
// SYNTHETIC: LEGO1 0x10072630
|
||||||
// Act3::`scalar deleting destructor'
|
// Act3::`scalar deleting destructor'
|
||||||
|
|
|
@ -11,7 +11,7 @@ class Act3Actor : public LegoAnimActor {
|
||||||
Act3Actor();
|
Act3Actor();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100431b0
|
// FUNCTION: LEGO1 0x100431b0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f03ac
|
// STRING: LEGO1 0x100f03ac
|
||||||
return "Act3Actor";
|
return "Act3Actor";
|
||||||
|
|
|
@ -11,7 +11,7 @@ class Act3Shark : public LegoAnimActor {
|
||||||
Act3Shark();
|
Act3Shark();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100430d0
|
// FUNCTION: LEGO1 0x100430d0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f03a0
|
// STRING: LEGO1 0x100f03a0
|
||||||
return "Act3Shark";
|
return "Act3Shark";
|
||||||
|
|
|
@ -13,21 +13,21 @@ class AmbulanceMissionState : public LegoState {
|
||||||
AmbulanceMissionState();
|
AmbulanceMissionState();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10037600
|
// FUNCTION: LEGO1 0x10037600
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f00e8
|
// STRING: LEGO1 0x100f00e8
|
||||||
return "AmbulanceMissionState";
|
return "AmbulanceMissionState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10037610
|
// FUNCTION: LEGO1 0x10037610
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, AmbulanceMissionState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, AmbulanceMissionState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
MxResult Serialize(LegoFile* p_file) override; // vtable+0x1c
|
MxResult Serialize(LegoFile* p_file) override; // vtable+0x1c
|
||||||
|
|
||||||
inline MxS16 GetHighScore(MxU8 p_actorId)
|
MxS16 GetHighScore(MxU8 p_actorId)
|
||||||
{
|
{
|
||||||
switch (p_actorId) {
|
switch (p_actorId) {
|
||||||
case LegoActor::c_pepper:
|
case LegoActor::c_pepper:
|
||||||
|
@ -46,7 +46,7 @@ class AmbulanceMissionState : public LegoState {
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: BETA10 0x100242d0
|
// FUNCTION: BETA10 0x100242d0
|
||||||
inline void UpdateScore(ScoreColor p_score, MxS16 p_actorId)
|
void UpdateScore(ScoreColor p_score, MxS16 p_actorId)
|
||||||
{
|
{
|
||||||
switch (p_actorId) {
|
switch (p_actorId) {
|
||||||
case LegoActor::c_pepper:
|
case LegoActor::c_pepper:
|
||||||
|
@ -110,14 +110,14 @@ class Ambulance : public IslePathActor {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10035fa0
|
// FUNCTION: LEGO1 0x10035fa0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f03c4
|
// STRING: LEGO1 0x100f03c4
|
||||||
return "Ambulance";
|
return "Ambulance";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10035fb0
|
// FUNCTION: LEGO1 0x10035fb0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Ambulance::ClassName()) || IslePathActor::IsA(p_name);
|
return !strcmp(p_name, Ambulance::ClassName()) || IslePathActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,14 +11,14 @@ class Bike : public IslePathActor {
|
||||||
Bike();
|
Bike();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100766f0
|
// FUNCTION: LEGO1 0x100766f0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f03d0
|
// STRING: LEGO1 0x100f03d0
|
||||||
return "Bike";
|
return "Bike";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10076700
|
// FUNCTION: LEGO1 0x10076700
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Bike::ClassName()) || IslePathActor::IsA(p_name);
|
return !strcmp(p_name, Bike::ClassName()) || IslePathActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,14 +15,14 @@ class BuildingEntity : public LegoEntity {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10014f20
|
// FUNCTION: LEGO1 0x10014f20
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f07e8
|
// STRING: LEGO1 0x100f07e8
|
||||||
return "BuildingEntity";
|
return "BuildingEntity";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10014f30
|
// FUNCTION: LEGO1 0x10014f30
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, BuildingEntity::ClassName()) || LegoEntity::IsA(p_name);
|
return !strcmp(p_name, BuildingEntity::ClassName()) || LegoEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,14 +9,14 @@ class LegoEventNotificationParam;
|
||||||
// SIZE 0x68
|
// SIZE 0x68
|
||||||
class RaceStandsEntity : public BuildingEntity {
|
class RaceStandsEntity : public BuildingEntity {
|
||||||
// FUNCTION: LEGO1 0x1000efa0
|
// FUNCTION: LEGO1 0x1000efa0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0300
|
// STRING: LEGO1 0x100f0300
|
||||||
return "RaceStandsEntity";
|
return "RaceStandsEntity";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000efb0
|
// FUNCTION: LEGO1 0x1000efb0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, RaceStandsEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
return !strcmp(p_name, RaceStandsEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -32,14 +32,14 @@ class RaceStandsEntity : public BuildingEntity {
|
||||||
class BeachHouseEntity : public BuildingEntity {
|
class BeachHouseEntity : public BuildingEntity {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x1000ee80
|
// FUNCTION: LEGO1 0x1000ee80
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0314
|
// STRING: LEGO1 0x100f0314
|
||||||
return "BeachHouseEntity";
|
return "BeachHouseEntity";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000ee90
|
// FUNCTION: LEGO1 0x1000ee90
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, BeachHouseEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
return !strcmp(p_name, BeachHouseEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -55,14 +55,14 @@ class BeachHouseEntity : public BuildingEntity {
|
||||||
class PoliceEntity : public BuildingEntity {
|
class PoliceEntity : public BuildingEntity {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x1000ed60
|
// FUNCTION: LEGO1 0x1000ed60
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0328
|
// STRING: LEGO1 0x100f0328
|
||||||
return "PoliceEntity";
|
return "PoliceEntity";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000ed70
|
// FUNCTION: LEGO1 0x1000ed70
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, PoliceEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
return !strcmp(p_name, PoliceEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -78,14 +78,14 @@ class PoliceEntity : public BuildingEntity {
|
||||||
class InfoCenterEntity : public BuildingEntity {
|
class InfoCenterEntity : public BuildingEntity {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x1000ea00
|
// FUNCTION: LEGO1 0x1000ea00
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f035c
|
// STRING: LEGO1 0x100f035c
|
||||||
return "InfoCenterEntity";
|
return "InfoCenterEntity";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000ea10
|
// FUNCTION: LEGO1 0x1000ea10
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, InfoCenterEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
return !strcmp(p_name, InfoCenterEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -101,14 +101,14 @@ class InfoCenterEntity : public BuildingEntity {
|
||||||
class HospitalEntity : public BuildingEntity {
|
class HospitalEntity : public BuildingEntity {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x1000ec40
|
// FUNCTION: LEGO1 0x1000ec40
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0338
|
// STRING: LEGO1 0x100f0338
|
||||||
return "HospitalEntity";
|
return "HospitalEntity";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000ec50
|
// FUNCTION: LEGO1 0x1000ec50
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, HospitalEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
return !strcmp(p_name, HospitalEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -123,14 +123,14 @@ class HospitalEntity : public BuildingEntity {
|
||||||
// SIZE 0x68
|
// SIZE 0x68
|
||||||
class CaveEntity : public BuildingEntity {
|
class CaveEntity : public BuildingEntity {
|
||||||
// FUNCTION: LEGO1 0x1000f1e0
|
// FUNCTION: LEGO1 0x1000f1e0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0300
|
// STRING: LEGO1 0x100f0300
|
||||||
return "RaceStandsEntity";
|
return "RaceStandsEntity";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000f1f0
|
// FUNCTION: LEGO1 0x1000f1f0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, CaveEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
return !strcmp(p_name, CaveEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -145,14 +145,14 @@ class CaveEntity : public BuildingEntity {
|
||||||
// SIZE 0x68
|
// SIZE 0x68
|
||||||
class JailEntity : public BuildingEntity {
|
class JailEntity : public BuildingEntity {
|
||||||
// FUNCTION: LEGO1 0x1000f0c0
|
// FUNCTION: LEGO1 0x1000f0c0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0300
|
// STRING: LEGO1 0x100f0300
|
||||||
return "RaceStandsEntity";
|
return "RaceStandsEntity";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000f0d0
|
// FUNCTION: LEGO1 0x1000f0d0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, JailEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
return !strcmp(p_name, JailEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -168,14 +168,14 @@ class JailEntity : public BuildingEntity {
|
||||||
class GasStationEntity : public BuildingEntity {
|
class GasStationEntity : public BuildingEntity {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x1000eb20
|
// FUNCTION: LEGO1 0x1000eb20
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0348
|
// STRING: LEGO1 0x100f0348
|
||||||
return "GasStationEntity";
|
return "GasStationEntity";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000eb30
|
// FUNCTION: LEGO1 0x1000eb30
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, GasStationEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
return !strcmp(p_name, GasStationEntity::ClassName()) || BuildingEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,14 +14,14 @@ class BumpBouy : public LegoAnimActor {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100274f0
|
// FUNCTION: LEGO1 0x100274f0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0394
|
// STRING: LEGO1 0x100f0394
|
||||||
return "BumpBouy";
|
return "BumpBouy";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10027510
|
// FUNCTION: LEGO1 0x10027510
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, BumpBouy::ClassName()) || LegoAnimActor::IsA(p_name);
|
return !strcmp(p_name, BumpBouy::ClassName()) || LegoAnimActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
class CarRaceState : public RaceState {
|
class CarRaceState : public RaceState {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x1000dd30
|
// FUNCTION: LEGO1 0x1000dd30
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f009c
|
// STRING: LEGO1 0x100f009c
|
||||||
return "CarRaceState";
|
return "CarRaceState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000dd40
|
// FUNCTION: LEGO1 0x1000dd40
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, CarRaceState::ClassName()) || RaceState::IsA(p_name);
|
return !strcmp(p_name, CarRaceState::ClassName()) || RaceState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -32,14 +32,14 @@ class CarRace : public LegoRace {
|
||||||
CarRace();
|
CarRace();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10016b20
|
// FUNCTION: LEGO1 0x10016b20
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0528
|
// STRING: LEGO1 0x100f0528
|
||||||
return "CarRace";
|
return "CarRace";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10016b30
|
// FUNCTION: LEGO1 0x10016b30
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, CarRace::ClassName()) || LegoRace::IsA(p_name);
|
return !strcmp(p_name, CarRace::ClassName()) || LegoRace::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,14 +10,14 @@ class Doors : public LegoPathActor {
|
||||||
Doors() : m_unk0x154(0), m_unk0x15c(0), m_unk0x160(0), m_unk0x1f4(0) {}
|
Doors() : m_unk0x154(0), m_unk0x15c(0), m_unk0x160(0), m_unk0x1f4(0) {}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000e430
|
// FUNCTION: LEGO1 0x1000e430
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f03e8
|
// STRING: LEGO1 0x100f03e8
|
||||||
return "Doors";
|
return "Doors";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000e440
|
// FUNCTION: LEGO1 0x1000e440
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Doors::ClassName()) || LegoPathActor::IsA(p_name);
|
return !strcmp(p_name, Doors::ClassName()) || LegoPathActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,14 +11,14 @@ class DuneBuggy : public IslePathActor {
|
||||||
DuneBuggy();
|
DuneBuggy();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10067c30
|
// FUNCTION: LEGO1 0x10067c30
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0410
|
// STRING: LEGO1 0x100f0410
|
||||||
return "DuneBuggy";
|
return "DuneBuggy";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10067c40
|
// FUNCTION: LEGO1 0x10067c40
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, DuneBuggy::ClassName()) || IslePathActor::IsA(p_name);
|
return !strcmp(p_name, DuneBuggy::ClassName()) || IslePathActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,14 +17,14 @@ class ElevatorBottom : public LegoWorld {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10017f20
|
// FUNCTION: LEGO1 0x10017f20
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f04ac
|
// STRING: LEGO1 0x100f04ac
|
||||||
return "ElevatorBottom";
|
return "ElevatorBottom";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10017f30
|
// FUNCTION: LEGO1 0x10017f30
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, ElevatorBottom::ClassName()) || LegoWorld::IsA(p_name);
|
return !strcmp(p_name, ElevatorBottom::ClassName()) || LegoWorld::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,14 +21,14 @@ class GasStationState : public LegoState {
|
||||||
GasStationState();
|
GasStationState();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100061d0
|
// FUNCTION: LEGO1 0x100061d0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0174
|
// STRING: LEGO1 0x100f0174
|
||||||
return "GasStationState";
|
return "GasStationState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100061e0
|
// FUNCTION: LEGO1 0x100061e0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, GasStationState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, GasStationState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -64,14 +64,14 @@ class GasStation : public LegoWorld {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10004780
|
// FUNCTION: LEGO1 0x10004780
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0168
|
// STRING: LEGO1 0x100f0168
|
||||||
return "GasStation";
|
return "GasStation";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10004790
|
// FUNCTION: LEGO1 0x10004790
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, GasStation::ClassName()) || LegoWorld::IsA(p_name);
|
return !strcmp(p_name, GasStation::ClassName()) || LegoWorld::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,14 +12,14 @@ class HelicopterState : public LegoState {
|
||||||
HelicopterState() : m_unk0x08(0) {}
|
HelicopterState() : m_unk0x08(0) {}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000e0d0
|
// FUNCTION: LEGO1 0x1000e0d0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0144
|
// STRING: LEGO1 0x100f0144
|
||||||
return "HelicopterState";
|
return "HelicopterState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000e0e0
|
// FUNCTION: LEGO1 0x1000e0e0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, HelicopterState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, HelicopterState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -34,8 +34,8 @@ class HelicopterState : public LegoState {
|
||||||
return TRUE;
|
return TRUE;
|
||||||
} // vtable+0x18
|
} // vtable+0x18
|
||||||
|
|
||||||
inline void SetUnknown8(MxU32 p_unk0x08) { m_unk0x08 = p_unk0x08; }
|
void SetUnknown8(MxU32 p_unk0x08) { m_unk0x08 = p_unk0x08; }
|
||||||
inline MxU32 GetUnkown8() { return m_unk0x08; }
|
MxU32 GetUnkown8() { return m_unk0x08; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1000e190
|
// SYNTHETIC: LEGO1 0x1000e190
|
||||||
// HelicopterState::`scalar deleting destructor'
|
// HelicopterState::`scalar deleting destructor'
|
||||||
|
@ -53,14 +53,14 @@ class Helicopter : public IslePathActor {
|
||||||
~Helicopter() override; // vtable+0x00
|
~Helicopter() override; // vtable+0x00
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10003070
|
// FUNCTION: LEGO1 0x10003070
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0130
|
// STRING: LEGO1 0x100f0130
|
||||||
return "Helicopter";
|
return "Helicopter";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10003080
|
// FUNCTION: LEGO1 0x10003080
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Helicopter::ClassName()) || IslePathActor::IsA(p_name);
|
return !strcmp(p_name, Helicopter::ClassName()) || IslePathActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,14 +17,14 @@ class HistoryBook : public LegoWorld {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10082390
|
// FUNCTION: LEGO1 0x10082390
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f04bc
|
// STRING: LEGO1 0x100f04bc
|
||||||
return "HistoryBook";
|
return "HistoryBook";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100823a0
|
// FUNCTION: LEGO1 0x100823a0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, HistoryBook::ClassName()) || LegoWorld::IsA(p_name);
|
return !strcmp(p_name, HistoryBook::ClassName()) || LegoWorld::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,14 +24,14 @@ class HospitalState : public LegoState {
|
||||||
~HospitalState() override {}
|
~HospitalState() override {}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10076400
|
// FUNCTION: LEGO1 0x10076400
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0480
|
// STRING: LEGO1 0x100f0480
|
||||||
return "HospitalState";
|
return "HospitalState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10076410
|
// FUNCTION: LEGO1 0x10076410
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, HospitalState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, HospitalState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -63,14 +63,14 @@ class Hospital : public LegoWorld {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100746b0
|
// FUNCTION: LEGO1 0x100746b0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0490
|
// STRING: LEGO1 0x100f0490
|
||||||
return "Hospital";
|
return "Hospital";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100746c0
|
// FUNCTION: LEGO1 0x100746c0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Hospital::ClassName()) || LegoWorld::IsA(p_name);
|
return !strcmp(p_name, Hospital::ClassName()) || LegoWorld::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,14 +20,14 @@ class InfocenterState : public LegoState {
|
||||||
~InfocenterState() override;
|
~InfocenterState() override;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10071840
|
// FUNCTION: LEGO1 0x10071840
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f04dc
|
// STRING: LEGO1 0x100f04dc
|
||||||
return "InfocenterState";
|
return "InfocenterState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10071850
|
// FUNCTION: LEGO1 0x10071850
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, InfocenterState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, InfocenterState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -35,18 +35,18 @@ class InfocenterState : public LegoState {
|
||||||
// FUNCTION: LEGO1 0x10071830
|
// FUNCTION: LEGO1 0x10071830
|
||||||
MxBool IsSerializable() override { return FALSE; } // vtable+0x14
|
MxBool IsSerializable() override { return FALSE; } // vtable+0x14
|
||||||
|
|
||||||
inline MxS16 GetMaxNameLength() { return sizeOfArray(m_letters); }
|
MxS16 GetMaxNameLength() { return sizeOfArray(m_letters); }
|
||||||
inline MxStillPresenter* GetNameLetter(MxS32 p_index) { return m_letters[p_index]; }
|
MxStillPresenter* GetNameLetter(MxS32 p_index) { return m_letters[p_index]; }
|
||||||
inline void SetNameLetter(MxS32 p_index, MxStillPresenter* p_letter) { m_letters[p_index] = p_letter; }
|
void SetNameLetter(MxS32 p_index, MxStillPresenter* p_letter) { m_letters[p_index] = p_letter; }
|
||||||
inline MxBool HasRegistered() { return m_letters[0] != NULL; }
|
MxBool HasRegistered() { return m_letters[0] != NULL; }
|
||||||
inline Playlist& GetExitDialogueAct1() { return m_exitDialogueAct1; }
|
Playlist& GetExitDialogueAct1() { return m_exitDialogueAct1; }
|
||||||
inline Playlist& GetExitDialogueAct23() { return m_exitDialogueAct23; }
|
Playlist& GetExitDialogueAct23() { return m_exitDialogueAct23; }
|
||||||
inline Playlist& GetReturnDialogue(LegoGameState::Act p_act) { return m_returnDialogue[p_act]; }
|
Playlist& GetReturnDialogue(LegoGameState::Act p_act) { return m_returnDialogue[p_act]; }
|
||||||
inline Playlist& GetLeaveDialogue(LegoGameState::Act p_act) { return m_leaveDialogue[p_act]; }
|
Playlist& GetLeaveDialogue(LegoGameState::Act p_act) { return m_leaveDialogue[p_act]; }
|
||||||
inline Playlist& GetBricksterDialogue() { return m_bricksterDialogue; }
|
Playlist& GetBricksterDialogue() { return m_bricksterDialogue; }
|
||||||
inline MxU32 GetUnknown0x74() { return m_unk0x74; }
|
MxU32 GetUnknown0x74() { return m_unk0x74; }
|
||||||
|
|
||||||
inline void SetUnknown0x74(MxU32 p_unk0x74) { m_unk0x74 = p_unk0x74; }
|
void SetUnknown0x74(MxU32 p_unk0x74) { m_unk0x74 = p_unk0x74; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x10071900
|
// SYNTHETIC: LEGO1 0x10071900
|
||||||
// InfocenterState::`scalar deleting destructor'
|
// InfocenterState::`scalar deleting destructor'
|
||||||
|
@ -102,14 +102,14 @@ class Infocenter : public LegoWorld {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006eb40
|
// FUNCTION: LEGO1 0x1006eb40
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f04ec
|
// STRING: LEGO1 0x100f04ec
|
||||||
return "Infocenter";
|
return "Infocenter";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006eb50
|
// FUNCTION: LEGO1 0x1006eb50
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Infocenter::ClassName()) || LegoWorld::IsA(p_name);
|
return !strcmp(p_name, Infocenter::ClassName()) || LegoWorld::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,14 +16,14 @@ class InfocenterDoor : public LegoWorld {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100377b0
|
// FUNCTION: LEGO1 0x100377b0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f049c
|
// STRING: LEGO1 0x100f049c
|
||||||
return "InfocenterDoor";
|
return "InfocenterDoor";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100377c0
|
// FUNCTION: LEGO1 0x100377c0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, InfocenterDoor::ClassName()) || LegoWorld::IsA(p_name);
|
return !strcmp(p_name, InfocenterDoor::ClassName()) || LegoWorld::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,8 +44,8 @@ class Act1State : public LegoState {
|
||||||
// FUNCTION: LEGO1 0x10033800
|
// FUNCTION: LEGO1 0x10033800
|
||||||
NamedPlane() {}
|
NamedPlane() {}
|
||||||
|
|
||||||
inline void SetName(const char* p_name) { m_name = p_name; }
|
void SetName(const char* p_name) { m_name = p_name; }
|
||||||
inline const MxString* GetName() const { return &m_name; }
|
const MxString* GetName() const { return &m_name; }
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100344d0
|
// FUNCTION: LEGO1 0x100344d0
|
||||||
MxResult Serialize(LegoFile* p_file)
|
MxResult Serialize(LegoFile* p_file)
|
||||||
|
@ -76,14 +76,14 @@ class Act1State : public LegoState {
|
||||||
Act1State();
|
Act1State();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100338a0
|
// FUNCTION: LEGO1 0x100338a0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0154
|
// STRING: LEGO1 0x100f0154
|
||||||
return "Act1State";
|
return "Act1State";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100338b0
|
// FUNCTION: LEGO1 0x100338b0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Act1State::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, Act1State::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -96,13 +96,13 @@ class Act1State : public LegoState {
|
||||||
void FUN_10034b60();
|
void FUN_10034b60();
|
||||||
void FUN_10034d00();
|
void FUN_10034d00();
|
||||||
|
|
||||||
inline MxU32 GetUnknown18() { return m_unk0x018; }
|
MxU32 GetUnknown18() { return m_unk0x018; }
|
||||||
inline ElevatorFloor GetElevatorFloor() { return (ElevatorFloor) m_elevFloor; }
|
ElevatorFloor GetElevatorFloor() { return (ElevatorFloor) m_elevFloor; }
|
||||||
inline MxU8 GetUnknown21() { return m_unk0x021; }
|
MxU8 GetUnknown21() { return m_unk0x021; }
|
||||||
|
|
||||||
inline void SetUnknown18(MxU32 p_unk0x18) { m_unk0x018 = p_unk0x18; }
|
void SetUnknown18(MxU32 p_unk0x18) { m_unk0x018 = p_unk0x18; }
|
||||||
inline void SetElevatorFloor(ElevatorFloor p_elevFloor) { m_elevFloor = p_elevFloor; }
|
void SetElevatorFloor(ElevatorFloor p_elevFloor) { m_elevFloor = p_elevFloor; }
|
||||||
inline void SetUnknown21(MxU8 p_unk0x21) { m_unk0x021 = p_unk0x21; }
|
void SetUnknown21(MxU8 p_unk0x21) { m_unk0x021 = p_unk0x21; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x10033960
|
// SYNTHETIC: LEGO1 0x10033960
|
||||||
// Act1State::`scalar deleting destructor'
|
// Act1State::`scalar deleting destructor'
|
||||||
|
@ -163,14 +163,14 @@ class Isle : public LegoWorld {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10030910
|
// FUNCTION: LEGO1 0x10030910
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0458
|
// STRING: LEGO1 0x100f0458
|
||||||
return "Isle";
|
return "Isle";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10030920
|
// FUNCTION: LEGO1 0x10030920
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Isle::ClassName()) || LegoWorld::IsA(p_name);
|
return !strcmp(p_name, Isle::ClassName()) || LegoWorld::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -189,7 +189,7 @@ class Isle : public LegoWorld {
|
||||||
void Enable(MxBool p_enable) override; // vtable+68
|
void Enable(MxBool p_enable) override; // vtable+68
|
||||||
virtual void VTable0x6c(LegoPathActor* p_actor); // vtable+6c
|
virtual void VTable0x6c(LegoPathActor* p_actor); // vtable+6c
|
||||||
|
|
||||||
inline void SetDestLocation(LegoGameState::Area p_destLocation) { m_destLocation = p_destLocation; }
|
void SetDestLocation(LegoGameState::Area p_destLocation) { m_destLocation = p_destLocation; }
|
||||||
|
|
||||||
void FUN_10033350();
|
void FUN_10033350();
|
||||||
|
|
||||||
|
|
|
@ -16,14 +16,14 @@ class IsleActor : public LegoActor {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000e660
|
// FUNCTION: LEGO1 0x1000e660
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f07dc
|
// STRING: LEGO1 0x100f07dc
|
||||||
return "IsleActor";
|
return "IsleActor";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000e670
|
// FUNCTION: LEGO1 0x1000e670
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, IsleActor::ClassName()) || LegoActor::IsA(p_name);
|
return !strcmp(p_name, IsleActor::ClassName()) || LegoActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,19 +86,19 @@ class IslePathActor : public LegoPathActor {
|
||||||
IslePathActor();
|
IslePathActor();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10002e10
|
// FUNCTION: LEGO1 0x10002e10
|
||||||
inline ~IslePathActor() override { IslePathActor::Destroy(TRUE); }
|
~IslePathActor() override { IslePathActor::Destroy(TRUE); }
|
||||||
|
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10002ea0
|
// FUNCTION: LEGO1 0x10002ea0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0104
|
// STRING: LEGO1 0x100f0104
|
||||||
return "IslePathActor";
|
return "IslePathActor";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10002eb0
|
// FUNCTION: LEGO1 0x10002eb0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, IslePathActor::ClassName()) || LegoPathActor::IsA(p_name);
|
return !strcmp(p_name, IslePathActor::ClassName()) || LegoPathActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,14 +13,14 @@ class Jetski : public IslePathActor {
|
||||||
Jetski();
|
Jetski();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1007e430
|
// FUNCTION: LEGO1 0x1007e430
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f03d8
|
// STRING: LEGO1 0x100f03d8
|
||||||
return "Jetski";
|
return "Jetski";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1007e440
|
// FUNCTION: LEGO1 0x1007e440
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Jetski::ClassName()) || IslePathActor::IsA(p_name);
|
return !strcmp(p_name, Jetski::ClassName()) || IslePathActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ class Jetski : public IslePathActor {
|
||||||
|
|
||||||
void FUN_1007e990();
|
void FUN_1007e990();
|
||||||
|
|
||||||
inline MxS16 GetUnknown0x160() { return m_unk0x160; }
|
MxS16 GetUnknown0x160() { return m_unk0x160; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1007e5c0
|
// SYNTHETIC: LEGO1 0x1007e5c0
|
||||||
// Jetski::`scalar deleting destructor'
|
// Jetski::`scalar deleting destructor'
|
||||||
|
|
|
@ -8,14 +8,14 @@
|
||||||
class JetskiRaceState : public RaceState {
|
class JetskiRaceState : public RaceState {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x1000dc40
|
// FUNCTION: LEGO1 0x1000dc40
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f00ac
|
// STRING: LEGO1 0x100f00ac
|
||||||
return "JetskiRaceState";
|
return "JetskiRaceState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000dc50
|
// FUNCTION: LEGO1 0x1000dc50
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, JetskiRaceState::ClassName()) || RaceState::IsA(p_name);
|
return !strcmp(p_name, JetskiRaceState::ClassName()) || RaceState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -37,13 +37,13 @@ class JetskiRace : public LegoRace {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000daf0
|
// FUNCTION: LEGO1 0x1000daf0
|
||||||
// FUNCTION: BETA10 0x100a8810
|
// FUNCTION: BETA10 0x100a8810
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000db00
|
// FUNCTION: LEGO1 0x1000db00
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, JetskiRace::ClassName()) || LegoRace::IsA(p_name);
|
return !strcmp(p_name, JetskiRace::ClassName()) || LegoRace::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,14 +24,14 @@ class JukeBoxState : public LegoState {
|
||||||
JukeBoxState() : m_music(e_pasquell), m_active(FALSE) {}
|
JukeBoxState() : m_music(e_pasquell), m_active(FALSE) {}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000f310
|
// FUNCTION: LEGO1 0x1000f310
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f02bc
|
// STRING: LEGO1 0x100f02bc
|
||||||
return "JukeBoxState";
|
return "JukeBoxState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000f320
|
// FUNCTION: LEGO1 0x1000f320
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, JukeBoxState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, JukeBoxState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -57,14 +57,14 @@ class JukeBox : public LegoWorld {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005d6f0
|
// FUNCTION: LEGO1 0x1005d6f0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f02cc
|
// STRING: LEGO1 0x100f02cc
|
||||||
return "JukeBox";
|
return "JukeBox";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005d700
|
// FUNCTION: LEGO1 0x1005d700
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, JukeBox::ClassName()) || LegoWorld::IsA(p_name);
|
return !strcmp(p_name, JukeBox::ClassName()) || LegoWorld::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,14 +14,14 @@ class JukeBoxEntity : public LegoEntity {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10085cc0
|
// FUNCTION: LEGO1 0x10085cc0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f02f0
|
// STRING: LEGO1 0x100f02f0
|
||||||
return "JukeBoxEntity";
|
return "JukeBoxEntity";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10085cd0
|
// FUNCTION: LEGO1 0x10085cd0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, JukeBoxEntity::ClassName()) || LegoEntity::IsA(p_name);
|
return !strcmp(p_name, JukeBoxEntity::ClassName()) || LegoEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -29,7 +29,7 @@ class JukeBoxEntity : public LegoEntity {
|
||||||
void StartAction();
|
void StartAction();
|
||||||
void StopAction(JukeboxScript::Script p_script);
|
void StopAction(JukeboxScript::Script p_script);
|
||||||
|
|
||||||
inline MxBool IsBackgroundAudioEnabled() { return m_audioEnabled; }
|
MxBool IsBackgroundAudioEnabled() { return m_audioEnabled; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x10085db0
|
// SYNTHETIC: LEGO1 0x10085db0
|
||||||
// JukeBoxEntity::`scalar deleting destructor'
|
// JukeBoxEntity::`scalar deleting destructor'
|
||||||
|
|
|
@ -18,13 +18,13 @@ class Lego3DWavePresenter : public MxWavePresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000d890
|
// FUNCTION: LEGO1 0x1000d890
|
||||||
// FUNCTION: BETA10 0x100a8640
|
// FUNCTION: BETA10 0x100a8640
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000d8a0
|
// FUNCTION: LEGO1 0x1000d8a0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Lego3DWavePresenter::ClassName()) || MxWavePresenter::IsA(p_name);
|
return !strcmp(p_name, Lego3DWavePresenter::ClassName()) || MxWavePresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,14 +19,14 @@ class LegoAct2State : public LegoState {
|
||||||
~LegoAct2State() override {}
|
~LegoAct2State() override {}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000df80
|
// FUNCTION: LEGO1 0x1000df80
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0428
|
// STRING: LEGO1 0x100f0428
|
||||||
return "LegoAct2State";
|
return "LegoAct2State";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000df90
|
// FUNCTION: LEGO1 0x1000df90
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoAct2State::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, LegoAct2State::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,8 @@ class LegoAct2State : public LegoState {
|
||||||
// SYNTHETIC: LEGO1 0x1000e040
|
// SYNTHETIC: LEGO1 0x1000e040
|
||||||
// LegoAct2State::`scalar deleting destructor'
|
// LegoAct2State::`scalar deleting destructor'
|
||||||
|
|
||||||
inline undefined4 GetUnknown0x08() { return m_unk0x08; }
|
undefined4 GetUnknown0x08() { return m_unk0x08; }
|
||||||
inline void SetUnknown0x0c(undefined p_unk0x0c) { m_unk0x0c = p_unk0x0c; }
|
void SetUnknown0x0c(undefined p_unk0x0c) { m_unk0x0c = p_unk0x0c; }
|
||||||
|
|
||||||
// TODO: Most likely getters/setters are not used according to BETA.
|
// TODO: Most likely getters/setters are not used according to BETA.
|
||||||
|
|
||||||
|
@ -62,8 +62,8 @@ class LegoAct2 : public LegoWorld {
|
||||||
MxBool Escape() override; // vtable+0x64
|
MxBool Escape() override; // vtable+0x64
|
||||||
void Enable(MxBool p_enable) override; // vtable+0x68
|
void Enable(MxBool p_enable) override; // vtable+0x68
|
||||||
|
|
||||||
inline void SetUnknown0x1138(Act2Actor* p_unk0x1138) { m_unk0x1138 = p_unk0x1138; }
|
void SetUnknown0x1138(Act2Actor* p_unk0x1138) { m_unk0x1138 = p_unk0x1138; }
|
||||||
inline void SetUnknown0x1150(undefined4 p_unk0x1150) { m_unk0x1150 = p_unk0x1150; }
|
void SetUnknown0x1150(undefined4 p_unk0x1150) { m_unk0x1150 = p_unk0x1150; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1004fe20
|
// SYNTHETIC: LEGO1 0x1004fe20
|
||||||
// LegoAct2::`scalar deleting destructor'
|
// LegoAct2::`scalar deleting destructor'
|
||||||
|
|
|
@ -22,13 +22,13 @@ class LegoActionControlPresenter : public MxMediaPresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000d0e0
|
// FUNCTION: LEGO1 0x1000d0e0
|
||||||
// FUNCTION: BETA10 0x100a7810
|
// FUNCTION: BETA10 0x100a7810
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000d0f0
|
// FUNCTION: LEGO1 0x1000d0f0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoActionControlPresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
|
return !strcmp(p_name, LegoActionControlPresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,14 +24,14 @@ class LegoActor : public LegoEntity {
|
||||||
~LegoActor() override;
|
~LegoActor() override;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1002d210
|
// FUNCTION: LEGO1 0x1002d210
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0124
|
// STRING: LEGO1 0x100f0124
|
||||||
return "LegoActor";
|
return "LegoActor";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1002d220
|
// FUNCTION: LEGO1 0x1002d220
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoActor::ClassName()) || LegoEntity::IsA(p_name);
|
return !strcmp(p_name, LegoActor::ClassName()) || LegoEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,13 +21,13 @@ class LegoActorPresenter : public LegoEntityPresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000cb10
|
// FUNCTION: LEGO1 0x1000cb10
|
||||||
// FUNCTION: BETA10 0x100a6ee0
|
// FUNCTION: BETA10 0x100a6ee0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000cb20
|
// FUNCTION: LEGO1 0x1000cb20
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoActorPresenter::ClassName()) || LegoEntityPresenter::IsA(p_name);
|
return !strcmp(p_name, LegoActorPresenter::ClassName()) || LegoEntityPresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@ struct LegoAnimActorStruct {
|
||||||
|
|
||||||
float GetDuration();
|
float GetDuration();
|
||||||
|
|
||||||
inline float GetUnknown0x00() { return m_unk0x00; }
|
float GetUnknown0x00() { return m_unk0x00; }
|
||||||
|
|
||||||
float m_unk0x00; // 0x00
|
float m_unk0x00; // 0x00
|
||||||
LegoAnim* m_AnimTreePtr; // 0x04
|
LegoAnim* m_AnimTreePtr; // 0x04
|
||||||
|
@ -31,14 +31,14 @@ class LegoAnimActor : public virtual LegoPathActor {
|
||||||
~LegoAnimActor() override;
|
~LegoAnimActor() override;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000fba0
|
// FUNCTION: LEGO1 0x1000fba0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f057c
|
// STRING: LEGO1 0x100f057c
|
||||||
return "LegoAnimActor";
|
return "LegoAnimActor";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000fbc0
|
// FUNCTION: LEGO1 0x1000fbc0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoAnimActor::ClassName()) || LegoPathActor::IsA(p_name);
|
return !strcmp(p_name, LegoAnimActor::ClassName()) || LegoPathActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -56,14 +56,14 @@ class AnimState : public LegoState {
|
||||||
~AnimState() override; // vtable+0x00
|
~AnimState() override; // vtable+0x00
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10065070
|
// FUNCTION: LEGO1 0x10065070
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0460
|
// STRING: LEGO1 0x100f0460
|
||||||
return "AnimState";
|
return "AnimState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10065080
|
// FUNCTION: LEGO1 0x10065080
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, AnimState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, AnimState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -135,14 +135,14 @@ class LegoAnimationManager : public MxCore {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005ec80
|
// FUNCTION: LEGO1 0x1005ec80
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f7508
|
// STRING: LEGO1 0x100f7508
|
||||||
return "LegoAnimationManager";
|
return "LegoAnimationManager";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005ec90
|
// FUNCTION: LEGO1 0x1005ec90
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, ClassName()) || MxCore::IsA(p_name);
|
return !strcmp(p_name, ClassName()) || MxCore::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -38,13 +38,13 @@ class LegoAnimMMPresenter : public MxCompositePresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1004a950
|
// FUNCTION: LEGO1 0x1004a950
|
||||||
// FUNCTION: BETA10 0x1004d810
|
// FUNCTION: BETA10 0x1004d810
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1004a960
|
// FUNCTION: LEGO1 0x1004a960
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoAnimMMPresenter::ClassName()) || MxCompositePresenter::IsA(p_name);
|
return !strcmp(p_name, LegoAnimMMPresenter::ClassName()) || MxCompositePresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -66,7 +66,7 @@ class LegoAnimMMPresenter : public MxCompositePresenter {
|
||||||
MxBool FUN_1004b8b0();
|
MxBool FUN_1004b8b0();
|
||||||
void FUN_1004b8c0();
|
void FUN_1004b8c0();
|
||||||
|
|
||||||
inline LegoAnimPresenter* GetPresenter() { return m_presenter; }
|
LegoAnimPresenter* GetPresenter() { return m_presenter; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
MxBool FUN_1004b450();
|
MxBool FUN_1004b450();
|
||||||
|
|
|
@ -50,13 +50,13 @@ class LegoAnimPresenter : public MxVideoPresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10068530
|
// FUNCTION: LEGO1 0x10068530
|
||||||
// FUNCTION: BETA10 0x100552d0
|
// FUNCTION: BETA10 0x100552d0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10068540
|
// FUNCTION: LEGO1 0x10068540
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoAnimPresenter::ClassName()) || MxVideoPresenter::IsA(p_name);
|
return !strcmp(p_name, LegoAnimPresenter::ClassName()) || MxVideoPresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -91,11 +91,11 @@ class LegoAnimPresenter : public MxVideoPresenter {
|
||||||
void FUN_1006c7a0();
|
void FUN_1006c7a0();
|
||||||
const char* GetActionObjectName();
|
const char* GetActionObjectName();
|
||||||
|
|
||||||
inline void SetCurrentWorld(LegoWorld* p_currentWorld) { m_currentWorld = p_currentWorld; }
|
void SetCurrentWorld(LegoWorld* p_currentWorld) { m_currentWorld = p_currentWorld; }
|
||||||
inline void SetUnknown0x0cTo1() { m_unk0x9c = 1; }
|
void SetUnknown0x0cTo1() { m_unk0x9c = 1; }
|
||||||
inline void SetUnknown0xa0(MxMatrix* p_unk0xa0) { m_unk0xa0 = p_unk0xa0; }
|
void SetUnknown0xa0(MxMatrix* p_unk0xa0) { m_unk0xa0 = p_unk0xa0; }
|
||||||
|
|
||||||
inline LegoAnim* GetAnimation() { return m_anim; }
|
LegoAnim* GetAnimation() { return m_anim; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void Init();
|
void Init();
|
||||||
|
|
|
@ -56,7 +56,7 @@ class LegoBuildingManager : public MxCore {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1002f930
|
// FUNCTION: LEGO1 0x1002f930
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f37d0
|
// STRING: LEGO1 0x100f37d0
|
||||||
return "LegoBuildingManager";
|
return "LegoBuildingManager";
|
||||||
|
|
|
@ -25,8 +25,8 @@ struct LegoCacheSoundEntry {
|
||||||
bool operator==(LegoCacheSoundEntry) const { return 0; }
|
bool operator==(LegoCacheSoundEntry) const { return 0; }
|
||||||
bool operator<(LegoCacheSoundEntry) const { return 0; }
|
bool operator<(LegoCacheSoundEntry) const { return 0; }
|
||||||
|
|
||||||
inline LegoCacheSound* GetSound() const { return m_sound; }
|
LegoCacheSound* GetSound() const { return m_sound; }
|
||||||
inline const char* GetName() const { return m_name; }
|
const char* GetName() const { return m_name; }
|
||||||
|
|
||||||
friend struct Set100d6b4cComparator;
|
friend struct Set100d6b4cComparator;
|
||||||
|
|
||||||
|
|
|
@ -14,14 +14,14 @@ class LegoCacheSound : public MxCore {
|
||||||
~LegoCacheSound() override; // vtable+0x00
|
~LegoCacheSound() override; // vtable+0x00
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10006580
|
// FUNCTION: LEGO1 0x10006580
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f01c4
|
// STRING: LEGO1 0x100f01c4
|
||||||
return "LegoCacheSound";
|
return "LegoCacheSound";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10006590
|
// FUNCTION: LEGO1 0x10006590
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoCacheSound::ClassName()) || MxCore::IsA(p_name);
|
return !strcmp(p_name, LegoCacheSound::ClassName()) || MxCore::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,8 @@ class LegoCacheSound : public MxCore {
|
||||||
virtual void Destroy(); // vtable+0x18
|
virtual void Destroy(); // vtable+0x18
|
||||||
virtual void FUN_10006cd0(undefined4, undefined4); // vtable+0x1c
|
virtual void FUN_10006cd0(undefined4, undefined4); // vtable+0x1c
|
||||||
|
|
||||||
inline const MxString& GetUnknown0x48() const { return m_unk0x48; }
|
const MxString& GetUnknown0x48() const { return m_unk0x48; }
|
||||||
inline const MxBool GetUnknown0x58() const { return m_unk0x58; }
|
const MxBool GetUnknown0x58() const { return m_unk0x58; }
|
||||||
|
|
||||||
LegoCacheSound* Clone();
|
LegoCacheSound* Clone();
|
||||||
MxResult Play(const char* p_name, MxBool p_looping);
|
MxResult Play(const char* p_name, MxBool p_looping);
|
||||||
|
|
|
@ -16,14 +16,14 @@ class LegoCameraController : public LegoPointOfViewController {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+04
|
MxLong Notify(MxParam& p_param) override; // vtable+04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10011ec0
|
// FUNCTION: LEGO1 0x10011ec0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0850
|
// STRING: LEGO1 0x100f0850
|
||||||
return "LegoCameraController";
|
return "LegoCameraController";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10011ed0
|
// FUNCTION: LEGO1 0x10011ed0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, ClassName()) || MxCore::IsA(p_name);
|
return !strcmp(p_name, ClassName()) || MxCore::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,13 +11,13 @@ class LegoVehicleBuildState : public LegoState {
|
||||||
LegoVehicleBuildState(const char* p_classType);
|
LegoVehicleBuildState(const char* p_classType);
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10025ff0
|
// FUNCTION: LEGO1 0x10025ff0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return this->m_className.GetData();
|
return this->m_className.GetData();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10026000
|
// FUNCTION: LEGO1 0x10026000
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, this->m_className.GetData()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, this->m_className.GetData()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -65,14 +65,14 @@ class LegoCarBuild : public LegoWorld {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10022940
|
// FUNCTION: LEGO1 0x10022940
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0504
|
// STRING: LEGO1 0x100f0504
|
||||||
return "LegoCarBuild";
|
return "LegoCarBuild";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10022950
|
// FUNCTION: LEGO1 0x10022950
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoCarBuild::ClassName()) || LegoWorld::IsA(p_name);
|
return !strcmp(p_name, LegoCarBuild::ClassName()) || LegoWorld::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,13 +20,13 @@ class LegoCarBuildAnimPresenter : public LegoAnimPresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10078510
|
// FUNCTION: LEGO1 0x10078510
|
||||||
// FUNCTION: BETA10 0x10073260
|
// FUNCTION: BETA10 0x10073260
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10078520
|
// FUNCTION: LEGO1 0x10078520
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoCarBuildAnimPresenter::ClassName()) || LegoAnimPresenter::IsA(p_name);
|
return !strcmp(p_name, LegoCarBuildAnimPresenter::ClassName()) || LegoAnimPresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,14 +13,14 @@ class LegoCarRaceActor : public virtual LegoRaceActor {
|
||||||
LegoCarRaceActor();
|
LegoCarRaceActor();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10081660
|
// FUNCTION: LEGO1 0x10081660
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0568
|
// STRING: LEGO1 0x100f0568
|
||||||
return "LegoCarRaceActor";
|
return "LegoCarRaceActor";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10081680
|
// FUNCTION: LEGO1 0x10081680
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoCarRaceActor::ClassName()) || LegoRaceActor::IsA(p_name);
|
return !strcmp(p_name, LegoCarRaceActor::ClassName()) || LegoRaceActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,8 +27,8 @@ struct LegoCharacter {
|
||||||
}
|
}
|
||||||
~LegoCharacter() { delete m_roi; }
|
~LegoCharacter() { delete m_roi; }
|
||||||
|
|
||||||
inline void AddRef() { m_refCount++; }
|
void AddRef() { m_refCount++; }
|
||||||
inline MxU32 RemoveRef()
|
MxU32 RemoveRef()
|
||||||
{
|
{
|
||||||
if (m_refCount != 0) {
|
if (m_refCount != 0) {
|
||||||
m_refCount--;
|
m_refCount--;
|
||||||
|
|
|
@ -12,7 +12,7 @@ class MxControlPresenter;
|
||||||
// SIZE 0x2c
|
// SIZE 0x2c
|
||||||
class LegoControlManagerNotificationParam : public LegoEventNotificationParam {
|
class LegoControlManagerNotificationParam : public LegoEventNotificationParam {
|
||||||
public:
|
public:
|
||||||
inline LegoControlManagerNotificationParam() : LegoEventNotificationParam()
|
LegoControlManagerNotificationParam() : LegoEventNotificationParam()
|
||||||
{
|
{
|
||||||
m_clickedObjectId = -1;
|
m_clickedObjectId = -1;
|
||||||
m_clickedAtom = NULL;
|
m_clickedAtom = NULL;
|
||||||
|
@ -20,13 +20,13 @@ class LegoControlManagerNotificationParam : public LegoEventNotificationParam {
|
||||||
|
|
||||||
// TODO: Most likely getters/setters are not used according to BETA.
|
// TODO: Most likely getters/setters are not used according to BETA.
|
||||||
|
|
||||||
inline MxS32 GetClickedObjectId() const { return m_clickedObjectId; }
|
MxS32 GetClickedObjectId() const { return m_clickedObjectId; }
|
||||||
inline const char* GetClickedAtom() const { return m_clickedAtom; }
|
const char* GetClickedAtom() const { return m_clickedAtom; }
|
||||||
inline MxS16 GetUnknown0x28() const { return m_unk0x28; }
|
MxS16 GetUnknown0x28() const { return m_unk0x28; }
|
||||||
|
|
||||||
inline void SetClickedObjectId(MxS32 p_clickedObjectId) { m_clickedObjectId = p_clickedObjectId; }
|
void SetClickedObjectId(MxS32 p_clickedObjectId) { m_clickedObjectId = p_clickedObjectId; }
|
||||||
inline void SetClickedAtom(const char* p_clickedAtom) { m_clickedAtom = p_clickedAtom; }
|
void SetClickedAtom(const char* p_clickedAtom) { m_clickedAtom = p_clickedAtom; }
|
||||||
inline void SetUnknown0x28(MxS16 p_unk0x28) { m_unk0x28 = p_unk0x28; }
|
void SetUnknown0x28(MxS16 p_unk0x28) { m_unk0x28 = p_unk0x28; }
|
||||||
|
|
||||||
MxS32 m_clickedObjectId; // 0x20
|
MxS32 m_clickedObjectId; // 0x20
|
||||||
const char* m_clickedAtom; // 0x24
|
const char* m_clickedAtom; // 0x24
|
||||||
|
@ -56,13 +56,13 @@ class LegoControlManager : public MxCore {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10028cb0
|
// FUNCTION: LEGO1 0x10028cb0
|
||||||
// FUNCTION: BETA10 0x1008af40
|
// FUNCTION: BETA10 0x1008af40
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10028cc0
|
// FUNCTION: LEGO1 0x10028cc0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoControlManager::ClassName()) || MxCore::IsA(p_name);
|
return !strcmp(p_name, LegoControlManager::ClassName()) || MxCore::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -77,8 +77,8 @@ class LegoControlManager : public MxCore {
|
||||||
MxBool FUN_10029750();
|
MxBool FUN_10029750();
|
||||||
void FUN_100292e0();
|
void FUN_100292e0();
|
||||||
|
|
||||||
inline undefined4 GetUnknown0x0c() { return m_unk0x0c; }
|
undefined4 GetUnknown0x0c() { return m_unk0x0c; }
|
||||||
inline undefined GetUnknown0x10() { return m_unk0x10; }
|
undefined GetUnknown0x10() { return m_unk0x10; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x10028d40
|
// SYNTHETIC: LEGO1 0x10028d40
|
||||||
// LegoControlManager::`scalar deleting destructor'
|
// LegoControlManager::`scalar deleting destructor'
|
||||||
|
|
|
@ -19,7 +19,7 @@ class LegoEndAnimNotificationParam : public MxNotificationParam {
|
||||||
return new LegoEndAnimNotificationParam(m_type, m_sender, m_index);
|
return new LegoEndAnimNotificationParam(m_type, m_sender, m_index);
|
||||||
} // vtable+0x04
|
} // vtable+0x04
|
||||||
|
|
||||||
inline MxU32 GetIndex() { return m_index; }
|
MxU32 GetIndex() { return m_index; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
MxU32 m_index; // 0x0c
|
MxU32 m_index; // 0x0c
|
||||||
|
|
|
@ -30,7 +30,7 @@ class LegoEntity : public MxEntity {
|
||||||
c_altBit1 = 0x01
|
c_altBit1 = 0x01
|
||||||
};
|
};
|
||||||
|
|
||||||
inline LegoEntity() { Init(); }
|
LegoEntity() { Init(); }
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000c290
|
// FUNCTION: LEGO1 0x1000c290
|
||||||
~LegoEntity() override { Destroy(TRUE); }
|
~LegoEntity() override { Destroy(TRUE); }
|
||||||
|
@ -38,14 +38,14 @@ class LegoEntity : public MxEntity {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000c2f0
|
// FUNCTION: LEGO1 0x1000c2f0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0064
|
// STRING: LEGO1 0x100f0064
|
||||||
return "LegoEntity";
|
return "LegoEntity";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000c300
|
// FUNCTION: LEGO1 0x1000c300
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoEntity::ClassName()) || MxEntity::IsA(p_name);
|
return !strcmp(p_name, LegoEntity::ClassName()) || MxEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -79,19 +79,19 @@ class LegoEntity : public MxEntity {
|
||||||
Mx3DPointFloat GetWorldUp();
|
Mx3DPointFloat GetWorldUp();
|
||||||
Mx3DPointFloat GetWorldPosition();
|
Mx3DPointFloat GetWorldPosition();
|
||||||
|
|
||||||
inline MxBool GetUnknown0x10IsSet(MxU8 p_flag) { return m_unk0x10 & p_flag; }
|
MxBool GetUnknown0x10IsSet(MxU8 p_flag) { return m_unk0x10 & p_flag; }
|
||||||
inline MxBool GetFlagsIsSet(MxU8 p_flag) { return m_flags & p_flag; }
|
MxBool GetFlagsIsSet(MxU8 p_flag) { return m_flags & p_flag; }
|
||||||
inline MxU8 GetFlags() { return m_flags; }
|
MxU8 GetFlags() { return m_flags; }
|
||||||
inline MxFloat GetWorldSpeed() { return m_worldSpeed; }
|
MxFloat GetWorldSpeed() { return m_worldSpeed; }
|
||||||
inline LegoROI* GetROI() { return m_roi; }
|
LegoROI* GetROI() { return m_roi; }
|
||||||
inline MxU8 GetType() { return m_type; }
|
MxU8 GetType() { return m_type; }
|
||||||
inline MxBool GetCameraFlag() { return m_cameraFlag; }
|
MxBool GetCameraFlag() { return m_cameraFlag; }
|
||||||
|
|
||||||
inline void SetFlags(MxU8 p_flags) { m_flags = p_flags; }
|
void SetFlags(MxU8 p_flags) { m_flags = p_flags; }
|
||||||
inline void SetFlag(MxU8 p_flag) { m_flags |= p_flag; }
|
void SetFlag(MxU8 p_flag) { m_flags |= p_flag; }
|
||||||
inline void ClearFlag(MxU8 p_flag) { m_flags &= ~p_flag; }
|
void ClearFlag(MxU8 p_flag) { m_flags &= ~p_flag; }
|
||||||
inline void SetUnknown0x10Flag(MxU8 p_flag) { m_unk0x10 |= p_flag; }
|
void SetUnknown0x10Flag(MxU8 p_flag) { m_unk0x10 |= p_flag; }
|
||||||
inline void ClearUnknown0x10Flag(MxU8 p_flag) { m_unk0x10 &= ~p_flag; }
|
void ClearUnknown0x10Flag(MxU8 p_flag) { m_unk0x10 &= ~p_flag; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void Init();
|
void Init();
|
||||||
|
|
|
@ -22,13 +22,13 @@ class LegoEntityPresenter : public MxCompositePresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100534b0
|
// FUNCTION: LEGO1 0x100534b0
|
||||||
// FUNCTION: BETA10 0x10080750
|
// FUNCTION: BETA10 0x10080750
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100534c0
|
// FUNCTION: LEGO1 0x100534c0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoEntityPresenter::ClassName()) || MxCompositePresenter::IsA(p_name);
|
return !strcmp(p_name, LegoEntityPresenter::ClassName()) || MxCompositePresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -43,8 +43,8 @@ class LegoEntityPresenter : public MxCompositePresenter {
|
||||||
|
|
||||||
void SetEntityLocation(const Vector3& p_location, const Vector3& p_direction, const Vector3& p_up);
|
void SetEntityLocation(const Vector3& p_location, const Vector3& p_direction, const Vector3& p_up);
|
||||||
|
|
||||||
inline LegoEntity* GetInternalEntity() { return m_entity; }
|
LegoEntity* GetInternalEntity() { return m_entity; }
|
||||||
inline void SetInternalEntity(LegoEntity* p_entity) { m_entity = p_entity; }
|
void SetInternalEntity(LegoEntity* p_entity) { m_entity = p_entity; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x100535a0
|
// SYNTHETIC: LEGO1 0x100535a0
|
||||||
// LegoEntityPresenter::`scalar deleting destructor'
|
// LegoEntityPresenter::`scalar deleting destructor'
|
||||||
|
|
|
@ -28,8 +28,8 @@ class LegoEventNotificationParam : public MxNotificationParam {
|
||||||
return clone;
|
return clone;
|
||||||
} // vtable+0x04
|
} // vtable+0x04
|
||||||
|
|
||||||
inline LegoEventNotificationParam() : MxNotificationParam(c_notificationType0, NULL) {}
|
LegoEventNotificationParam() : MxNotificationParam(c_notificationType0, NULL) {}
|
||||||
inline LegoEventNotificationParam(
|
LegoEventNotificationParam(
|
||||||
NotificationId p_type,
|
NotificationId p_type,
|
||||||
MxCore* p_sender,
|
MxCore* p_sender,
|
||||||
MxU8 p_modifier,
|
MxU8 p_modifier,
|
||||||
|
@ -41,21 +41,21 @@ class LegoEventNotificationParam : public MxNotificationParam {
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
inline LegoROI* GetROI() { return m_roi; }
|
LegoROI* GetROI() { return m_roi; }
|
||||||
inline MxU8 GetModifier() { return m_modifier; }
|
MxU8 GetModifier() { return m_modifier; }
|
||||||
inline MxU8 GetKey() const { return m_key; }
|
MxU8 GetKey() const { return m_key; }
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10012190
|
// FUNCTION: LEGO1 0x10012190
|
||||||
inline MxS32 GetX() const { return m_x; }
|
MxS32 GetX() const { return m_x; }
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100121a0
|
// FUNCTION: LEGO1 0x100121a0
|
||||||
inline MxS32 GetY() const { return m_y; }
|
MxS32 GetY() const { return m_y; }
|
||||||
|
|
||||||
inline void SetROI(LegoROI* p_roi) { m_roi = p_roi; }
|
void SetROI(LegoROI* p_roi) { m_roi = p_roi; }
|
||||||
inline void SetModifier(MxU8 p_modifier) { m_modifier = p_modifier; }
|
void SetModifier(MxU8 p_modifier) { m_modifier = p_modifier; }
|
||||||
inline void SetKey(MxU8 p_key) { m_key = p_key; }
|
void SetKey(MxU8 p_key) { m_key = p_key; }
|
||||||
inline void SetX(MxS32 p_x) { m_x = p_x; }
|
void SetX(MxS32 p_x) { m_x = p_x; }
|
||||||
inline void SetY(MxS32 p_y) { m_y = p_y; }
|
void SetY(MxS32 p_y) { m_y = p_y; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
MxU8 m_modifier; // 0x0c
|
MxU8 m_modifier; // 0x0c
|
||||||
|
|
|
@ -20,14 +20,14 @@ class LegoExtraActor : public virtual LegoAnimActor {
|
||||||
~LegoExtraActor() override;
|
~LegoExtraActor() override;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1002b7b0
|
// FUNCTION: LEGO1 0x1002b7b0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f3204
|
// STRING: LEGO1 0x100f3204
|
||||||
return "LegoExtraActor";
|
return "LegoExtraActor";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1002b7d0
|
// FUNCTION: LEGO1 0x1002b7d0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoExtraActor::ClassName()) || LegoAnimActor::IsA(p_name);
|
return !strcmp(p_name, LegoExtraActor::ClassName()) || LegoAnimActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ class LegoExtraActor : public virtual LegoAnimActor {
|
||||||
void Restart();
|
void Restart();
|
||||||
inline void FUN_1002ad8a();
|
inline void FUN_1002ad8a();
|
||||||
|
|
||||||
inline void SetUnknown0x0c(undefined p_unk0x0c) { m_unk0x0c = p_unk0x0c; }
|
void SetUnknown0x0c(undefined p_unk0x0c) { m_unk0x0c = p_unk0x0c; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1002b760
|
// SYNTHETIC: LEGO1 0x1002b760
|
||||||
// LegoExtraActor::`scalar deleting destructor'
|
// LegoExtraActor::`scalar deleting destructor'
|
||||||
|
|
|
@ -21,7 +21,7 @@ class LegoFlcTexturePresenter : public MxFlcPresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005def0
|
// FUNCTION: LEGO1 0x1005def0
|
||||||
// FUNCTION: BETA10 0x100837b0
|
// FUNCTION: BETA10 0x100837b0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
|
@ -108,8 +108,8 @@ class LegoGameState {
|
||||||
// SIZE 0x0e
|
// SIZE 0x0e
|
||||||
struct Username {
|
struct Username {
|
||||||
Username();
|
Username();
|
||||||
inline Username(Username& p_other) { Set(p_other); }
|
Username(Username& p_other) { Set(p_other); }
|
||||||
inline void Set(Username& p_other) { memcpy(m_letters, p_other.m_letters, sizeof(m_letters)); }
|
void Set(Username& p_other) { memcpy(m_letters, p_other.m_letters, sizeof(m_letters)); }
|
||||||
|
|
||||||
MxResult ReadWrite(LegoStorage* p_storage);
|
MxResult ReadWrite(LegoStorage* p_storage);
|
||||||
Username& operator=(const Username& p_other);
|
Username& operator=(const Username& p_other);
|
||||||
|
@ -131,7 +131,7 @@ class LegoGameState {
|
||||||
void WriteScoreHistory();
|
void WriteScoreHistory();
|
||||||
void FUN_1003ccf0(LegoFile&);
|
void FUN_1003ccf0(LegoFile&);
|
||||||
|
|
||||||
inline ScoreItem* GetScore(MxS16 p_index) { return p_index >= m_count ? NULL : &m_scores[p_index]; }
|
ScoreItem* GetScore(MxS16 p_index) { return p_index >= m_count ? NULL : &m_scores[p_index]; }
|
||||||
|
|
||||||
MxS16 m_count; // 0x00
|
MxS16 m_count; // 0x00
|
||||||
ScoreItem m_scores[20]; // 0x02
|
ScoreItem m_scores[20]; // 0x02
|
||||||
|
@ -165,26 +165,26 @@ class LegoGameState {
|
||||||
void SwitchArea(Area p_area);
|
void SwitchArea(Area p_area);
|
||||||
void Init();
|
void Init();
|
||||||
|
|
||||||
inline MxU8 GetActorId() { return m_actorId; }
|
MxU8 GetActorId() { return m_actorId; }
|
||||||
|
|
||||||
// FUNCTION: BETA10 0x1004a2d0
|
// FUNCTION: BETA10 0x1004a2d0
|
||||||
inline const char* GetActorName() { return g_actorNames[GetActorId()]; }
|
const char* GetActorName() { return g_actorNames[GetActorId()]; }
|
||||||
|
|
||||||
inline Act GetCurrentAct() { return m_currentAct; }
|
Act GetCurrentAct() { return m_currentAct; }
|
||||||
inline Act GetLoadedAct() { return m_loadedAct; }
|
Act GetLoadedAct() { return m_loadedAct; }
|
||||||
inline Area GetCurrentArea() { return m_currentArea; }
|
Area GetCurrentArea() { return m_currentArea; }
|
||||||
inline Area GetPreviousArea() { return m_previousArea; }
|
Area GetPreviousArea() { return m_previousArea; }
|
||||||
inline Area GetUnknown0x42c() { return m_unk0x42c; }
|
Area GetUnknown0x42c() { return m_unk0x42c; }
|
||||||
inline History* GetHistory() { return &m_history; }
|
History* GetHistory() { return &m_history; }
|
||||||
|
|
||||||
inline void SetDirty(MxBool p_isDirty) { m_isDirty = p_isDirty; }
|
void SetDirty(MxBool p_isDirty) { m_isDirty = p_isDirty; }
|
||||||
inline void SetCurrentArea(Area p_currentArea) { m_currentArea = p_currentArea; }
|
void SetCurrentArea(Area p_currentArea) { m_currentArea = p_currentArea; }
|
||||||
inline void SetPreviousArea(Area p_previousArea) { m_previousArea = p_previousArea; }
|
void SetPreviousArea(Area p_previousArea) { m_previousArea = p_previousArea; }
|
||||||
inline void SetActorId(MxU8 p_actorId) { m_actorId = p_actorId; }
|
void SetActorId(MxU8 p_actorId) { m_actorId = p_actorId; }
|
||||||
inline void SetUnknown0x42c(Area p_unk0x42c) { m_unk0x42c = p_unk0x42c; }
|
void SetUnknown0x42c(Area p_unk0x42c) { m_unk0x42c = p_unk0x42c; }
|
||||||
inline Username* GetPlayersIndex(MxS32 p_index) { return &m_players[p_index]; }
|
Username* GetPlayersIndex(MxS32 p_index) { return &m_players[p_index]; }
|
||||||
inline MxS16 GetPlayerCount() { return m_playerCount; }
|
MxS16 GetPlayerCount() { return m_playerCount; }
|
||||||
inline LegoBackgroundColor* GetBackgroundColor() { return m_backgroundColor; }
|
LegoBackgroundColor* GetBackgroundColor() { return m_backgroundColor; }
|
||||||
|
|
||||||
void SetCurrentAct(Act p_currentAct);
|
void SetCurrentAct(Act p_currentAct);
|
||||||
void FindLoadedAct();
|
void FindLoadedAct();
|
||||||
|
|
|
@ -34,13 +34,13 @@ class LegoHideAnimPresenter : public LegoLoopingAnimPresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006d880
|
// FUNCTION: LEGO1 0x1006d880
|
||||||
// FUNCTION: BETA10 0x1005d470
|
// FUNCTION: BETA10 0x1005d470
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006d890
|
// FUNCTION: LEGO1 0x1006d890
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, ClassName()) || LegoAnimPresenter::IsA(p_name);
|
return !strcmp(p_name, ClassName()) || LegoAnimPresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,21 +106,21 @@ class LegoInputManager : public MxPresenter {
|
||||||
void SetWorld(LegoWorld* p_world);
|
void SetWorld(LegoWorld* p_world);
|
||||||
void ClearWorld();
|
void ClearWorld();
|
||||||
|
|
||||||
inline void SetUnknown88(MxBool p_unk0x88) { m_unk0x88 = p_unk0x88; }
|
void SetUnknown88(MxBool p_unk0x88) { m_unk0x88 = p_unk0x88; }
|
||||||
inline void SetUnknown335(MxBool p_unk0x335) { m_unk0x335 = p_unk0x335; }
|
void SetUnknown335(MxBool p_unk0x335) { m_unk0x335 = p_unk0x335; }
|
||||||
inline void SetUnknown336(MxBool p_unk0x336) { m_unk0x336 = p_unk0x336; }
|
void SetUnknown336(MxBool p_unk0x336) { m_unk0x336 = p_unk0x336; }
|
||||||
inline void SetUseJoystick(MxBool p_useJoystick) { m_useJoystick = p_useJoystick; }
|
void SetUseJoystick(MxBool p_useJoystick) { m_useJoystick = p_useJoystick; }
|
||||||
inline void SetJoystickIndex(MxS32 p_joystickIndex) { m_joystickIndex = p_joystickIndex; }
|
void SetJoystickIndex(MxS32 p_joystickIndex) { m_joystickIndex = p_joystickIndex; }
|
||||||
|
|
||||||
inline void DisableInputProcessing()
|
void DisableInputProcessing()
|
||||||
{
|
{
|
||||||
m_unk0x88 = TRUE;
|
m_unk0x88 = TRUE;
|
||||||
m_unk0x336 = FALSE;
|
m_unk0x336 = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline LegoControlManager* GetControlManager() { return m_controlManager; }
|
LegoControlManager* GetControlManager() { return m_controlManager; }
|
||||||
inline LegoWorld* GetWorld() { return m_world; }
|
LegoWorld* GetWorld() { return m_world; }
|
||||||
inline LegoCameraController* GetCamera() { return m_camera; }
|
LegoCameraController* GetCamera() { return m_camera; }
|
||||||
|
|
||||||
void ProcessEvents();
|
void ProcessEvents();
|
||||||
MxBool ProcessOneEvent(LegoEventNotificationParam& p_param);
|
MxBool ProcessOneEvent(LegoEventNotificationParam& p_param);
|
||||||
|
|
|
@ -18,14 +18,14 @@ class LegoJetski : public LegoJetskiRaceActor, public LegoRaceMap {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10013e90
|
// FUNCTION: LEGO1 0x10013e90
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f053c
|
// STRING: LEGO1 0x100f053c
|
||||||
return "LegoJetski";
|
return "LegoJetski";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10013eb0
|
// FUNCTION: LEGO1 0x10013eb0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoJetski::ClassName()) || LegoJetskiRaceActor::IsA(p_name);
|
return !strcmp(p_name, LegoJetski::ClassName()) || LegoJetskiRaceActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,14 +13,14 @@ class LegoJetskiRaceActor : public virtual LegoCarRaceActor {
|
||||||
LegoJetskiRaceActor();
|
LegoJetskiRaceActor();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10081d90
|
// FUNCTION: LEGO1 0x10081d90
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0554
|
// STRING: LEGO1 0x100f0554
|
||||||
return "LegoJetskiRaceActor";
|
return "LegoJetskiRaceActor";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10081db0
|
// FUNCTION: LEGO1 0x10081db0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoJetskiRaceActor::ClassName()) || LegoCarRaceActor::IsA(p_name);
|
return !strcmp(p_name, LegoJetskiRaceActor::ClassName()) || LegoCarRaceActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ class LegoLoadCacheSoundPresenter : public MxWavePresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10018450
|
// FUNCTION: LEGO1 0x10018450
|
||||||
// FUNCTION: BETA10 0x1008cf60
|
// FUNCTION: BETA10 0x1008cf60
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,13 +20,13 @@ class LegoLocomotionAnimPresenter : public LegoLoopingAnimPresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006ce50
|
// FUNCTION: LEGO1 0x1006ce50
|
||||||
// FUNCTION: BETA10 0x1005c4b0
|
// FUNCTION: BETA10 0x1005c4b0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006ce60
|
// FUNCTION: LEGO1 0x1006ce60
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, ClassName()) || LegoLoopingAnimPresenter::IsA(p_name);
|
return !strcmp(p_name, ClassName()) || LegoLoopingAnimPresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -45,14 +45,14 @@ class LegoLocomotionAnimPresenter : public LegoLoopingAnimPresenter {
|
||||||
|
|
||||||
void FUN_1006d680(LegoAnimActor* p_actor, MxFloat p_value);
|
void FUN_1006d680(LegoAnimActor* p_actor, MxFloat p_value);
|
||||||
|
|
||||||
inline void DecrementUnknown0xd4()
|
void DecrementUnknown0xd4()
|
||||||
{
|
{
|
||||||
if (m_unk0xd4) {
|
if (m_unk0xd4) {
|
||||||
--m_unk0xd4;
|
--m_unk0xd4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
inline undefined2 GetUnknown0xd4() { return m_unk0xd4; }
|
undefined2 GetUnknown0xd4() { return m_unk0xd4; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void Init();
|
void Init();
|
||||||
|
|
|
@ -16,13 +16,13 @@ class LegoLoopingAnimPresenter : public LegoAnimPresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000c9a0
|
// FUNCTION: LEGO1 0x1000c9a0
|
||||||
// FUNCTION: BETA10 0x1005c6c0
|
// FUNCTION: BETA10 0x1005c6c0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000c9b0
|
// FUNCTION: LEGO1 0x1000c9b0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, ClassName()) || LegoAnimPresenter::IsA(p_name);
|
return !strcmp(p_name, ClassName()) || LegoAnimPresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,8 +66,8 @@ class LegoOmni : public MxOmni {
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline MxS32 GetId() { return m_id; }
|
MxS32 GetId() { return m_id; }
|
||||||
inline const char* GetKey() { return m_key; }
|
const char* GetKey() { return m_key; }
|
||||||
|
|
||||||
MxS32 m_id; // 0x00
|
MxS32 m_id; // 0x00
|
||||||
char m_key[20]; // 0x04
|
char m_key[20]; // 0x04
|
||||||
|
@ -80,14 +80,14 @@ class LegoOmni : public MxOmni {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10058aa0
|
// FUNCTION: LEGO1 0x10058aa0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f671c
|
// STRING: LEGO1 0x100f671c
|
||||||
return "LegoOmni";
|
return "LegoOmni";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10058ab0
|
// FUNCTION: LEGO1 0x10058ab0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoOmni::ClassName()) || MxOmni::IsA(p_name);
|
return !strcmp(p_name, LegoOmni::ClassName()) || MxOmni::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -138,17 +138,14 @@ class LegoOmni : public MxOmni {
|
||||||
LegoCharacterManager* GetCharacterManager() { return m_characterManager; }
|
LegoCharacterManager* GetCharacterManager() { return m_characterManager; }
|
||||||
LegoWorldList* GetWorldList() { return m_worldList; }
|
LegoWorldList* GetWorldList() { return m_worldList; }
|
||||||
|
|
||||||
inline void SetNavController(LegoNavController* p_navController) { m_navController = p_navController; }
|
void SetNavController(LegoNavController* p_navController) { m_navController = p_navController; }
|
||||||
inline void SetUserActor(LegoPathActor* p_userActor) { m_userActor = p_userActor; }
|
void SetUserActor(LegoPathActor* p_userActor) { m_userActor = p_userActor; }
|
||||||
inline void SetCurrentWorld(LegoWorld* p_currentWorld) { m_currentWorld = p_currentWorld; }
|
void SetCurrentWorld(LegoWorld* p_currentWorld) { m_currentWorld = p_currentWorld; }
|
||||||
inline void SetExit(MxBool p_exit) { m_exit = p_exit; }
|
void SetExit(MxBool p_exit) { m_exit = p_exit; }
|
||||||
inline MxResult StartActionIfUnknown0x13c(MxDSAction& p_dsAction)
|
MxResult StartActionIfUnknown0x13c(MxDSAction& p_dsAction) { return m_unk0x13c ? Start(&p_dsAction) : SUCCESS; }
|
||||||
{
|
void SetUnknown13c(MxBool p_unk0x13c) { m_unk0x13c = p_unk0x13c; }
|
||||||
return m_unk0x13c ? Start(&p_dsAction) : SUCCESS;
|
|
||||||
}
|
|
||||||
inline void SetUnknown13c(MxBool p_unk0x13c) { m_unk0x13c = p_unk0x13c; }
|
|
||||||
|
|
||||||
inline void CloseMainWindow() { PostMessageA(m_windowHandle, WM_CLOSE, 0, 0); }
|
void CloseMainWindow() { PostMessageA(m_windowHandle, WM_CLOSE, 0, 0); }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x10058b30
|
// SYNTHETIC: LEGO1 0x10058b30
|
||||||
// LegoOmni::`scalar deleting destructor'
|
// LegoOmni::`scalar deleting destructor'
|
||||||
|
|
|
@ -28,13 +28,13 @@ class LegoModelPresenter : public MxVideoPresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000ccb0
|
// FUNCTION: LEGO1 0x1000ccb0
|
||||||
// FUNCTION: BETA10 0x100a7150
|
// FUNCTION: BETA10 0x100a7150
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000ccc0
|
// FUNCTION: LEGO1 0x1000ccc0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, ClassName()) || MxVideoPresenter::IsA(p_name);
|
return !strcmp(p_name, ClassName()) || MxVideoPresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@ class LegoModelPresenter : public MxVideoPresenter {
|
||||||
|
|
||||||
MxResult FUN_1007ff70(MxDSChunk& p_chunk, LegoEntity* p_entity, MxBool p_roiVisible, LegoWorld* p_world);
|
MxResult FUN_1007ff70(MxDSChunk& p_chunk, LegoEntity* p_entity, MxBool p_roiVisible, LegoWorld* p_world);
|
||||||
|
|
||||||
inline void Reset()
|
void Reset()
|
||||||
{
|
{
|
||||||
m_roi = NULL;
|
m_roi = NULL;
|
||||||
m_addedToView = FALSE;
|
m_addedToView = FALSE;
|
||||||
|
|
|
@ -22,14 +22,14 @@ class LegoNavController : public MxCore {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10054b80
|
// FUNCTION: LEGO1 0x10054b80
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f66d8
|
// STRING: LEGO1 0x100f66d8
|
||||||
return "LegoNavController";
|
return "LegoNavController";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10054b90
|
// FUNCTION: LEGO1 0x10054b90
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, ClassName()) || MxCore::IsA(p_name);
|
return !strcmp(p_name, ClassName()) || MxCore::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -77,11 +77,11 @@ class LegoNavController : public MxCore {
|
||||||
static MxS32 GetNumLocations();
|
static MxS32 GetNumLocations();
|
||||||
static LegoLocation* GetLocation(MxU32 p_location);
|
static LegoLocation* GetLocation(MxU32 p_location);
|
||||||
|
|
||||||
inline void SetLinearVel(MxFloat p_linearVel) { m_linearVel = p_linearVel; }
|
void SetLinearVel(MxFloat p_linearVel) { m_linearVel = p_linearVel; }
|
||||||
inline MxFloat GetLinearVel() { return m_linearVel; }
|
MxFloat GetLinearVel() { return m_linearVel; }
|
||||||
inline MxFloat GetRotationalVel() { return m_rotationalVel; }
|
MxFloat GetRotationalVel() { return m_rotationalVel; }
|
||||||
inline MxFloat GetMaxLinearVel() { return m_maxLinearVel; }
|
MxFloat GetMaxLinearVel() { return m_maxLinearVel; }
|
||||||
inline void ResetMaxLinearVel(MxFloat p_maxLinearVel)
|
void ResetMaxLinearVel(MxFloat p_maxLinearVel)
|
||||||
{
|
{
|
||||||
m_maxLinearVel = p_maxLinearVel;
|
m_maxLinearVel = p_maxLinearVel;
|
||||||
m_trackDefault = 0;
|
m_trackDefault = 0;
|
||||||
|
|
|
@ -22,13 +22,13 @@ class LegoPalettePresenter : public MxVideoPresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10079f30
|
// FUNCTION: LEGO1 0x10079f30
|
||||||
// FUNCTION: BETA10 0x100ab220
|
// FUNCTION: BETA10 0x100ab220
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10079f40
|
// FUNCTION: LEGO1 0x10079f40
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, ClassName()) || MxVideoPresenter::IsA(p_name);
|
return !strcmp(p_name, ClassName()) || MxVideoPresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,13 +22,13 @@ class LegoPartPresenter : public MxMediaPresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000cf70
|
// FUNCTION: LEGO1 0x1000cf70
|
||||||
// FUNCTION: BETA10 0x100a75a0
|
// FUNCTION: BETA10 0x100a75a0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000cf80
|
// FUNCTION: LEGO1 0x1000cf80
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoPartPresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
|
return !strcmp(p_name, LegoPartPresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@ class LegoPartPresenter : public MxMediaPresenter {
|
||||||
// SYNTHETIC: LEGO1 0x1000d060
|
// SYNTHETIC: LEGO1 0x1000d060
|
||||||
// LegoPartPresenter::`scalar deleting destructor'
|
// LegoPartPresenter::`scalar deleting destructor'
|
||||||
|
|
||||||
inline void Reset() { m_parts = NULL; }
|
void Reset() { m_parts = NULL; }
|
||||||
|
|
||||||
MxResult Read(MxDSChunk& p_chunk);
|
MxResult Read(MxDSChunk& p_chunk);
|
||||||
void Store();
|
void Store();
|
||||||
|
|
|
@ -25,14 +25,14 @@ class LegoPathActor : public LegoActor {
|
||||||
~LegoPathActor() override;
|
~LegoPathActor() override;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000c430
|
// FUNCTION: LEGO1 0x1000c430
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0114
|
// STRING: LEGO1 0x100f0114
|
||||||
return "LegoPathActor";
|
return "LegoPathActor";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000c440
|
// FUNCTION: LEGO1 0x1000c440
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoPathActor::ClassName()) || LegoActor::IsA(p_name);
|
return !strcmp(p_name, LegoPathActor::ClassName()) || LegoActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -123,14 +123,14 @@ class LegoPathActor : public LegoActor {
|
||||||
// FUNCTION: LEGO1 0x10002de0
|
// FUNCTION: LEGO1 0x10002de0
|
||||||
virtual void VTable0xc8(MxU8 p_unk0x148) { m_unk0x148 = p_unk0x148; } // vtable+0xc8
|
virtual void VTable0xc8(MxU8 p_unk0x148) { m_unk0x148 = p_unk0x148; } // vtable+0xc8
|
||||||
|
|
||||||
inline LegoPathBoundary* GetBoundary() { return m_boundary; }
|
LegoPathBoundary* GetBoundary() { return m_boundary; }
|
||||||
inline MxU32 GetState() { return m_state; }
|
MxU32 GetState() { return m_state; }
|
||||||
inline LegoPathController* GetController() { return m_controller; }
|
LegoPathController* GetController() { return m_controller; }
|
||||||
inline MxBool GetCollideBox() { return m_collideBox; }
|
MxBool GetCollideBox() { return m_collideBox; }
|
||||||
|
|
||||||
inline void SetBoundary(LegoPathBoundary* p_boundary) { m_boundary = p_boundary; }
|
void SetBoundary(LegoPathBoundary* p_boundary) { m_boundary = p_boundary; }
|
||||||
inline void SetState(MxU32 p_state) { m_state = p_state; }
|
void SetState(MxU32 p_state) { m_state = p_state; }
|
||||||
inline void SetController(LegoPathController* p_controller) { m_controller = p_controller; }
|
void SetController(LegoPathController* p_controller) { m_controller = p_controller; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1002d800
|
// SYNTHETIC: LEGO1 0x1002d800
|
||||||
// LegoPathActor::`scalar deleting destructor'
|
// LegoPathActor::`scalar deleting destructor'
|
||||||
|
|
|
@ -56,8 +56,8 @@ class LegoPathBoundary : public LegoWEGEdge {
|
||||||
MxU32 FUN_10057fe0(LegoAnimPresenter* p_presenter);
|
MxU32 FUN_10057fe0(LegoAnimPresenter* p_presenter);
|
||||||
MxU32 FUN_100586e0(LegoAnimPresenter* p_presenter);
|
MxU32 FUN_100586e0(LegoAnimPresenter* p_presenter);
|
||||||
|
|
||||||
inline LegoPathActorSet& GetActors() { return m_actors; }
|
LegoPathActorSet& GetActors() { return m_actors; }
|
||||||
inline LegoAnimPresenterSet& GetPresenters() { return m_presenters; }
|
LegoAnimPresenterSet& GetPresenters() { return m_presenters; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x10047a80
|
// SYNTHETIC: LEGO1 0x10047a80
|
||||||
// LegoPathBoundary::`vector deleting destructor'
|
// LegoPathBoundary::`vector deleting destructor'
|
||||||
|
|
|
@ -69,14 +69,14 @@ class LegoPathController : public MxCore {
|
||||||
MxResult Tickle() override; // vtable+08
|
MxResult Tickle() override; // vtable+08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10045110
|
// FUNCTION: LEGO1 0x10045110
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f11b8
|
// STRING: LEGO1 0x100f11b8
|
||||||
return "LegoPathController";
|
return "LegoPathController";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10045120
|
// FUNCTION: LEGO1 0x10045120
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoPathController::ClassName()) || MxCore::IsA(p_name);
|
return !strcmp(p_name, LegoPathController::ClassName()) || MxCore::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,13 +20,13 @@ class LegoPathPresenter : public MxMediaPresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100449a0
|
// FUNCTION: LEGO1 0x100449a0
|
||||||
// FUNCTION: BETA10 0x100c24a0
|
// FUNCTION: BETA10 0x100c24a0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100449b0
|
// FUNCTION: LEGO1 0x100449b0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoPathPresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
|
return !strcmp(p_name, LegoPathPresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,8 +28,8 @@ class LegoPathStructNotificationParam : public MxNotificationParam {
|
||||||
return new LegoPathStructNotificationParam(m_type, m_sender, m_trigger, m_data);
|
return new LegoPathStructNotificationParam(m_type, m_sender, m_trigger, m_data);
|
||||||
} // vtable+0x04
|
} // vtable+0x04
|
||||||
|
|
||||||
inline MxU8 GetTrigger() { return m_trigger; }
|
MxU8 GetTrigger() { return m_trigger; }
|
||||||
inline MxS16 GetData() { return m_data; }
|
MxS16 GetData() { return m_data; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
MxS16 m_data; // 0x0c
|
MxS16 m_data; // 0x0c
|
||||||
|
@ -87,8 +87,8 @@ class LegoPathStruct : public LegoPathStructBase {
|
||||||
|
|
||||||
virtual void HandleTrigger(LegoPathActor* p_actor, MxBool p_direction, MxU32 p_data); // vtable+0x04
|
virtual void HandleTrigger(LegoPathActor* p_actor, MxBool p_direction, MxU32 p_data); // vtable+0x04
|
||||||
|
|
||||||
inline void SetWorld(LegoWorld* p_world) { m_world = p_world; }
|
void SetWorld(LegoWorld* p_world) { m_world = p_world; }
|
||||||
inline void SetAtomId(const MxAtomId& p_atomId) { m_atomId = p_atomId; }
|
void SetAtomId(const MxAtomId& p_atomId) { m_atomId = p_atomId; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
MxBool HandleTrigger(LegoPathActor* p_actor, MxBool p_direction, MxU32 p_data, MxBool p_bool);
|
MxBool HandleTrigger(LegoPathActor* p_actor, MxBool p_direction, MxU32 p_data, MxBool p_bool);
|
||||||
|
|
|
@ -29,7 +29,7 @@ class LegoPhoneme {
|
||||||
virtual void Init(); // vtable+0x1c
|
virtual void Init(); // vtable+0x1c
|
||||||
virtual void VTable0x20(undefined4); // vtable+0x20
|
virtual void VTable0x20(undefined4); // vtable+0x20
|
||||||
|
|
||||||
inline MxString& GetName() { return m_name; }
|
MxString& GetName() { return m_name; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
MxString m_name; // 0x04
|
MxString m_name; // 0x04
|
||||||
|
|
|
@ -24,7 +24,7 @@ class LegoPhonemePresenter : public MxFlcPresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1004e310
|
// FUNCTION: LEGO1 0x1004e310
|
||||||
// FUNCTION: BETA10 0x100c41f0
|
// FUNCTION: BETA10 0x100c41f0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ class LegoPlantManager : public MxCore {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10026290
|
// FUNCTION: LEGO1 0x10026290
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f318c
|
// STRING: LEGO1 0x100f318c
|
||||||
return "LegoPlantManager";
|
return "LegoPlantManager";
|
||||||
|
|
|
@ -89,8 +89,8 @@ class LegoPointOfViewController : public LegoMouseController {
|
||||||
MxResult Create(Lego3DView* p_lego3DView);
|
MxResult Create(Lego3DView* p_lego3DView);
|
||||||
void OnViewSize(int p_width, int p_height);
|
void OnViewSize(int p_width, int p_height);
|
||||||
|
|
||||||
inline LegoEntity* GetEntity() { return m_entity; }
|
LegoEntity* GetEntity() { return m_entity; }
|
||||||
inline LegoNavController* GetNavController() { return m_nav; }
|
LegoNavController* GetNavController() { return m_nav; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void AffectPointOfView();
|
void AffectPointOfView();
|
||||||
|
|
|
@ -23,10 +23,10 @@ class RaceState : public LegoState {
|
||||||
// SIZE 0x06
|
// SIZE 0x06
|
||||||
struct Entry {
|
struct Entry {
|
||||||
public:
|
public:
|
||||||
inline MxS16 GetUnknown0x02() { return m_unk0x02; }
|
MxS16 GetUnknown0x02() { return m_unk0x02; }
|
||||||
inline MxS16 GetHighScore() { return m_score; }
|
MxS16 GetHighScore() { return m_score; }
|
||||||
|
|
||||||
inline MxResult Serialize(LegoFile* p_file)
|
MxResult Serialize(LegoFile* p_file)
|
||||||
{
|
{
|
||||||
if (p_file->IsReadMode()) {
|
if (p_file->IsReadMode()) {
|
||||||
Read(p_file, &m_id);
|
Read(p_file, &m_id);
|
||||||
|
@ -51,14 +51,14 @@ class RaceState : public LegoState {
|
||||||
RaceState();
|
RaceState();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10016010
|
// FUNCTION: LEGO1 0x10016010
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f07d0
|
// STRING: LEGO1 0x100f07d0
|
||||||
return "RaceState";
|
return "RaceState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10016020
|
// FUNCTION: LEGO1 0x10016020
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, RaceState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, RaceState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -67,7 +67,7 @@ class RaceState : public LegoState {
|
||||||
|
|
||||||
Entry* GetState(MxU8 p_id);
|
Entry* GetState(MxU8 p_id);
|
||||||
|
|
||||||
inline undefined4 GetUnknown0x28() { return m_unk0x28; }
|
undefined4 GetUnknown0x28() { return m_unk0x28; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1000f6f0
|
// SYNTHETIC: LEGO1 0x1000f6f0
|
||||||
// RaceState::~RaceState
|
// RaceState::~RaceState
|
||||||
|
@ -99,13 +99,13 @@ class LegoRace : public LegoWorld {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10015ba0
|
// FUNCTION: LEGO1 0x10015ba0
|
||||||
// FUNCTION: BETA10 0x100a8940
|
// FUNCTION: BETA10 0x100a8940
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10015bb0
|
// FUNCTION: LEGO1 0x10015bb0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoRace::ClassName()) || LegoWorld::IsA(p_name);
|
return !strcmp(p_name, LegoRace::ClassName()) || LegoWorld::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,14 +14,14 @@ class LegoRaceActor : public virtual LegoAnimActor {
|
||||||
LegoRaceActor();
|
LegoRaceActor();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10014b00
|
// FUNCTION: LEGO1 0x10014b00
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0bf4
|
// STRING: LEGO1 0x100f0bf4
|
||||||
return "LegoRaceActor";
|
return "LegoRaceActor";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10014b20
|
// FUNCTION: LEGO1 0x10014b20
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoRaceActor::ClassName()) || LegoAnimActor::IsA(p_name);
|
return !strcmp(p_name, LegoRaceActor::ClassName()) || LegoAnimActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,14 +24,14 @@ class LegoRaceCar : public LegoCarRaceActor, public LegoRaceMap {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100142a0
|
// FUNCTION: LEGO1 0x100142a0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0548
|
// STRING: LEGO1 0x100f0548
|
||||||
return "LegoRaceCar";
|
return "LegoRaceCar";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100142c0
|
// FUNCTION: LEGO1 0x100142c0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoRaceCar::ClassName()) || LegoCarRaceActor::IsA(p_name);
|
return !strcmp(p_name, LegoRaceCar::ClassName()) || LegoCarRaceActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ class LegoSoundManager : public MxSoundManager {
|
||||||
|
|
||||||
void UpdateListener(const float* p_position, const float* p_direction, const float* p_up, const float* p_velocity);
|
void UpdateListener(const float* p_position, const float* p_direction, const float* p_up, const float* p_velocity);
|
||||||
|
|
||||||
inline LegoCacheSoundManager* GetCacheSoundManager() { return m_cacheSoundManager; }
|
LegoCacheSoundManager* GetCacheSoundManager() { return m_cacheSoundManager; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void Init();
|
void Init();
|
||||||
|
|
|
@ -56,15 +56,15 @@ class LegoState : public MxCore {
|
||||||
MxU32 Next();
|
MxU32 Next();
|
||||||
MxBool Contains(MxU32 p_objectId);
|
MxBool Contains(MxU32 p_objectId);
|
||||||
|
|
||||||
inline void SetUnknown0x08(MxS16 p_unk0x08) { m_nextIndex = p_unk0x08; }
|
void SetUnknown0x08(MxS16 p_unk0x08) { m_nextIndex = p_unk0x08; }
|
||||||
|
|
||||||
inline MxResult ReadFromFile(LegoFile* p_file)
|
MxResult ReadFromFile(LegoFile* p_file)
|
||||||
{
|
{
|
||||||
Read(p_file, &m_nextIndex);
|
Read(p_file, &m_nextIndex);
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline MxResult WriteToFile(LegoFile* p_file)
|
MxResult WriteToFile(LegoFile* p_file)
|
||||||
{
|
{
|
||||||
Write(p_file, m_nextIndex);
|
Write(p_file, m_nextIndex);
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
|
@ -81,14 +81,14 @@ class LegoState : public MxCore {
|
||||||
~LegoState() override {}
|
~LegoState() override {}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100060d0
|
// FUNCTION: LEGO1 0x100060d0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f01b8
|
// STRING: LEGO1 0x100f01b8
|
||||||
return "LegoState";
|
return "LegoState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100060e0
|
// FUNCTION: LEGO1 0x100060e0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoState::ClassName()) || MxCore::IsA(p_name);
|
return !strcmp(p_name, LegoState::ClassName()) || MxCore::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,13 +20,13 @@ class LegoTexturePresenter : public MxMediaPresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000ce50
|
// FUNCTION: LEGO1 0x1000ce50
|
||||||
// FUNCTION: BETA10 0x100a7390
|
// FUNCTION: BETA10 0x100a7390
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000ce60
|
// FUNCTION: LEGO1 0x1000ce60
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoTexturePresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
|
return !strcmp(p_name, LegoTexturePresenter::ClassName()) || MxMediaPresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,15 +47,15 @@ class LegoVideoManager : public MxVideoManager {
|
||||||
|
|
||||||
void FUN_1007c520();
|
void FUN_1007c520();
|
||||||
|
|
||||||
inline Tgl::Renderer* GetRenderer() { return m_renderer; }
|
Tgl::Renderer* GetRenderer() { return m_renderer; }
|
||||||
inline Lego3DManager* Get3DManager() { return m_3dManager; }
|
Lego3DManager* Get3DManager() { return m_3dManager; }
|
||||||
inline LegoROI* GetViewROI() { return m_viewROI; }
|
LegoROI* GetViewROI() { return m_viewROI; }
|
||||||
inline MxDirect3D* GetDirect3D() { return m_direct3d; }
|
MxDirect3D* GetDirect3D() { return m_direct3d; }
|
||||||
inline MxBool GetRender3D() { return m_render3d; }
|
MxBool GetRender3D() { return m_render3d; }
|
||||||
inline double GetElapsedSeconds() { return m_elapsedSeconds; }
|
double GetElapsedSeconds() { return m_elapsedSeconds; }
|
||||||
|
|
||||||
inline void SetRender3D(MxBool p_render3d) { m_render3d = p_render3d; }
|
void SetRender3D(MxBool p_render3d) { m_render3d = p_render3d; }
|
||||||
inline void SetUnk0x554(MxBool p_unk0x554) { m_unk0x554 = p_unk0x554; }
|
void SetUnk0x554(MxBool p_unk0x554) { m_unk0x554 = p_unk0x554; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
MxResult CreateDirect3D();
|
MxResult CreateDirect3D();
|
||||||
|
|
|
@ -46,14 +46,14 @@ class LegoWorld : public LegoEntity {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1001d690
|
// FUNCTION: LEGO1 0x1001d690
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0058
|
// STRING: LEGO1 0x100f0058
|
||||||
return "LegoWorld";
|
return "LegoWorld";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1001d6a0
|
// FUNCTION: LEGO1 0x1001d6a0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoWorld::ClassName()) || LegoEntity::IsA(p_name);
|
return !strcmp(p_name, LegoWorld::ClassName()) || LegoEntity::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -97,14 +97,14 @@ class LegoWorld : public LegoEntity {
|
||||||
MxCore* Find(const char* p_class, const char* p_name);
|
MxCore* Find(const char* p_class, const char* p_name);
|
||||||
MxCore* Find(const MxAtomId& p_atom, MxS32 p_entityId);
|
MxCore* Find(const MxAtomId& p_atom, MxS32 p_entityId);
|
||||||
|
|
||||||
inline LegoCameraController* GetCamera() { return m_cameraController; }
|
LegoCameraController* GetCamera() { return m_cameraController; }
|
||||||
inline LegoEntityList* GetEntityList() { return m_entityList; }
|
LegoEntityList* GetEntityList() { return m_entityList; }
|
||||||
inline MxS32 GetWorldId() { return m_worldId; }
|
MxS32 GetWorldId() { return m_worldId; }
|
||||||
inline MxBool GetUnknown0xd0Empty() { return m_set0xd0.empty(); }
|
MxBool GetUnknown0xd0Empty() { return m_set0xd0.empty(); }
|
||||||
inline list<LegoROI*>& GetROIList() { return m_roiList; }
|
list<LegoROI*>& GetROIList() { return m_roiList; }
|
||||||
inline LegoHideAnimPresenter* GetHideAnimPresenter() { return m_hideAnimPresenter; }
|
LegoHideAnimPresenter* GetHideAnimPresenter() { return m_hideAnimPresenter; }
|
||||||
|
|
||||||
inline void SetWorldId(MxS32 p_worldId) { m_worldId = p_worldId; }
|
void SetWorldId(MxS32 p_worldId) { m_worldId = p_worldId; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1001dee0
|
// SYNTHETIC: LEGO1 0x1001dee0
|
||||||
// LegoWorld::`scalar deleting destructor'
|
// LegoWorld::`scalar deleting destructor'
|
||||||
|
|
|
@ -27,13 +27,13 @@ class LegoWorldPresenter : public LegoEntityPresenter {
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10066630
|
// FUNCTION: LEGO1 0x10066630
|
||||||
// FUNCTION: BETA10 0x100e4190
|
// FUNCTION: BETA10 0x100e4190
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return HandlerClassName();
|
return HandlerClassName();
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10066640
|
// FUNCTION: LEGO1 0x10066640
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, LegoWorldPresenter::ClassName()) || LegoEntityPresenter::IsA(p_name);
|
return !strcmp(p_name, LegoWorldPresenter::ClassName()) || LegoEntityPresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,14 +11,14 @@ class Motocycle : public IslePathActor {
|
||||||
Motocycle();
|
Motocycle();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10035840
|
// FUNCTION: LEGO1 0x10035840
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f38e8
|
// STRING: LEGO1 0x100f38e8
|
||||||
return "Motorcycle";
|
return "Motorcycle";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10035850
|
// FUNCTION: LEGO1 0x10035850
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Motocycle::ClassName()) || IslePathActor::IsA(p_name);
|
return !strcmp(p_name, Motocycle::ClassName()) || IslePathActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,19 +18,19 @@ class MxBackgroundAudioManager : public MxCore {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1007eb70
|
// FUNCTION: LEGO1 0x1007eb70
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f7ac4
|
// STRING: LEGO1 0x100f7ac4
|
||||||
return "MxBackgroundAudioManager";
|
return "MxBackgroundAudioManager";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1007eb80
|
// FUNCTION: LEGO1 0x1007eb80
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, MxBackgroundAudioManager::ClassName()) || MxCore::IsA(p_name);
|
return !strcmp(p_name, MxBackgroundAudioManager::ClassName()) || MxCore::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
inline MxBool GetEnabled() { return m_enabled; }
|
MxBool GetEnabled() { return m_enabled; }
|
||||||
|
|
||||||
void StartAction(MxParam& p_param);
|
void StartAction(MxParam& p_param);
|
||||||
void StopAction(MxParam& p_param);
|
void StopAction(MxParam& p_param);
|
||||||
|
|
|
@ -13,14 +13,14 @@ class MxCompositeMediaPresenter : public MxCompositePresenter {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10073f10
|
// FUNCTION: LEGO1 0x10073f10
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f02d4
|
// STRING: LEGO1 0x100f02d4
|
||||||
return "MxCompositeMediaPresenter";
|
return "MxCompositeMediaPresenter";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10073f20
|
// FUNCTION: LEGO1 0x10073f20
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, MxCompositeMediaPresenter::ClassName()) || MxCompositePresenter::IsA(p_name);
|
return !strcmp(p_name, MxCompositeMediaPresenter::ClassName()) || MxCompositePresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,14 +15,14 @@ class MxControlPresenter : public MxCompositePresenter {
|
||||||
~MxControlPresenter() override;
|
~MxControlPresenter() override;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10044000
|
// FUNCTION: LEGO1 0x10044000
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0514
|
// STRING: LEGO1 0x100f0514
|
||||||
return "MxControlPresenter";
|
return "MxControlPresenter";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10044010
|
// FUNCTION: LEGO1 0x10044010
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, MxControlPresenter::ClassName()) || MxCompositePresenter::IsA(p_name);
|
return !strcmp(p_name, MxControlPresenter::ClassName()) || MxCompositePresenter::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -42,7 +42,7 @@ class MxControlPresenter : public MxCompositePresenter {
|
||||||
MxBool FUN_10044480(LegoControlManagerNotificationParam* p_param, MxPresenter* p_presenter);
|
MxBool FUN_10044480(LegoControlManagerNotificationParam* p_param, MxPresenter* p_presenter);
|
||||||
MxBool FUN_10044270(MxS32 p_x, MxS32 p_y, MxVideoPresenter* p_presenter);
|
MxBool FUN_10044270(MxS32 p_x, MxS32 p_y, MxVideoPresenter* p_presenter);
|
||||||
|
|
||||||
inline MxS16 GetUnknown0x4e() { return m_unk0x4e; }
|
MxS16 GetUnknown0x4e() { return m_unk0x4e; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
undefined2 m_unk0x4c; // 0x4c
|
undefined2 m_unk0x4c; // 0x4c
|
||||||
|
|
|
@ -20,13 +20,13 @@ class MxTransitionManager : public MxCore {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1004b950
|
// FUNCTION: LEGO1 0x1004b950
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
return "MxTransitionManager";
|
return "MxTransitionManager";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1004b960
|
// FUNCTION: LEGO1 0x1004b960
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, MxTransitionManager::ClassName()) || MxCore::IsA(p_name);
|
return !strcmp(p_name, MxTransitionManager::ClassName()) || MxCore::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -45,7 +45,7 @@ class MxTransitionManager : public MxCore {
|
||||||
|
|
||||||
MxResult StartTransition(TransitionType p_animationType, MxS32 p_speed, MxBool p_doCopy, MxBool p_playMusicInAnim);
|
MxResult StartTransition(TransitionType p_animationType, MxS32 p_speed, MxBool p_doCopy, MxBool p_playMusicInAnim);
|
||||||
|
|
||||||
inline TransitionType GetTransitionType() { return m_transitionType; }
|
TransitionType GetTransitionType() { return m_transitionType; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1004b9e0
|
// SYNTHETIC: LEGO1 0x1004b9e0
|
||||||
// MxTransitionManager::`scalar deleting destructor'
|
// MxTransitionManager::`scalar deleting destructor'
|
||||||
|
|
|
@ -15,7 +15,7 @@ class PizzaMissionState : public LegoState {
|
||||||
// SIZE 0x20
|
// SIZE 0x20
|
||||||
struct Entry {
|
struct Entry {
|
||||||
public:
|
public:
|
||||||
inline MxResult WriteToFile(LegoFile* p_file)
|
MxResult WriteToFile(LegoFile* p_file)
|
||||||
{
|
{
|
||||||
Write(p_file, m_unk0x06);
|
Write(p_file, m_unk0x06);
|
||||||
Write(p_file, m_unk0x14);
|
Write(p_file, m_unk0x14);
|
||||||
|
@ -24,7 +24,7 @@ class PizzaMissionState : public LegoState {
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
inline MxResult ReadFromFile(LegoFile* p_file)
|
MxResult ReadFromFile(LegoFile* p_file)
|
||||||
{
|
{
|
||||||
Read(p_file, &m_unk0x06);
|
Read(p_file, &m_unk0x06);
|
||||||
Read(p_file, &m_unk0x14);
|
Read(p_file, &m_unk0x14);
|
||||||
|
@ -49,21 +49,21 @@ class PizzaMissionState : public LegoState {
|
||||||
PizzaMissionState();
|
PizzaMissionState();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10039290
|
// FUNCTION: LEGO1 0x10039290
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f00d4
|
// STRING: LEGO1 0x100f00d4
|
||||||
return "PizzaMissionState";
|
return "PizzaMissionState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100392a0
|
// FUNCTION: LEGO1 0x100392a0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, PizzaMissionState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, PizzaMissionState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
MxResult Serialize(LegoFile* p_file) override; // vtable+0x1c
|
MxResult Serialize(LegoFile* p_file) override; // vtable+0x1c
|
||||||
|
|
||||||
inline MxS16 GetHighScore(MxU8 p_id) { return GetState(p_id)->m_score; }
|
MxS16 GetHighScore(MxU8 p_id) { return GetState(p_id)->m_score; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x10039350
|
// SYNTHETIC: LEGO1 0x10039350
|
||||||
// PizzaMissionState::`scalar deleting destructor'
|
// PizzaMissionState::`scalar deleting destructor'
|
||||||
|
@ -86,14 +86,14 @@ class Pizza : public IsleActor {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10037f90
|
// FUNCTION: LEGO1 0x10037f90
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f038c
|
// STRING: LEGO1 0x100f038c
|
||||||
return "Pizza";
|
return "Pizza";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10037fa0
|
// FUNCTION: LEGO1 0x10037fa0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Pizza::ClassName()) || IsleActor::IsA(p_name);
|
return !strcmp(p_name, Pizza::ClassName()) || IsleActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -108,7 +108,7 @@ class Pizza : public IsleActor {
|
||||||
void FUN_100382b0();
|
void FUN_100382b0();
|
||||||
void FUN_10038380();
|
void FUN_10038380();
|
||||||
|
|
||||||
inline void SetSkateboard(SkateBoard* p_skateboard) { m_skateboard = p_skateboard; }
|
void SetSkateboard(SkateBoard* p_skateboard) { m_skateboard = p_skateboard; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x100380e0
|
// SYNTHETIC: LEGO1 0x100380e0
|
||||||
// Pizza::`scalar deleting destructor'
|
// Pizza::`scalar deleting destructor'
|
||||||
|
|
|
@ -23,14 +23,14 @@ class PizzeriaState : public LegoState {
|
||||||
PizzeriaState();
|
PizzeriaState();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10017c20
|
// FUNCTION: LEGO1 0x10017c20
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0370
|
// STRING: LEGO1 0x100f0370
|
||||||
return "PizzeriaState";
|
return "PizzeriaState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10017c30
|
// FUNCTION: LEGO1 0x10017c30
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, PizzeriaState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, PizzeriaState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -55,14 +55,14 @@ class Pizzeria : public IsleActor {
|
||||||
Pizzeria() : m_pizzeriaState(NULL) {}
|
Pizzeria() : m_pizzeriaState(NULL) {}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000e780
|
// FUNCTION: LEGO1 0x1000e780
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0380
|
// STRING: LEGO1 0x100f0380
|
||||||
return "Pizzeria";
|
return "Pizzeria";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000e790
|
// FUNCTION: LEGO1 0x1000e790
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Pizzeria::ClassName()) || IsleActor::IsA(p_name);
|
return !strcmp(p_name, Pizzeria::ClassName()) || IsleActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,14 +19,14 @@ class PoliceState : public LegoState {
|
||||||
~PoliceState() override {}
|
~PoliceState() override {}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005e860
|
// FUNCTION: LEGO1 0x1005e860
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0444
|
// STRING: LEGO1 0x100f0444
|
||||||
return "PoliceState";
|
return "PoliceState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005e870
|
// FUNCTION: LEGO1 0x1005e870
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, PoliceState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, PoliceState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -36,8 +36,8 @@ class PoliceState : public LegoState {
|
||||||
// SYNTHETIC: LEGO1 0x1005e920
|
// SYNTHETIC: LEGO1 0x1005e920
|
||||||
// PoliceState::`scalar deleting destructor'
|
// PoliceState::`scalar deleting destructor'
|
||||||
|
|
||||||
inline undefined4 GetUnknown0x0c() { return m_unk0x0c; }
|
undefined4 GetUnknown0x0c() { return m_unk0x0c; }
|
||||||
inline void SetUnknown0x0c(undefined4 p_unk0x0c) { m_unk0x0c = p_unk0x0c; }
|
void SetUnknown0x0c(undefined4 p_unk0x0c) { m_unk0x0c = p_unk0x0c; }
|
||||||
|
|
||||||
void FUN_1005ea40();
|
void FUN_1005ea40();
|
||||||
|
|
||||||
|
@ -57,14 +57,14 @@ class Police : public LegoWorld {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005e1e0
|
// FUNCTION: LEGO1 0x1005e1e0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0450
|
// STRING: LEGO1 0x100f0450
|
||||||
return "Police";
|
return "Police";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005e1f0
|
// FUNCTION: LEGO1 0x1005e1f0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Police::ClassName()) || LegoWorld::IsA(p_name);
|
return !strcmp(p_name, Police::ClassName()) || LegoWorld::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,14 +12,14 @@ class RaceCar : public IslePathActor {
|
||||||
~RaceCar() override; // vtable+0x00
|
~RaceCar() override; // vtable+0x00
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10028270
|
// FUNCTION: LEGO1 0x10028270
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f03e0
|
// STRING: LEGO1 0x100f03e0
|
||||||
return "RaceCar";
|
return "RaceCar";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10028280
|
// FUNCTION: LEGO1 0x10028280
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, RaceCar::ClassName()) || IslePathActor::IsA(p_name);
|
return !strcmp(p_name, RaceCar::ClassName()) || IslePathActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,14 +15,14 @@ class RadioState : public LegoState {
|
||||||
RadioState();
|
RadioState();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1002cf60
|
// FUNCTION: LEGO1 0x1002cf60
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f04f8
|
// STRING: LEGO1 0x100f04f8
|
||||||
return "RadioState";
|
return "RadioState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1002cf70
|
// FUNCTION: LEGO1 0x1002cf70
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, RadioState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, RadioState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -32,9 +32,9 @@ class RadioState : public LegoState {
|
||||||
// SYNTHETIC: LEGO1 0x1002d020
|
// SYNTHETIC: LEGO1 0x1002d020
|
||||||
// RadioState::`scalar deleting destructor'
|
// RadioState::`scalar deleting destructor'
|
||||||
|
|
||||||
inline MxBool IsActive() { return m_active; }
|
MxBool IsActive() { return m_active; }
|
||||||
|
|
||||||
inline void SetActive(MxBool p_active) { m_active = p_active; }
|
void SetActive(MxBool p_active) { m_active = p_active; }
|
||||||
|
|
||||||
undefined4 FUN_1002d090();
|
undefined4 FUN_1002d090();
|
||||||
MxBool FUN_1002d0c0(const MxAtomId& p_atom, MxU32 p_objectId);
|
MxBool FUN_1002d0c0(const MxAtomId& p_atom, MxU32 p_objectId);
|
||||||
|
@ -56,14 +56,14 @@ class Radio : public MxCore {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1002c8e0
|
// FUNCTION: LEGO1 0x1002c8e0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f328c
|
// STRING: LEGO1 0x100f328c
|
||||||
return "Radio";
|
return "Radio";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1002c8f0
|
// FUNCTION: LEGO1 0x1002c8f0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Radio::ClassName()) || MxCore::IsA(p_name);
|
return !strcmp(p_name, Radio::ClassName()) || MxCore::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -73,7 +73,7 @@ class Radio : public MxCore {
|
||||||
void Play();
|
void Play();
|
||||||
void Stop();
|
void Stop();
|
||||||
|
|
||||||
inline RadioState* GetState() { return m_state; }
|
RadioState* GetState() { return m_state; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1002c970
|
// SYNTHETIC: LEGO1 0x1002c970
|
||||||
// Radio::`scalar deleting destructor'
|
// Radio::`scalar deleting destructor'
|
||||||
|
|
|
@ -20,14 +20,14 @@ class RegistrationBook : public LegoWorld {
|
||||||
MxResult Tickle() override; // vtable+0x08
|
MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10076e10
|
// FUNCTION: LEGO1 0x10076e10
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f04c8
|
// STRING: LEGO1 0x100f04c8
|
||||||
return "RegistrationBook";
|
return "RegistrationBook";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10076e20
|
// FUNCTION: LEGO1 0x10076e20
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, RegistrationBook::ClassName()) || LegoWorld::IsA(p_name);
|
return !strcmp(p_name, RegistrationBook::ClassName()) || LegoWorld::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,14 +15,14 @@ class ScoreState : public LegoState {
|
||||||
ScoreState() : m_playCubeTutorial(TRUE) {}
|
ScoreState() : m_playCubeTutorial(TRUE) {}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000de40
|
// FUNCTION: LEGO1 0x1000de40
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0084
|
// STRING: LEGO1 0x100f0084
|
||||||
return "ScoreState";
|
return "ScoreState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000de50
|
// FUNCTION: LEGO1 0x1000de50
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, ScoreState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, ScoreState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,8 @@ class ScoreState : public LegoState {
|
||||||
return TRUE;
|
return TRUE;
|
||||||
} // vtable+0x18
|
} // vtable+0x18
|
||||||
|
|
||||||
inline MxBool GetTutorialFlag() { return m_playCubeTutorial; }
|
MxBool GetTutorialFlag() { return m_playCubeTutorial; }
|
||||||
inline void SetTutorialFlag(MxBool p_playCubeTutorial) { m_playCubeTutorial = p_playCubeTutorial; }
|
void SetTutorialFlag(MxBool p_playCubeTutorial) { m_playCubeTutorial = p_playCubeTutorial; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1000df00
|
// SYNTHETIC: LEGO1 0x1000df00
|
||||||
// ScoreState::`scalar deleting destructor'
|
// ScoreState::`scalar deleting destructor'
|
||||||
|
@ -57,14 +57,14 @@ class Score : public LegoWorld {
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100010c0
|
// FUNCTION: LEGO1 0x100010c0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0050
|
// STRING: LEGO1 0x100f0050
|
||||||
return "Score";
|
return "Score";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100010d0
|
// FUNCTION: LEGO1 0x100010d0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, Score::ClassName()) || LegoWorld::IsA(p_name);
|
return !strcmp(p_name, Score::ClassName()) || LegoWorld::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,14 +14,14 @@ class SkateBoard : public IslePathActor {
|
||||||
~SkateBoard() override;
|
~SkateBoard() override;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000fdd0
|
// FUNCTION: LEGO1 0x1000fdd0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f041c
|
// STRING: LEGO1 0x100f041c
|
||||||
return "SkateBoard";
|
return "SkateBoard";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000fde0
|
// FUNCTION: LEGO1 0x1000fde0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, SkateBoard::ClassName()) || IslePathActor::IsA(p_name);
|
return !strcmp(p_name, SkateBoard::ClassName()) || IslePathActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,7 @@ class SkateBoard : public IslePathActor {
|
||||||
MxLong HandleControl(LegoControlManagerNotificationParam& p_param) override; // vtable+0xd4
|
MxLong HandleControl(LegoControlManagerNotificationParam& p_param) override; // vtable+0xd4
|
||||||
void Exit() override; // vtable+0xe4
|
void Exit() override; // vtable+0xe4
|
||||||
|
|
||||||
inline void SetUnknown0x160(MxBool p_unk0x160) { m_unk0x160 = p_unk0x160; }
|
void SetUnknown0x160(MxBool p_unk0x160) { m_unk0x160 = p_unk0x160; }
|
||||||
|
|
||||||
void ActivateSceneActions();
|
void ActivateSceneActions();
|
||||||
|
|
||||||
|
|
|
@ -12,21 +12,21 @@ class TowTrackMissionState : public LegoState {
|
||||||
TowTrackMissionState();
|
TowTrackMissionState();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1004dfa0
|
// FUNCTION: LEGO1 0x1004dfa0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f00bc
|
// STRING: LEGO1 0x100f00bc
|
||||||
return "TowTrackMissionState";
|
return "TowTrackMissionState";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1004dfb0
|
// FUNCTION: LEGO1 0x1004dfb0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, TowTrackMissionState::ClassName()) || LegoState::IsA(p_name);
|
return !strcmp(p_name, TowTrackMissionState::ClassName()) || LegoState::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
MxResult Serialize(LegoFile* p_file) override; // vtable+0x1c
|
MxResult Serialize(LegoFile* p_file) override; // vtable+0x1c
|
||||||
|
|
||||||
inline MxS16 GetHighScore(MxU8 p_id)
|
MxS16 GetHighScore(MxU8 p_id)
|
||||||
{
|
{
|
||||||
switch (p_id) {
|
switch (p_id) {
|
||||||
case 1:
|
case 1:
|
||||||
|
@ -70,14 +70,14 @@ class TowTrack : public IslePathActor {
|
||||||
~TowTrack() override;
|
~TowTrack() override;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1004c7c0
|
// FUNCTION: LEGO1 0x1004c7c0
|
||||||
inline const char* ClassName() const override // vtable+0x0c
|
const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f03b8
|
// STRING: LEGO1 0x100f03b8
|
||||||
return "TowTrack";
|
return "TowTrack";
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1004c7d0
|
// FUNCTION: LEGO1 0x1004c7d0
|
||||||
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
||||||
{
|
{
|
||||||
return !strcmp(p_name, TowTrack::ClassName()) || IslePathActor::IsA(p_name);
|
return !strcmp(p_name, TowTrack::ClassName()) || IslePathActor::IsA(p_name);
|
||||||
}
|
}
|
||||||
|
|
|
@ -103,7 +103,7 @@ class LegoUnknownKey : public LegoAnimKey {
|
||||||
LegoUnknownKey();
|
LegoUnknownKey();
|
||||||
LegoResult Read(LegoStorage* p_storage);
|
LegoResult Read(LegoStorage* p_storage);
|
||||||
|
|
||||||
inline LegoFloat GetZ() { return m_z; }
|
LegoFloat GetZ() { return m_z; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
LegoFloat m_z; // 0x08
|
LegoFloat m_z; // 0x08
|
||||||
|
@ -216,13 +216,13 @@ class LegoAnimScene {
|
||||||
LegoResult Read(LegoStorage* p_storage);
|
LegoResult Read(LegoStorage* p_storage);
|
||||||
LegoResult FUN_1009f490(LegoFloat p_time, Matrix4& p_matrix);
|
LegoResult FUN_1009f490(LegoFloat p_time, Matrix4& p_matrix);
|
||||||
|
|
||||||
inline LegoU32 GetUnknown0x18() { return m_unk0x18; }
|
LegoU32 GetUnknown0x18() { return m_unk0x18; }
|
||||||
inline LegoU32 GetUnknown0x1c() { return m_unk0x1c; }
|
LegoU32 GetUnknown0x1c() { return m_unk0x1c; }
|
||||||
inline LegoU32 GetUnknown0x20() { return m_unk0x20; }
|
LegoU32 GetUnknown0x20() { return m_unk0x20; }
|
||||||
|
|
||||||
inline void SetUnknown0x18(LegoU32 p_unk0x18) { m_unk0x18 = p_unk0x18; }
|
void SetUnknown0x18(LegoU32 p_unk0x18) { m_unk0x18 = p_unk0x18; }
|
||||||
inline void SetUnknown0x1c(LegoU32 p_unk0x1c) { m_unk0x1c = p_unk0x1c; }
|
void SetUnknown0x1c(LegoU32 p_unk0x1c) { m_unk0x1c = p_unk0x1c; }
|
||||||
inline void SetUnknown0x20(LegoU32 p_unk0x20) { m_unk0x20 = p_unk0x20; }
|
void SetUnknown0x20(LegoU32 p_unk0x20) { m_unk0x20 = p_unk0x20; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
LegoU16 m_unk0x00; // 0x00
|
LegoU16 m_unk0x00; // 0x00
|
||||||
|
@ -250,7 +250,7 @@ class LegoAnim : public LegoTree {
|
||||||
const LegoChar* GetActorName(LegoU32 p_index);
|
const LegoChar* GetActorName(LegoU32 p_index);
|
||||||
undefined4 GetActorUnknown0x04(LegoU32 p_index);
|
undefined4 GetActorUnknown0x04(LegoU32 p_index);
|
||||||
|
|
||||||
inline LegoAnimScene* GetScene() { return m_scene; }
|
LegoAnimScene* GetScene() { return m_scene; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x100a0ba0
|
// SYNTHETIC: LEGO1 0x100a0ba0
|
||||||
// LegoAnim::`scalar deleting destructor'
|
// LegoAnim::`scalar deleting destructor'
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue