mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 17:36:12 -05:00
Pad all single-digit hexadecimal values with zero (#504)
* Pad all single-digit hexadecimal values with zero * One more fix
This commit is contained in:
parent
35def3013a
commit
bcdddd4c7e
147 changed files with 311 additions and 311 deletions
|
@ -36,7 +36,7 @@ class Act1State : public LegoState {
|
||||||
// Act1State::`scalar deleting destructor'
|
// Act1State::`scalar deleting destructor'
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
undefined m_unk0x8[0x10]; // 0x8
|
undefined m_unk0x08[0x10]; // 0x08
|
||||||
MxU32 m_unk0x18; // 0x18
|
MxU32 m_unk0x18; // 0x18
|
||||||
undefined2 m_unk0x1c; // 0x1c
|
undefined2 m_unk0x1c; // 0x1c
|
||||||
undefined m_unk0x1e; // 0x1e
|
undefined m_unk0x1e; // 0x1e
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
class Act2Brick : public LegoPathActor {
|
class Act2Brick : public LegoPathActor {
|
||||||
public:
|
public:
|
||||||
Act2Brick();
|
Act2Brick();
|
||||||
virtual ~Act2Brick() override; // vtable+0x0
|
virtual ~Act2Brick() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
virtual MxResult Tickle() override; // vtable+0x08
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1007a360
|
// FUNCTION: LEGO1 0x1007a360
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
// SIZE 0x68
|
// SIZE 0x68
|
||||||
class Act2PoliceStation : public LegoEntity {
|
class Act2PoliceStation : public LegoEntity {
|
||||||
public:
|
public:
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000e200
|
// FUNCTION: LEGO1 0x1000e200
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -11,8 +11,8 @@ class Act3 : public LegoWorld {
|
||||||
|
|
||||||
virtual ~Act3() override; // vtable+00
|
virtual ~Act3() override; // vtable+00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
virtual MxResult Tickle() override; // vtable+0x8
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10072510
|
// FUNCTION: LEGO1 0x10072510
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include "legostate.h"
|
#include "legostate.h"
|
||||||
|
|
||||||
// VTABLE: LEGO1 0x100d4fc8
|
// VTABLE: LEGO1 0x100d4fc8
|
||||||
// SIZE 0xc
|
// SIZE 0x0c
|
||||||
class Act3State : public LegoState {
|
class Act3State : public LegoState {
|
||||||
public:
|
public:
|
||||||
inline Act3State() { m_unk0x08 = 0; }
|
inline Act3State() { m_unk0x08 = 0; }
|
||||||
|
|
|
@ -46,8 +46,8 @@ class AmbulanceMissionState : public LegoState {
|
||||||
// AmbulanceMissionState::`scalar deleting destructor'
|
// AmbulanceMissionState::`scalar deleting destructor'
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
undefined4 m_unk0x8; // 0x08
|
undefined4 m_unk0x08; // 0x08
|
||||||
undefined4 m_unk0xc; // 0x0c
|
undefined4 m_unk0x0c; // 0x0c
|
||||||
MxU16 m_unk0x10; // 0x10
|
MxU16 m_unk0x10; // 0x10
|
||||||
MxU16 m_unk0x12; // 0x12
|
MxU16 m_unk0x12; // 0x12
|
||||||
MxU16 m_unk0x14; // 0x14
|
MxU16 m_unk0x14; // 0x14
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
class AnimState : public LegoState {
|
class AnimState : public LegoState {
|
||||||
public:
|
public:
|
||||||
AnimState();
|
AnimState();
|
||||||
virtual ~AnimState() override; // vtable+0x0
|
virtual ~AnimState() override; // vtable+0x00
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10065070
|
// FUNCTION: LEGO1 0x10065070
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
@ -30,8 +30,8 @@ class AnimState : public LegoState {
|
||||||
// AnimState::`scalar deleting destructor'
|
// AnimState::`scalar deleting destructor'
|
||||||
|
|
||||||
private:
|
private:
|
||||||
undefined4 m_unk0x8; // 0x08
|
undefined4 m_unk0x08; // 0x08
|
||||||
undefined4 m_unk0xc; // 0x0c
|
undefined4 m_unk0x0c; // 0x0c
|
||||||
void* m_unk0x10; // 0x10
|
void* m_unk0x10; // 0x10
|
||||||
undefined4 m_unk0x14; // 0x14
|
undefined4 m_unk0x14; // 0x14
|
||||||
void* m_unk0x18; // 0x18
|
void* m_unk0x18; // 0x18
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
class BuildingEntity : public LegoEntity {
|
class BuildingEntity : public LegoEntity {
|
||||||
public:
|
public:
|
||||||
BuildingEntity();
|
BuildingEntity();
|
||||||
virtual ~BuildingEntity() override; // vtable+0x0
|
virtual ~BuildingEntity() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10014f20
|
// FUNCTION: LEGO1 0x10014f20
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
// VTABLE: LEGO1 0x100d6790
|
// VTABLE: LEGO1 0x100d6790
|
||||||
class BumpBouy : public LegoAnimActor {
|
class BumpBouy : public LegoAnimActor {
|
||||||
public:
|
public:
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100274e0
|
// FUNCTION: LEGO1 0x100274e0
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
class ElevatorBottom : public LegoWorld {
|
class ElevatorBottom : public LegoWorld {
|
||||||
public:
|
public:
|
||||||
ElevatorBottom();
|
ElevatorBottom();
|
||||||
virtual ~ElevatorBottom() override; // vtable+0x0
|
virtual ~ElevatorBottom() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10017f20
|
// FUNCTION: LEGO1 0x10017f20
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
class GasStation : public LegoWorld {
|
class GasStation : public LegoWorld {
|
||||||
public:
|
public:
|
||||||
GasStation();
|
GasStation();
|
||||||
virtual ~GasStation() override; // vtable+0x0
|
virtual ~GasStation() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
virtual MxResult Tickle() override; // vtable+0x8
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10004780
|
// FUNCTION: LEGO1 0x10004780
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -12,7 +12,7 @@ class HelicopterSubclass {
|
||||||
MxResult FUN_100040a0(Vector4& p_v, float p_f);
|
MxResult FUN_100040a0(Vector4& p_v, float p_f);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Mx4DPointFloat m_unk0x0; // 0x0
|
Mx4DPointFloat m_unk0x00; // 0x00
|
||||||
Mx4DPointFloat m_unk0x18; // 0x18
|
Mx4DPointFloat m_unk0x18; // 0x18
|
||||||
undefined4 m_unk0x30; // 0x30
|
undefined4 m_unk0x30; // 0x30
|
||||||
};
|
};
|
||||||
|
@ -22,7 +22,7 @@ class HelicopterSubclass {
|
||||||
class Helicopter : public IslePathActor {
|
class Helicopter : public IslePathActor {
|
||||||
public:
|
public:
|
||||||
Helicopter();
|
Helicopter();
|
||||||
virtual ~Helicopter() override; // vtable+0x0
|
virtual ~Helicopter() override; // vtable+0x00
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10003070
|
// FUNCTION: LEGO1 0x10003070
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#include "legostate.h"
|
#include "legostate.h"
|
||||||
|
|
||||||
// VTABLE: LEGO1 0x100d5418
|
// VTABLE: LEGO1 0x100d5418
|
||||||
// SIZE 0xc
|
// SIZE 0x0c
|
||||||
class HelicopterState : public LegoState {
|
class HelicopterState : public LegoState {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x1000e0d0
|
// FUNCTION: LEGO1 0x1000e0d0
|
||||||
|
@ -27,18 +27,18 @@ class HelicopterState : public LegoState {
|
||||||
// FUNCTION: LEGO1 0x1000e0c0
|
// FUNCTION: LEGO1 0x1000e0c0
|
||||||
virtual MxBool SetFlag() override
|
virtual MxBool SetFlag() override
|
||||||
{
|
{
|
||||||
m_unk0x8 = 0;
|
m_unk0x08 = 0;
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}; // vtable+0x18
|
}; // vtable+0x18
|
||||||
|
|
||||||
inline void SetUnknown8(MxU32 p_unk0x8) { m_unk0x8 = p_unk0x8; }
|
inline void SetUnknown8(MxU32 p_unk0x08) { m_unk0x08 = p_unk0x08; }
|
||||||
inline MxU32 GetUnkown8() { return m_unk0x8; }
|
inline MxU32 GetUnkown8() { return m_unk0x08; }
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1000e190
|
// SYNTHETIC: LEGO1 0x1000e190
|
||||||
// HelicopterState::`scalar deleting destructor'
|
// HelicopterState::`scalar deleting destructor'
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
MxU32 m_unk0x8; // 0x8
|
MxU32 m_unk0x08; // 0x08
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // HELICOPTERSTATE_H
|
#endif // HELICOPTERSTATE_H
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
class HistoryBook : public LegoWorld {
|
class HistoryBook : public LegoWorld {
|
||||||
public:
|
public:
|
||||||
HistoryBook();
|
HistoryBook();
|
||||||
virtual ~HistoryBook() override; // vtable+0x0
|
virtual ~HistoryBook() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10082390
|
// FUNCTION: LEGO1 0x10082390
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
class Hospital : public LegoWorld {
|
class Hospital : public LegoWorld {
|
||||||
public:
|
public:
|
||||||
Hospital();
|
Hospital();
|
||||||
virtual ~Hospital() override; // vtable+0x0
|
virtual ~Hospital() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
virtual MxResult Tickle() override; // vtable+0x08
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
|
@ -30,9 +30,9 @@ class HospitalState : public LegoState {
|
||||||
// HospitalState::`scalar deleting destructor'
|
// HospitalState::`scalar deleting destructor'
|
||||||
|
|
||||||
private:
|
private:
|
||||||
undefined m_unk0x8[4]; // 0x8
|
undefined m_unk0x08[4]; // 0x08
|
||||||
undefined2 m_unk0xc; // 0xc
|
undefined2 m_unk0x0c; // 0x0c
|
||||||
undefined2 m_unk0xe; // 0xe
|
undefined2 m_unk0x0e; // 0x0e
|
||||||
undefined2 m_unk0x10; // 0x10
|
undefined2 m_unk0x10; // 0x10
|
||||||
undefined2 m_unk0x12; // 0x12
|
undefined2 m_unk0x12; // 0x12
|
||||||
undefined2 m_unk0x14; // 0x14
|
undefined2 m_unk0x14; // 0x14
|
||||||
|
|
|
@ -132,8 +132,8 @@ class Infocenter : public LegoWorld {
|
||||||
Infocenter();
|
Infocenter();
|
||||||
virtual ~Infocenter() override;
|
virtual ~Infocenter() override;
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
virtual MxResult Tickle() override; // vtable+0x8
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006eb40
|
// FUNCTION: LEGO1 0x1006eb40
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
class InfocenterDoor : public LegoWorld {
|
class InfocenterDoor : public LegoWorld {
|
||||||
public:
|
public:
|
||||||
InfocenterDoor();
|
InfocenterDoor();
|
||||||
virtual ~InfocenterDoor(); // vtable+0x0
|
virtual ~InfocenterDoor(); // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100377b0
|
// FUNCTION: LEGO1 0x100377b0
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -24,7 +24,7 @@ class Isle : public LegoWorld {
|
||||||
public:
|
public:
|
||||||
Isle();
|
Isle();
|
||||||
virtual ~Isle() override;
|
virtual ~Isle() override;
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10030910
|
// FUNCTION: LEGO1 0x10030910
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
// VTABLE: LEGO1 0x100d5178
|
// VTABLE: LEGO1 0x100d5178
|
||||||
class IsleActor : public LegoActor {
|
class IsleActor : public LegoActor {
|
||||||
public:
|
public:
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000e660
|
// FUNCTION: LEGO1 0x1000e660
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -15,9 +15,9 @@ class IslePathActor : public LegoPathActor {
|
||||||
IslePathActor();
|
IslePathActor();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10002e10
|
// FUNCTION: LEGO1 0x10002e10
|
||||||
inline virtual ~IslePathActor() override { IslePathActor::Destroy(TRUE); } // vtable+0x0
|
inline virtual ~IslePathActor() override { IslePathActor::Destroy(TRUE); } // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10002ea0
|
// FUNCTION: LEGO1 0x10002ea0
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -10,8 +10,8 @@ class JukeBox : public LegoWorld {
|
||||||
public:
|
public:
|
||||||
JukeBox();
|
JukeBox();
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
virtual MxResult Tickle() override; // vtable+0x8
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005d6f0
|
// FUNCTION: LEGO1 0x1005d6f0
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -8,9 +8,9 @@
|
||||||
class JukeBoxEntity : public LegoEntity {
|
class JukeBoxEntity : public LegoEntity {
|
||||||
public:
|
public:
|
||||||
JukeBoxEntity();
|
JukeBoxEntity();
|
||||||
virtual ~JukeBoxEntity() override; // vtable+0x0
|
virtual ~JukeBoxEntity() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10085cc0
|
// FUNCTION: LEGO1 0x10085cc0
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -9,10 +9,10 @@
|
||||||
class LegoAnimationManager : public MxCore {
|
class LegoAnimationManager : public MxCore {
|
||||||
public:
|
public:
|
||||||
LegoAnimationManager();
|
LegoAnimationManager();
|
||||||
virtual ~LegoAnimationManager() override; // vtable+0x0
|
virtual ~LegoAnimationManager() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
virtual MxResult Tickle() override; // vtable+0x8
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005ec80
|
// FUNCTION: LEGO1 0x1005ec80
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -87,11 +87,11 @@ class LegoAnimClass : public LegoTree {
|
||||||
virtual LegoTreeNodeData* CreateData() override; // vtable+0x0c
|
virtual LegoTreeNodeData* CreateData() override; // vtable+0x0c
|
||||||
virtual MxResult VTable0x10(LegoMemory* p_stream, MxS32); // vtable+0x10
|
virtual MxResult VTable0x10(LegoMemory* p_stream, MxS32); // vtable+0x10
|
||||||
|
|
||||||
inline MxLong GetUnknown0x8() { return m_unk0x8; }
|
inline MxLong GetUnknown0x8() { return m_unk0x08; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
MxLong m_unk0x8; // 0x08
|
MxLong m_unk0x08; // 0x08
|
||||||
undefined4 m_unk0xc; // 0x0c
|
undefined4 m_unk0x0c; // 0x0c
|
||||||
undefined4 m_unk0x10; // 0x10
|
undefined4 m_unk0x10; // 0x10
|
||||||
undefined4 m_unk0x14; // 0x14
|
undefined4 m_unk0x14; // 0x14
|
||||||
};
|
};
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
class LegoCacheSound : public MxCore {
|
class LegoCacheSound : public MxCore {
|
||||||
public:
|
public:
|
||||||
LegoCacheSound();
|
LegoCacheSound();
|
||||||
virtual ~LegoCacheSound() override; // vtable+0x0
|
virtual ~LegoCacheSound() override; // vtable+0x00
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10006580
|
// FUNCTION: LEGO1 0x10006580
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
class LegoCameraController : public LegoPointOfViewController {
|
class LegoCameraController : public LegoPointOfViewController {
|
||||||
public:
|
public:
|
||||||
LegoCameraController();
|
LegoCameraController();
|
||||||
virtual ~LegoCameraController() override; // vtable+0x0
|
virtual ~LegoCameraController() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+04
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+04
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,8 @@ class LegoCarBuild : public LegoWorld {
|
||||||
LegoCarBuild();
|
LegoCarBuild();
|
||||||
virtual ~LegoCarBuild() override;
|
virtual ~LegoCarBuild() override;
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
virtual MxResult Tickle() override; // vtable+0x8
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10022940
|
// FUNCTION: LEGO1 0x10022940
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
class LegoCarBuildAnimPresenter : public LegoAnimPresenter {
|
class LegoCarBuildAnimPresenter : public LegoAnimPresenter {
|
||||||
public:
|
public:
|
||||||
LegoCarBuildAnimPresenter();
|
LegoCarBuildAnimPresenter();
|
||||||
virtual ~LegoCarBuildAnimPresenter() override; // vtable+0x0
|
virtual ~LegoCarBuildAnimPresenter() override; // vtable+0x00
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10078510
|
// FUNCTION: LEGO1 0x10078510
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -40,9 +40,9 @@ class LegoControlManagerEvent : public LegoEventNotificationParam {
|
||||||
class LegoControlManager : public MxCore {
|
class LegoControlManager : public MxCore {
|
||||||
public:
|
public:
|
||||||
LegoControlManager();
|
LegoControlManager();
|
||||||
virtual ~LegoControlManager() override; // vtable+0x0
|
virtual ~LegoControlManager() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxResult Tickle() override; // vtable+0x8
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10028cb0
|
// FUNCTION: LEGO1 0x10028cb0
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -22,10 +22,10 @@ class LegoEntity : public MxEntity {
|
||||||
// FUNCTION: LEGO1 0x1000c290
|
// FUNCTION: LEGO1 0x1000c290
|
||||||
virtual ~LegoEntity() override { Destroy(TRUE); }
|
virtual ~LegoEntity() override { Destroy(TRUE); }
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000c2f0
|
// FUNCTION: LEGO1 0x1000c2f0
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0064
|
// STRING: LEGO1 0x100f0064
|
||||||
return "LegoEntity";
|
return "LegoEntity";
|
||||||
|
|
|
@ -10,10 +10,10 @@ class LegoEntity;
|
||||||
class LegoEntityPresenter : public MxCompositePresenter {
|
class LegoEntityPresenter : public MxCompositePresenter {
|
||||||
public:
|
public:
|
||||||
LegoEntityPresenter();
|
LegoEntityPresenter();
|
||||||
virtual ~LegoEntityPresenter() override; // vtable+0x0
|
virtual ~LegoEntityPresenter() override; // vtable+0x00
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100534b0
|
// FUNCTION: LEGO1 0x100534b0
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f06b8
|
// STRING: LEGO1 0x100f06b8
|
||||||
return "LegoEntityPresenter";
|
return "LegoEntityPresenter";
|
||||||
|
|
|
@ -18,7 +18,7 @@ class LegoEventNotificationParam : public MxNotificationParam {
|
||||||
new LegoEventNotificationParam(m_type, m_sender, m_modifier, m_x, m_y, m_key);
|
new LegoEventNotificationParam(m_type, m_sender, m_modifier, m_x, m_y, m_key);
|
||||||
clone->m_roi = m_roi;
|
clone->m_roi = m_roi;
|
||||||
return clone;
|
return clone;
|
||||||
}; // vtable+0x4
|
}; // vtable+0x04
|
||||||
|
|
||||||
inline LegoEventNotificationParam() : MxNotificationParam(c_notificationType0, NULL) {}
|
inline LegoEventNotificationParam() : MxNotificationParam(c_notificationType0, NULL) {}
|
||||||
inline LegoEventNotificationParam(
|
inline LegoEventNotificationParam(
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
class LegoExtraActor : public LegoAnimActor {
|
class LegoExtraActor : public LegoAnimActor {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x1002b7a0
|
// FUNCTION: LEGO1 0x1002b7a0
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f3204
|
// STRING: LEGO1 0x100f3204
|
||||||
return "LegoExtraActor";
|
return "LegoExtraActor";
|
||||||
|
|
|
@ -11,7 +11,7 @@ class LegoFlcTexturePresenter : public MxFlcPresenter {
|
||||||
LegoFlcTexturePresenter();
|
LegoFlcTexturePresenter();
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005def0
|
// FUNCTION: LEGO1 0x1005def0
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0634
|
// STRING: LEGO1 0x100f0634
|
||||||
return "LegoFlcTexturePresenter";
|
return "LegoFlcTexturePresenter";
|
||||||
|
|
|
@ -35,7 +35,7 @@ class LegoGameState {
|
||||||
void FUN_1003a720(MxU32);
|
void FUN_1003a720(MxU32);
|
||||||
void HandleAction(MxU32);
|
void HandleAction(MxU32);
|
||||||
|
|
||||||
inline MxU8 GetUnknownC() { return m_unk0xc; }
|
inline MxU8 GetUnknownC() { return m_unk0x0c; }
|
||||||
inline MxU32 GetUnknown10() { return m_unk0x10; }
|
inline MxU32 GetUnknown10() { return m_unk0x10; }
|
||||||
inline MxS32 GetCurrentAct() { return m_currentAct; }
|
inline MxS32 GetCurrentAct() { return m_currentAct; }
|
||||||
inline undefined4 GetUnknown424() { return m_unk0x424; }
|
inline undefined4 GetUnknown424() { return m_unk0x424; }
|
||||||
|
@ -61,10 +61,10 @@ class LegoGameState {
|
||||||
MxS32 ReadVariable(LegoStorage* p_stream, MxVariableTable* p_to);
|
MxS32 ReadVariable(LegoStorage* p_stream, MxVariableTable* p_to);
|
||||||
void SetROIHandlerFunction();
|
void SetROIHandlerFunction();
|
||||||
|
|
||||||
char* m_savePath; // 0x0
|
char* m_savePath; // 0x00
|
||||||
MxS16 m_stateCount; // 0x4
|
MxS16 m_stateCount; // 0x04
|
||||||
LegoState** m_stateArray; // 0x8
|
LegoState** m_stateArray; // 0x08
|
||||||
MxU8 m_unk0xc; // 0xc
|
MxU8 m_unk0x0c; // 0x0c
|
||||||
MxU32 m_unk0x10; // 0x10
|
MxU32 m_unk0x10; // 0x10
|
||||||
MxS32 m_currentAct; // 0x14
|
MxS32 m_currentAct; // 0x14
|
||||||
LegoBackgroundColor* m_backgroundColor; // 0x18
|
LegoBackgroundColor* m_backgroundColor; // 0x18
|
||||||
|
|
|
@ -12,7 +12,7 @@ class LegoHideAnimPresenter : public LegoLoopingAnimPresenter {
|
||||||
virtual ~LegoHideAnimPresenter() override;
|
virtual ~LegoHideAnimPresenter() override;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006d880
|
// FUNCTION: LEGO1 0x1006d880
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f06cc
|
// STRING: LEGO1 0x100f06cc
|
||||||
return "LegoHideAnimPresenter";
|
return "LegoHideAnimPresenter";
|
||||||
|
|
|
@ -75,7 +75,7 @@ class LegoInputManager : public MxPresenter {
|
||||||
void Register(MxCore*);
|
void Register(MxCore*);
|
||||||
void UnRegister(MxCore*);
|
void UnRegister(MxCore*);
|
||||||
|
|
||||||
virtual MxResult Tickle() override; // vtable+0x8
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005b8c0
|
// FUNCTION: LEGO1 0x1005b8c0
|
||||||
virtual MxResult PutData() override { return SUCCESS; }; // vtable+0x4c
|
virtual MxResult PutData() override { return SUCCESS; }; // vtable+0x4c
|
||||||
|
|
|
@ -9,7 +9,7 @@ class LegoJetski : public LegoJetskiRaceActor {
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10013e80
|
// FUNCTION: LEGO1 0x10013e80
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f053c
|
// STRING: LEGO1 0x100f053c
|
||||||
return "LegoJetski";
|
return "LegoJetski";
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
class LegoJetskiRaceActor : public LegoCarRaceActor {
|
class LegoJetskiRaceActor : public LegoCarRaceActor {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x10081d80
|
// FUNCTION: LEGO1 0x10081d80
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0554
|
// STRING: LEGO1 0x100f0554
|
||||||
return "LegoJetskiRaceActor";
|
return "LegoJetskiRaceActor";
|
||||||
|
|
|
@ -14,7 +14,7 @@ class LegoLoadCacheSoundPresenter : public MxWavePresenter {
|
||||||
virtual ~LegoLoadCacheSoundPresenter() override;
|
virtual ~LegoLoadCacheSoundPresenter() override;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10018450
|
// FUNCTION: LEGO1 0x10018450
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f05a0
|
// STRING: LEGO1 0x100f05a0
|
||||||
return "LegoLoadCacheSoundPresenter";
|
return "LegoLoadCacheSoundPresenter";
|
||||||
|
|
|
@ -11,7 +11,7 @@ class LegoLocomotionAnimPresenter : public LegoLoopingAnimPresenter {
|
||||||
virtual ~LegoLocomotionAnimPresenter() override;
|
virtual ~LegoLocomotionAnimPresenter() override;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006ce50
|
// FUNCTION: LEGO1 0x1006ce50
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f06e4
|
// STRING: LEGO1 0x100f06e4
|
||||||
return "LegoLocomotionAnimPresenter";
|
return "LegoLocomotionAnimPresenter";
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
class LegoLoopingAnimPresenter : public LegoAnimPresenter {
|
class LegoLoopingAnimPresenter : public LegoAnimPresenter {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x1000c9a0
|
// FUNCTION: LEGO1 0x1000c9a0
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0700
|
// STRING: LEGO1 0x100f0700
|
||||||
return "LegoLoopingAnimPresenter";
|
return "LegoLoopingAnimPresenter";
|
||||||
|
|
|
@ -12,7 +12,7 @@ class LegoModelPresenter : public MxVideoPresenter {
|
||||||
static void configureLegoModelPresenter(MxS32 p_modelPresenterConfig);
|
static void configureLegoModelPresenter(MxS32 p_modelPresenterConfig);
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000ccb0
|
// FUNCTION: LEGO1 0x1000ccb0
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f067c
|
// STRING: LEGO1 0x100f067c
|
||||||
return "LegoModelPresenter";
|
return "LegoModelPresenter";
|
||||||
|
|
|
@ -37,11 +37,11 @@ class LegoNavController : public MxCore {
|
||||||
);
|
);
|
||||||
|
|
||||||
LegoNavController();
|
LegoNavController();
|
||||||
virtual ~LegoNavController() override; // vtable+0x0
|
virtual ~LegoNavController() override; // vtable+0x00
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10054b80
|
// FUNCTION: LEGO1 0x10054b80
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f66d8
|
// STRING: LEGO1 0x100f66d8
|
||||||
return "LegoNavController";
|
return "LegoNavController";
|
||||||
|
|
|
@ -10,10 +10,10 @@
|
||||||
class LegoPalettePresenter : public MxVideoPresenter {
|
class LegoPalettePresenter : public MxVideoPresenter {
|
||||||
public:
|
public:
|
||||||
LegoPalettePresenter();
|
LegoPalettePresenter();
|
||||||
virtual ~LegoPalettePresenter() override; // vtable+0x0
|
virtual ~LegoPalettePresenter() override; // vtable+0x00
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10079f30
|
// FUNCTION: LEGO1 0x10079f30
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f061c
|
// STRING: LEGO1 0x100f061c
|
||||||
return "LegoPalettePresenter";
|
return "LegoPalettePresenter";
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
class LegoPartPresenter : public MxMediaPresenter {
|
class LegoPartPresenter : public MxMediaPresenter {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x1000cf70
|
// FUNCTION: LEGO1 0x1000cf70
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f05d8
|
// STRING: LEGO1 0x100f05d8
|
||||||
return "LegoPartPresenter";
|
return "LegoPartPresenter";
|
||||||
|
|
|
@ -13,7 +13,7 @@ class LegoPathActor : public LegoActor {
|
||||||
virtual ~LegoPathActor() override;
|
virtual ~LegoPathActor() override;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000c430
|
// FUNCTION: LEGO1 0x1000c430
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0114
|
// STRING: LEGO1 0x100f0114
|
||||||
return "LegoPathActor";
|
return "LegoPathActor";
|
||||||
|
|
|
@ -13,7 +13,7 @@ class LegoPathController : public MxCore {
|
||||||
virtual MxResult Tickle() override; // vtable+08
|
virtual MxResult Tickle() override; // vtable+08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10045110
|
// FUNCTION: LEGO1 0x10045110
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f11b8
|
// STRING: LEGO1 0x100f11b8
|
||||||
return "LegoPathController";
|
return "LegoPathController";
|
||||||
|
|
|
@ -11,7 +11,7 @@ class LegoPathPresenter : public MxMediaPresenter {
|
||||||
virtual ~LegoPathPresenter() override;
|
virtual ~LegoPathPresenter() override;
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100449a0
|
// FUNCTION: LEGO1 0x100449a0
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0690
|
// STRING: LEGO1 0x100f0690
|
||||||
return "LegoPathPresenter";
|
return "LegoPathPresenter";
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
class LegoPhonemePresenter : public MxFlcPresenter {
|
class LegoPhonemePresenter : public MxFlcPresenter {
|
||||||
public:
|
public:
|
||||||
LegoPhonemePresenter();
|
LegoPhonemePresenter();
|
||||||
virtual ~LegoPhonemePresenter() override; // vtable+0x0
|
virtual ~LegoPhonemePresenter() override; // vtable+0x00
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1004e310
|
// FUNCTION: LEGO1 0x1004e310
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f064c
|
// STRING: LEGO1 0x100f064c
|
||||||
return "LegoPhonemePresenter";
|
return "LegoPhonemePresenter";
|
||||||
|
|
|
@ -9,12 +9,12 @@
|
||||||
class LegoPlantManager : public MxCore {
|
class LegoPlantManager : public MxCore {
|
||||||
public:
|
public:
|
||||||
LegoPlantManager();
|
LegoPlantManager();
|
||||||
virtual ~LegoPlantManager() override; // vtable+0x0
|
virtual ~LegoPlantManager() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxResult Tickle() override; // vtable+0x8
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10026290
|
// FUNCTION: LEGO1 0x10026290
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f318c
|
// STRING: LEGO1 0x100f318c
|
||||||
return "LegoPlantManager";
|
return "LegoPlantManager";
|
||||||
|
|
|
@ -31,7 +31,7 @@ class LegoMouseController : public MxCore {
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BOOL m_isButtonDown; // 0x08
|
BOOL m_isButtonDown; // 0x08
|
||||||
undefined4 m_unk0xc; // 0x0c
|
undefined4 m_unk0x0c; // 0x0c
|
||||||
MxDouble m_buttonX; // 0x10
|
MxDouble m_buttonX; // 0x10
|
||||||
MxDouble m_buttonY; // 0x18
|
MxDouble m_buttonY; // 0x18
|
||||||
};
|
};
|
||||||
|
|
|
@ -11,12 +11,12 @@
|
||||||
class LegoRace : public LegoWorld {
|
class LegoRace : public LegoWorld {
|
||||||
public:
|
public:
|
||||||
LegoRace();
|
LegoRace();
|
||||||
virtual ~LegoRace() override; // vtable+0x0
|
virtual ~LegoRace() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10015ba0
|
// FUNCTION: LEGO1 0x10015ba0
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f07c4
|
// STRING: LEGO1 0x100f07c4
|
||||||
return "LegoRace";
|
return "LegoRace";
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
class LegoRaceActor : public LegoAnimActor {
|
class LegoRaceActor : public LegoAnimActor {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x10014af0
|
// FUNCTION: LEGO1 0x10014af0
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0bf4
|
// STRING: LEGO1 0x100f0bf4
|
||||||
return "LegoRaceActor";
|
return "LegoRaceActor";
|
||||||
|
|
|
@ -11,7 +11,7 @@ class LegoRaceCar : public LegoCarRaceActor {
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10014290
|
// FUNCTION: LEGO1 0x10014290
|
||||||
inline const char* ClassName() const override // vtable+0xc
|
inline const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0548
|
// STRING: LEGO1 0x100f0548
|
||||||
return "LegoRaceCar";
|
return "LegoRaceCar";
|
||||||
|
|
|
@ -25,7 +25,7 @@ class LegoVideoManager : public MxVideoManager {
|
||||||
void EnableFullScreenMovie(MxBool p_enable, MxBool p_scale);
|
void EnableFullScreenMovie(MxBool p_enable, MxBool p_scale);
|
||||||
void MoveCursor(MxS32 p_cursorX, MxS32 p_cursorY);
|
void MoveCursor(MxS32 p_cursorX, MxS32 p_cursorY);
|
||||||
|
|
||||||
virtual MxResult Tickle() override; // vtable+0x8
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
virtual void Destroy() override; // vtable+0x18
|
virtual void Destroy() override; // vtable+0x18
|
||||||
virtual MxResult Create(MxVideoParam& p_videoParam, MxU32 p_frequencyMS, MxBool p_createThread)
|
virtual MxResult Create(MxVideoParam& p_videoParam, MxU32 p_frequencyMS, MxBool p_createThread)
|
||||||
override; // vtable+0x2c
|
override; // vtable+0x2c
|
||||||
|
|
|
@ -33,10 +33,10 @@ class LegoWorld : public LegoEntity {
|
||||||
};
|
};
|
||||||
|
|
||||||
LegoWorld();
|
LegoWorld();
|
||||||
virtual ~LegoWorld() override; // vtable+0x0
|
virtual ~LegoWorld() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
virtual MxResult Tickle() override; // vtable+0x8
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1001d690
|
// FUNCTION: LEGO1 0x1001d690
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
class LegoWorldPresenter : public LegoEntityPresenter {
|
class LegoWorldPresenter : public LegoEntityPresenter {
|
||||||
public:
|
public:
|
||||||
LegoWorldPresenter();
|
LegoWorldPresenter();
|
||||||
virtual ~LegoWorldPresenter() override; // vtable+0x0
|
virtual ~LegoWorldPresenter() override; // vtable+0x00
|
||||||
|
|
||||||
static void configureLegoWorldPresenter(MxS32 p_legoWorldPresenterQuality);
|
static void configureLegoWorldPresenter(MxS32 p_legoWorldPresenterQuality);
|
||||||
|
|
||||||
|
|
|
@ -54,8 +54,8 @@ class MxBackgroundAudioManager : public MxCore {
|
||||||
MxResult OpenMusic(MxAtomId& p_script);
|
MxResult OpenMusic(MxAtomId& p_script);
|
||||||
void DestroyMusic();
|
void DestroyMusic();
|
||||||
|
|
||||||
MxBool m_musicEnabled; // 0x8
|
MxBool m_musicEnabled; // 0x08
|
||||||
MxDSAction m_action1; // 0xc
|
MxDSAction m_action1; // 0x0c
|
||||||
MxAudioPresenter* m_unk0xa0;
|
MxAudioPresenter* m_unk0xa0;
|
||||||
MxDSAction m_action2; // 0xa4
|
MxDSAction m_action2; // 0xa4
|
||||||
MxAudioPresenter* m_unk0x138;
|
MxAudioPresenter* m_unk0x138;
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
class MxTransitionManager : public MxCore {
|
class MxTransitionManager : public MxCore {
|
||||||
public:
|
public:
|
||||||
MxTransitionManager();
|
MxTransitionManager();
|
||||||
virtual ~MxTransitionManager() override; // vtable+0x0
|
virtual ~MxTransitionManager() override; // vtable+0x00
|
||||||
|
|
||||||
void SetWaitIndicator(MxVideoPresenter* p_waitIndicator);
|
void SetWaitIndicator(MxVideoPresenter* p_waitIndicator);
|
||||||
|
|
||||||
virtual MxResult Tickle(); // vtable+0x8
|
virtual MxResult Tickle(); // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1004b950
|
// FUNCTION: LEGO1 0x1004b950
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -15,10 +15,10 @@ class Pizza : public IsleActor {
|
||||||
Pizza();
|
Pizza();
|
||||||
virtual ~Pizza() override;
|
virtual ~Pizza() override;
|
||||||
|
|
||||||
virtual MxResult Tickle() override; // vtable+0x8
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10037f90
|
// FUNCTION: LEGO1 0x10037f90
|
||||||
inline const char* ClassName() const // vtable+0xc
|
inline const char* ClassName() const // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f038c
|
// STRING: LEGO1 0x100f038c
|
||||||
return "Pizza";
|
return "Pizza";
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
// SIZE 0x20
|
// SIZE 0x20
|
||||||
struct PizzaMissionStateEntry {
|
struct PizzaMissionStateEntry {
|
||||||
public:
|
public:
|
||||||
undefined2 m_unk0x0;
|
undefined2 m_unk0x00;
|
||||||
MxU8 m_id;
|
MxU8 m_id;
|
||||||
undefined m_unk0x3[0x15];
|
undefined m_unk0x03[0x15];
|
||||||
MxU16 m_color;
|
MxU16 m_color;
|
||||||
undefined m_unk0x18[6];
|
undefined m_unk0x18[6];
|
||||||
};
|
};
|
||||||
|
@ -41,8 +41,8 @@ class PizzaMissionState : public LegoState {
|
||||||
PizzaMissionStateEntry* GetState(MxU8 p_id);
|
PizzaMissionStateEntry* GetState(MxU8 p_id);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
undefined4 m_unk0x8; // 0x08
|
undefined4 m_unk0x08; // 0x08
|
||||||
undefined4 m_unk0xc; // 0x0c
|
undefined4 m_unk0x0c; // 0x0c
|
||||||
PizzaMissionStateEntry m_state[5]; // 0x10
|
PizzaMissionStateEntry m_state[5]; // 0x10
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -13,12 +13,12 @@
|
||||||
class Police : public LegoWorld {
|
class Police : public LegoWorld {
|
||||||
public:
|
public:
|
||||||
Police();
|
Police();
|
||||||
virtual ~Police() override; // vtable+0x0
|
virtual ~Police() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005e1e0
|
// FUNCTION: LEGO1 0x1005e1e0
|
||||||
inline virtual const char* ClassName() const override // vtable+0xc
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0450
|
// STRING: LEGO1 0x100f0450
|
||||||
return "Police";
|
return "Police";
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
class PoliceEntity : public BuildingEntity {
|
class PoliceEntity : public BuildingEntity {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x1000ed60
|
// FUNCTION: LEGO1 0x1000ed60
|
||||||
inline virtual const char* ClassName() const override // vtable+0xc
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0328
|
// STRING: LEGO1 0x100f0328
|
||||||
return "PoliceEntity";
|
return "PoliceEntity";
|
||||||
|
|
|
@ -30,8 +30,8 @@ class PoliceState : public LegoState {
|
||||||
// PoliceState::`scalar deleting destructor'
|
// PoliceState::`scalar deleting destructor'
|
||||||
|
|
||||||
private:
|
private:
|
||||||
undefined4 m_unk0x8; // 0x8
|
undefined4 m_unk0x08; // 0x08
|
||||||
undefined4 m_unk0xc; // 0xc
|
undefined4 m_unk0x0c; // 0x0c
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // POLICESTATE_H
|
#endif // POLICESTATE_H
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
class RaceCar : public IslePathActor {
|
class RaceCar : public IslePathActor {
|
||||||
public:
|
public:
|
||||||
RaceCar();
|
RaceCar();
|
||||||
virtual ~RaceCar() override; // vtable+0x0
|
virtual ~RaceCar() override; // vtable+0x00
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10028270
|
// FUNCTION: LEGO1 0x10028270
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
struct RaceStateEntry {
|
struct RaceStateEntry {
|
||||||
public:
|
public:
|
||||||
MxU8 m_id;
|
MxU8 m_id;
|
||||||
undefined m_unk0x1[1];
|
undefined m_unk0x01[1];
|
||||||
MxU16 m_unk0x2;
|
MxU16 m_unk0x02;
|
||||||
MxU16 m_color;
|
MxU16 m_color;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ class Radio : public MxCore {
|
||||||
|
|
||||||
private:
|
private:
|
||||||
RadioState* m_state; // 0x08
|
RadioState* m_state; // 0x08
|
||||||
MxBool m_unk0xc; // 0x0c
|
MxBool m_unk0x0c; // 0x0c
|
||||||
|
|
||||||
void CreateRadioState();
|
void CreateRadioState();
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,10 +8,10 @@
|
||||||
class RegistrationBook : public LegoWorld {
|
class RegistrationBook : public LegoWorld {
|
||||||
public:
|
public:
|
||||||
RegistrationBook();
|
RegistrationBook();
|
||||||
virtual ~RegistrationBook() override; // vtable+0x0
|
virtual ~RegistrationBook() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
virtual MxResult Tickle() override; // vtable+0x8
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10076e10
|
// FUNCTION: LEGO1 0x10076e10
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
class Score : public LegoWorld {
|
class Score : public LegoWorld {
|
||||||
public:
|
public:
|
||||||
Score();
|
Score();
|
||||||
virtual ~Score() override; // vtable+0x0
|
virtual ~Score() override; // vtable+0x00
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100010c0
|
// FUNCTION: LEGO1 0x100010c0
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include "legostate.h"
|
#include "legostate.h"
|
||||||
|
|
||||||
// VTABLE: LEGO1 0x100d53f8
|
// VTABLE: LEGO1 0x100d53f8
|
||||||
// SIZE 0xc
|
// SIZE 0x0c
|
||||||
class ScoreState : public LegoState {
|
class ScoreState : public LegoState {
|
||||||
public:
|
public:
|
||||||
// FUNCTION: LEGO1 0x1000de40
|
// FUNCTION: LEGO1 0x1000de40
|
||||||
|
|
|
@ -342,7 +342,7 @@ MxResult HelicopterSubclass::FUN_100040a0(Vector4& p_v, float p_f)
|
||||||
{
|
{
|
||||||
MxU32 state = m_unk0x30;
|
MxU32 state = m_unk0x30;
|
||||||
if (state == 1) {
|
if (state == 1) {
|
||||||
p_v.EqualsImpl(m_unk0x0.GetData());
|
p_v.EqualsImpl(m_unk0x00.GetData());
|
||||||
p_v[3] = acos(p_v[3]) * (1 - p_f) * 2.0;
|
p_v[3] = acos(p_v[3]) * (1 - p_f) * 2.0;
|
||||||
return p_v.NormalizeQuaternion();
|
return p_v.NormalizeQuaternion();
|
||||||
}
|
}
|
||||||
|
@ -352,7 +352,7 @@ MxResult HelicopterSubclass::FUN_100040a0(Vector4& p_v, float p_f)
|
||||||
return p_v.NormalizeQuaternion();
|
return p_v.NormalizeQuaternion();
|
||||||
}
|
}
|
||||||
else if (state == 3) {
|
else if (state == 3) {
|
||||||
double d1 = p_v.Dot(&m_unk0x0, &m_unk0x18), d2;
|
double d1 = p_v.Dot(&m_unk0x00, &m_unk0x18), d2;
|
||||||
if (d1 + 1 > 0.00001) {
|
if (d1 + 1 > 0.00001) {
|
||||||
if (1 - d1 > 0.00001) {
|
if (1 - d1 > 0.00001) {
|
||||||
double d = acos(d1);
|
double d = acos(d1);
|
||||||
|
@ -365,18 +365,18 @@ MxResult HelicopterSubclass::FUN_100040a0(Vector4& p_v, float p_f)
|
||||||
d2 = p_f;
|
d2 = p_f;
|
||||||
}
|
}
|
||||||
for (MxS32 i = 0; i < 4; i++) {
|
for (MxS32 i = 0; i < 4; i++) {
|
||||||
p_v[i] = m_unk0x18[i] * d2 + m_unk0x0[i] * d1;
|
p_v[i] = m_unk0x18[i] * d2 + m_unk0x00[i] * d1;
|
||||||
}
|
}
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
p_v[0] = -m_unk0x0[1];
|
p_v[0] = -m_unk0x00[1];
|
||||||
p_v[1] = m_unk0x0[1];
|
p_v[1] = m_unk0x00[1];
|
||||||
p_v[2] = -m_unk0x0[3];
|
p_v[2] = -m_unk0x00[3];
|
||||||
p_v[3] = m_unk0x0[2];
|
p_v[3] = m_unk0x00[2];
|
||||||
d1 = sin((1 - p_f) * 1.570796326794895);
|
d1 = sin((1 - p_f) * 1.570796326794895);
|
||||||
d2 = sin(p_f * 1.570796326794895);
|
d2 = sin(p_f * 1.570796326794895);
|
||||||
for (MxS32 i = 0; i < 3; i++) {
|
for (MxS32 i = 0; i < 3; i++) {
|
||||||
p_v[i] = m_unk0x0[i] * d1 + p_v[i] * d2;
|
p_v[i] = m_unk0x00[i] * d1 + p_v[i] * d2;
|
||||||
}
|
}
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#include "decomp.h"
|
#include "decomp.h"
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(LegoVehicleBuildState, 0x50); // 1000acd7
|
DECOMP_SIZE_ASSERT(LegoVehicleBuildState, 0x50); // 1000acd7
|
||||||
DECOMP_SIZE_ASSERT(LegoVehicleBuildState::UnkStruct, 0xc);
|
DECOMP_SIZE_ASSERT(LegoVehicleBuildState::UnkStruct, 0x0c);
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10017c00
|
// FUNCTION: LEGO1 0x10017c00
|
||||||
LegoVehicleBuildState::UnkStruct::UnkStruct()
|
LegoVehicleBuildState::UnkStruct::UnkStruct()
|
||||||
|
|
|
@ -5,7 +5,7 @@ DECOMP_SIZE_ASSERT(AnimState, 0x1c);
|
||||||
// FUNCTION: LEGO1 0x10064ff0
|
// FUNCTION: LEGO1 0x10064ff0
|
||||||
AnimState::AnimState()
|
AnimState::AnimState()
|
||||||
{
|
{
|
||||||
m_unk0xc = 0;
|
m_unk0x0c = 0;
|
||||||
m_unk0x10 = NULL;
|
m_unk0x10 = NULL;
|
||||||
m_unk0x14 = 0;
|
m_unk0x14 = 0;
|
||||||
m_unk0x18 = NULL;
|
m_unk0x18 = NULL;
|
||||||
|
|
|
@ -47,7 +47,7 @@ void GifManager::FUN_10099cc0(GifData* p_data)
|
||||||
for (GifList::iterator it = m_list.begin(); it != m_list.end(); it++) {
|
for (GifList::iterator it = m_list.begin(); it != m_list.end(); it++) {
|
||||||
#endif
|
#endif
|
||||||
if (*it == p_data) {
|
if (*it == p_data) {
|
||||||
// TODO: This is wrong, but what is at +0xc on the iterator?
|
// TODO: This is wrong, but what is at +0x0c on the iterator?
|
||||||
*it = NULL;
|
*it = NULL;
|
||||||
|
|
||||||
if (p_data->m_texture->Release() == TRUE) {
|
if (p_data->m_texture->Release() == TRUE) {
|
||||||
|
|
|
@ -67,7 +67,7 @@ LegoGameState::LegoGameState()
|
||||||
SetROIHandlerFunction();
|
SetROIHandlerFunction();
|
||||||
|
|
||||||
this->m_stateCount = 0;
|
this->m_stateCount = 0;
|
||||||
this->m_unk0xc = 0;
|
this->m_unk0x0c = 0;
|
||||||
this->m_savePath = NULL;
|
this->m_savePath = NULL;
|
||||||
this->m_unk0x424 = 0;
|
this->m_unk0x424 = 0;
|
||||||
this->m_prevArea = 0;
|
this->m_prevArea = 0;
|
||||||
|
@ -131,7 +131,7 @@ MxResult LegoGameState::Save(MxULong p_slot)
|
||||||
fileStream.Write(&maybeVersion, 4);
|
fileStream.Write(&maybeVersion, 4);
|
||||||
fileStream.Write(&m_unk0x24, 2);
|
fileStream.Write(&m_unk0x24, 2);
|
||||||
fileStream.Write(&m_unk0x10, 2);
|
fileStream.Write(&m_unk0x10, 2);
|
||||||
fileStream.Write(&m_unk0xc, 1);
|
fileStream.Write(&m_unk0x0c, 1);
|
||||||
|
|
||||||
for (MxS32 i = 0; i < sizeof(g_colorSaveData) / sizeof(g_colorSaveData[0]); ++i) {
|
for (MxS32 i = 0; i < sizeof(g_colorSaveData) / sizeof(g_colorSaveData[0]); ++i) {
|
||||||
if (WriteVariable(&fileStream, variableTable, g_colorSaveData[i].m_targetName) == FAILURE)
|
if (WriteVariable(&fileStream, variableTable, g_colorSaveData[i].m_targetName) == FAILURE)
|
||||||
|
|
|
@ -8,9 +8,9 @@ AmbulanceMissionState::AmbulanceMissionState()
|
||||||
m_unk0x10 = 0;
|
m_unk0x10 = 0;
|
||||||
m_unk0x12 = 0;
|
m_unk0x12 = 0;
|
||||||
m_unk0x14 = 0;
|
m_unk0x14 = 0;
|
||||||
m_unk0x8 = 0;
|
m_unk0x08 = 0;
|
||||||
m_unk0x16 = 0;
|
m_unk0x16 = 0;
|
||||||
m_unk0xc = 0;
|
m_unk0x0c = 0;
|
||||||
m_unk0x18 = 0;
|
m_unk0x18 = 0;
|
||||||
m_color1 = 0;
|
m_color1 = 0;
|
||||||
m_color2 = 0;
|
m_color2 = 0;
|
||||||
|
|
|
@ -5,8 +5,8 @@ DECOMP_SIZE_ASSERT(HospitalState, 0x18)
|
||||||
// FUNCTION: LEGO1 0x10076370
|
// FUNCTION: LEGO1 0x10076370
|
||||||
HospitalState::HospitalState()
|
HospitalState::HospitalState()
|
||||||
{
|
{
|
||||||
this->m_unk0xc = 0;
|
this->m_unk0x0c = 0;
|
||||||
this->m_unk0xe = 0;
|
this->m_unk0x0e = 0;
|
||||||
this->m_unk0x10 = 0;
|
this->m_unk0x10 = 0;
|
||||||
this->m_unk0x12 = 0;
|
this->m_unk0x12 = 0;
|
||||||
this->m_unk0x14 = 0;
|
this->m_unk0x14 = 0;
|
||||||
|
|
|
@ -133,7 +133,7 @@ MxLong Infocenter::Notify(MxParam& p_param)
|
||||||
StopBookAnimation();
|
StopBookAnimation();
|
||||||
m_bookAnimationTimer = 0;
|
m_bookAnimationTimer = 0;
|
||||||
|
|
||||||
if (m_infocenterState->GetUnknown0x74() == 0xc) {
|
if (m_infocenterState->GetUnknown0x74() == 0x0c) {
|
||||||
StartCredits();
|
StartCredits();
|
||||||
m_infocenterState->SetUnknown0x74(0xd);
|
m_infocenterState->SetUnknown0x74(0xd);
|
||||||
}
|
}
|
||||||
|
|
|
@ -303,12 +303,12 @@ void Score::FillArea(MxU32 p_x, MxU32 p_y, MxS16 p_color)
|
||||||
data[0] = 0x11;
|
data[0] = 0x11;
|
||||||
data[17] = 0x28;
|
data[17] = 0x28;
|
||||||
data[18] = 0x28;
|
data[18] = 0x28;
|
||||||
data[1] = 0xf;
|
data[1] = 0x0f;
|
||||||
MxU32 size = data[p_x + 14];
|
MxU32 size = data[p_x + 14];
|
||||||
MxU8* ptr = data[p_x + 4] + data[p_y + 9] + m_surface;
|
MxU8* ptr = data[p_x + 4] + data[p_y + 9] + m_surface;
|
||||||
MxS32 count = data[p_y + 19];
|
MxS32 count = data[p_y + 19];
|
||||||
data[2] = 0x8;
|
data[2] = 0x08;
|
||||||
data[3] = 0x5;
|
data[3] = 0x05;
|
||||||
MxU32 value = data[p_color];
|
MxU32 value = data[p_color];
|
||||||
for (; count > 0; count--) {
|
for (; count > 0; count--) {
|
||||||
memset(ptr++, value, size);
|
memset(ptr++, value, size);
|
||||||
|
|
|
@ -13,7 +13,7 @@ Radio::Radio()
|
||||||
NotificationManager()->Register(this);
|
NotificationManager()->Register(this);
|
||||||
ControlManager()->Register(this);
|
ControlManager()->Register(this);
|
||||||
|
|
||||||
m_unk0xc = TRUE;
|
m_unk0x0c = TRUE;
|
||||||
CreateRadioState();
|
CreateRadioState();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,8 +33,8 @@ MxLong Radio::Notify(MxParam& p_param)
|
||||||
// FUNCTION: LEGO1 0x1002cdc0
|
// FUNCTION: LEGO1 0x1002cdc0
|
||||||
void Radio::Initialize(MxBool p_und)
|
void Radio::Initialize(MxBool p_und)
|
||||||
{
|
{
|
||||||
if (m_unk0xc != p_und) {
|
if (m_unk0x0c != p_und) {
|
||||||
m_unk0xc = p_und;
|
m_unk0x0c = p_und;
|
||||||
CreateRadioState();
|
CreateRadioState();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,8 +7,8 @@ DECOMP_SIZE_ASSERT(PoliceState, 0x10)
|
||||||
// FUNCTION: LEGO1 0x1005e7c0
|
// FUNCTION: LEGO1 0x1005e7c0
|
||||||
PoliceState::PoliceState()
|
PoliceState::PoliceState()
|
||||||
{
|
{
|
||||||
m_unk0xc = 0;
|
m_unk0x0c = 0;
|
||||||
m_unk0x8 = (rand() % 2 == 0) ? 501 : 500;
|
m_unk0x08 = (rand() % 2 == 0) ? 501 : 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1005e990
|
// FUNCTION: LEGO1 0x1005e990
|
||||||
|
@ -19,11 +19,11 @@ MxResult PoliceState::VTable0x1c(LegoFile* p_legoFile)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (p_legoFile->IsReadMode()) {
|
if (p_legoFile->IsReadMode()) {
|
||||||
p_legoFile->Read(&m_unk0x8, sizeof(m_unk0x8));
|
p_legoFile->Read(&m_unk0x08, sizeof(m_unk0x08));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
undefined4 unk0x8 = m_unk0x8;
|
undefined4 unk0x08 = m_unk0x08;
|
||||||
p_legoFile->Write(&unk0x8, sizeof(m_unk0x8));
|
p_legoFile->Write(&unk0x08, sizeof(m_unk0x08));
|
||||||
}
|
}
|
||||||
|
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
|
|
|
@ -202,8 +202,8 @@ void LegoAnimPresenter::EndAction()
|
||||||
// FUNCTION: LEGO1 0x100a0b30
|
// FUNCTION: LEGO1 0x100a0b30
|
||||||
LegoAnimClass::LegoAnimClass()
|
LegoAnimClass::LegoAnimClass()
|
||||||
{
|
{
|
||||||
m_unk0x8 = 0;
|
m_unk0x08 = 0;
|
||||||
m_unk0xc = 0;
|
m_unk0x0c = 0;
|
||||||
m_unk0x10 = 0;
|
m_unk0x10 = 0;
|
||||||
m_unk0x14 = 0;
|
m_unk0x14 = 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include "legostorage.h"
|
#include "legostorage.h"
|
||||||
#include "memory.h"
|
#include "memory.h"
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(LegoPaletteEntry, 0x3);
|
DECOMP_SIZE_ASSERT(LegoPaletteEntry, 0x03);
|
||||||
DECOMP_SIZE_ASSERT(LegoImage, 0x310);
|
DECOMP_SIZE_ASSERT(LegoImage, 0x310);
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100994c0
|
// FUNCTION: LEGO1 0x100994c0
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
class LegoStorage;
|
class LegoStorage;
|
||||||
|
|
||||||
// SIZE 0x3
|
// SIZE 0x03
|
||||||
class LegoPaletteEntry {
|
class LegoPaletteEntry {
|
||||||
public:
|
public:
|
||||||
LegoPaletteEntry();
|
LegoPaletteEntry();
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(LegoStorage, 0x8);
|
DECOMP_SIZE_ASSERT(LegoStorage, 0x08);
|
||||||
DECOMP_SIZE_ASSERT(LegoMemory, 0x10);
|
DECOMP_SIZE_ASSERT(LegoMemory, 0x10);
|
||||||
DECOMP_SIZE_ASSERT(LegoFile, 0xc);
|
DECOMP_SIZE_ASSERT(LegoFile, 0x0c);
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10099080
|
// FUNCTION: LEGO1 0x10099080
|
||||||
LegoMemory::LegoMemory(void* p_buffer) : LegoStorage()
|
LegoMemory::LegoMemory(void* p_buffer) : LegoStorage()
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include "legoimage.h"
|
#include "legoimage.h"
|
||||||
#include "legostorage.h"
|
#include "legostorage.h"
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(LegoTexture, 0x4);
|
DECOMP_SIZE_ASSERT(LegoTexture, 0x04);
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10098fb0
|
// FUNCTION: LEGO1 0x10098fb0
|
||||||
LegoTexture::LegoTexture()
|
LegoTexture::LegoTexture()
|
||||||
|
|
|
@ -9,17 +9,17 @@
|
||||||
class LegoStorage;
|
class LegoStorage;
|
||||||
|
|
||||||
// VTABLE: LEGO1 0x100db778
|
// VTABLE: LEGO1 0x100db778
|
||||||
// SIZE 0x4
|
// SIZE 0x04
|
||||||
class LegoTreeNodeData {
|
class LegoTreeNodeData {
|
||||||
public:
|
public:
|
||||||
LegoTreeNodeData() {}
|
LegoTreeNodeData() {}
|
||||||
virtual ~LegoTreeNodeData() {}
|
virtual ~LegoTreeNodeData() {}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10099fe0
|
// FUNCTION: LEGO1 0x10099fe0
|
||||||
virtual LegoResult Read(LegoStorage* p_storage) { return SUCCESS; } // vtable+0x4
|
virtual LegoResult Read(LegoStorage* p_storage) { return SUCCESS; } // vtable+0x04
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10099ff0
|
// FUNCTION: LEGO1 0x10099ff0
|
||||||
virtual LegoResult Write(LegoStorage* p_storage) { return SUCCESS; } // vtable+0x8
|
virtual LegoResult Write(LegoStorage* p_storage) { return SUCCESS; } // vtable+0x08
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x1009a000
|
// SYNTHETIC: LEGO1 0x1009a000
|
||||||
// LegoTreeNodeData::`scalar deleting destructor'
|
// LegoTreeNodeData::`scalar deleting destructor'
|
||||||
|
@ -44,21 +44,21 @@ class LegoTreeNode {
|
||||||
// LegoTreeNode::`scalar deleting destructor'
|
// LegoTreeNode::`scalar deleting destructor'
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
LegoTreeNodeData* m_data; // 0x4
|
LegoTreeNodeData* m_data; // 0x04
|
||||||
LegoU32 m_numChildren; // 0x8
|
LegoU32 m_numChildren; // 0x08
|
||||||
LegoTreeNode** m_children; // 0xc
|
LegoTreeNode** m_children; // 0x0c
|
||||||
};
|
};
|
||||||
|
|
||||||
// VTABLE: LEGO1 0x100db768
|
// VTABLE: LEGO1 0x100db768
|
||||||
// SIZE 0x8
|
// SIZE 0x08
|
||||||
class LegoTree {
|
class LegoTree {
|
||||||
public:
|
public:
|
||||||
LegoTree();
|
LegoTree();
|
||||||
virtual ~LegoTree();
|
virtual ~LegoTree();
|
||||||
LegoTreeNode* GetRoot() { return m_root; }
|
LegoTreeNode* GetRoot() { return m_root; }
|
||||||
void SetRoot(LegoTreeNode* p_root) { m_root = p_root; }
|
void SetRoot(LegoTreeNode* p_root) { m_root = p_root; }
|
||||||
virtual LegoResult Read(LegoStorage* p_storage); // vtable+0x4
|
virtual LegoResult Read(LegoStorage* p_storage); // vtable+0x04
|
||||||
virtual LegoResult Write(LegoStorage* p_storage); // vtable+0x8
|
virtual LegoResult Write(LegoStorage* p_storage); // vtable+0x08
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x10099de0
|
// SYNTHETIC: LEGO1 0x10099de0
|
||||||
// LegoTree::`scalar deleting destructor'
|
// LegoTree::`scalar deleting destructor'
|
||||||
|
@ -69,9 +69,9 @@ class LegoTree {
|
||||||
void Delete(LegoTreeNode* p_node);
|
void Delete(LegoTreeNode* p_node);
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10099f70
|
// FUNCTION: LEGO1 0x10099f70
|
||||||
virtual LegoTreeNodeData* CreateData() { return new LegoTreeNodeData(); } // vtable+0xc
|
virtual LegoTreeNodeData* CreateData() { return new LegoTreeNodeData(); } // vtable+0x0c
|
||||||
|
|
||||||
LegoTreeNode* m_root; // 0x4
|
LegoTreeNode* m_root; // 0x04
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __LEGOTREE_H
|
#endif // __LEGOTREE_H
|
||||||
|
|
|
@ -19,7 +19,7 @@ class LegoROI : public ViewROI {
|
||||||
public:
|
public:
|
||||||
LegoROI(Tgl::Renderer* p_renderer, ViewLODList* p_lodList, int p_time);
|
LegoROI(Tgl::Renderer* p_renderer, ViewLODList* p_lodList, int p_time);
|
||||||
|
|
||||||
virtual float IntrinsicImportance() const override; // vtable+0x4
|
virtual float IntrinsicImportance() const override; // vtable+0x04
|
||||||
// Note: Actually part of parent class (doesn't exist yet)
|
// Note: Actually part of parent class (doesn't exist yet)
|
||||||
virtual void UpdateWorldBoundingVolumes() override; // vtable+0x18
|
virtual void UpdateWorldBoundingVolumes() override; // vtable+0x18
|
||||||
|
|
||||||
|
|
|
@ -47,12 +47,12 @@ class MxActionNotificationParam : public MxNotificationParam {
|
||||||
virtual MxNotificationParam* Clone() override
|
virtual MxNotificationParam* Clone() override
|
||||||
{
|
{
|
||||||
return new MxActionNotificationParam(this->m_type, this->m_sender, this->m_action, this->m_realloc);
|
return new MxActionNotificationParam(this->m_type, this->m_sender, this->m_action, this->m_realloc);
|
||||||
}; // vtable+0x4
|
}; // vtable+0x04
|
||||||
|
|
||||||
inline MxDSAction* GetAction() { return m_action; }
|
inline MxDSAction* GetAction() { return m_action; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
MxDSAction* m_action; // 0xc
|
MxDSAction* m_action; // 0x0c
|
||||||
MxBool m_realloc; // 0x10
|
MxBool m_realloc; // 0x10
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -70,7 +70,7 @@ class MxStartActionNotificationParam : public MxActionNotificationParam {
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual MxNotificationParam* Clone() override; // vtable+0x4
|
virtual MxNotificationParam* Clone() override; // vtable+0x04
|
||||||
};
|
};
|
||||||
|
|
||||||
// VTABLE: LEGO1 0x100d8358
|
// VTABLE: LEGO1 0x100d8358
|
||||||
|
@ -96,7 +96,7 @@ class MxEndActionNotificationParam : public MxActionNotificationParam {
|
||||||
this->m_action,
|
this->m_action,
|
||||||
this->m_realloc
|
this->m_realloc
|
||||||
);
|
);
|
||||||
}; // vtable+0x4
|
}; // vtable+0x04
|
||||||
};
|
};
|
||||||
|
|
||||||
// VTABLE: LEGO1 0x100dc208
|
// VTABLE: LEGO1 0x100dc208
|
||||||
|
@ -109,7 +109,7 @@ class MxType4NotificationParam : public MxActionNotificationParam {
|
||||||
m_unk0x14 = p_unk0x14;
|
m_unk0x14 = p_unk0x14;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual MxNotificationParam* Clone() override; // vtable+0x4
|
virtual MxNotificationParam* Clone() override; // vtable+0x04
|
||||||
|
|
||||||
private:
|
private:
|
||||||
MxPresenter* m_unk0x14; // 0x14
|
MxPresenter* m_unk0x14; // 0x14
|
||||||
|
|
|
@ -134,8 +134,8 @@ class MxBitmap : public MxCore {
|
||||||
private:
|
private:
|
||||||
MxResult ImportColorsToPalette(RGBQUAD*, MxPalette*);
|
MxResult ImportColorsToPalette(RGBQUAD*, MxPalette*);
|
||||||
|
|
||||||
MxBITMAPINFO* m_info; // 0x8
|
MxBITMAPINFO* m_info; // 0x08
|
||||||
BITMAPINFOHEADER* m_bmiHeader; // 0xc
|
BITMAPINFOHEADER* m_bmiHeader; // 0x0c
|
||||||
RGBQUAD* m_paletteData; // 0x10
|
RGBQUAD* m_paletteData; // 0x10
|
||||||
MxU8* m_data; // 0x14
|
MxU8* m_data; // 0x14
|
||||||
MxBool m_isHighColor; // 0x18
|
MxBool m_isHighColor; // 0x18
|
||||||
|
|
|
@ -20,8 +20,8 @@ class MxCollection : public MxCore {
|
||||||
virtual MxS8 Compare(T, T) { return 0; }
|
virtual MxS8 Compare(T, T) { return 0; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
MxU32 m_count; // 0x8
|
MxU32 m_count; // 0x08
|
||||||
void (*m_customDestructor)(T); // 0xc
|
void (*m_customDestructor)(T); // 0x0c
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // MXCOLLECTION_H
|
#endif // MXCOLLECTION_H
|
||||||
|
|
|
@ -12,7 +12,7 @@ class MxCompositePresenterList : public list<MxPresenter*> {};
|
||||||
class MxCompositePresenter : public MxPresenter {
|
class MxCompositePresenter : public MxPresenter {
|
||||||
public:
|
public:
|
||||||
MxCompositePresenter();
|
MxCompositePresenter();
|
||||||
virtual ~MxCompositePresenter() override; // vtable+0x0
|
virtual ~MxCompositePresenter() override; // vtable+0x00
|
||||||
|
|
||||||
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
class MxParam;
|
class MxParam;
|
||||||
|
|
||||||
// VTABLE: LEGO1 0x100dc0f8
|
// VTABLE: LEGO1 0x100dc0f8
|
||||||
// SIZE 0x8
|
// SIZE 0x08
|
||||||
class MxCore {
|
class MxCore {
|
||||||
public:
|
public:
|
||||||
MxCore();
|
MxCore();
|
||||||
|
|
|
@ -17,7 +17,7 @@ class MxDiskStreamController : public MxStreamController {
|
||||||
MxDiskStreamController();
|
MxDiskStreamController();
|
||||||
virtual ~MxDiskStreamController() override;
|
virtual ~MxDiskStreamController() override;
|
||||||
|
|
||||||
virtual MxResult Tickle() override; // vtable+0x8
|
virtual MxResult Tickle() override; // vtable+0x08
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100c7360
|
// FUNCTION: LEGO1 0x100c7360
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -61,8 +61,8 @@ class MxDSChunk : public MxCore {
|
||||||
// MxDSChunk::`scalar deleting destructor'
|
// MxDSChunk::`scalar deleting destructor'
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
MxU16 m_flags; // 0x8
|
MxU16 m_flags; // 0x08
|
||||||
MxU32 m_objectId; // 0xc
|
MxU32 m_objectId; // 0x0c
|
||||||
MxLong m_time; // 0x10
|
MxLong m_time; // 0x10
|
||||||
MxU32 m_length; // 0x14
|
MxU32 m_length; // 0x14
|
||||||
MxU8* m_data; // 0x18
|
MxU8* m_data; // 0x18
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
class MxDSFile : public MxDSSource {
|
class MxDSFile : public MxDSSource {
|
||||||
public:
|
public:
|
||||||
MxDSFile(const char* p_filename, MxULong p_skipReadingChunks);
|
MxDSFile(const char* p_filename, MxULong p_skipReadingChunks);
|
||||||
virtual ~MxDSFile(); // vtable+0x0
|
virtual ~MxDSFile(); // vtable+0x00
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100c0120
|
// FUNCTION: LEGO1 0x100c0120
|
||||||
inline virtual const char* ClassName() const override // vtable+0x0c
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
|
|
|
@ -68,8 +68,8 @@ class MxDSObject : public MxCore {
|
||||||
// MxDSObject::`scalar deleting destructor'
|
// MxDSObject::`scalar deleting destructor'
|
||||||
|
|
||||||
private:
|
private:
|
||||||
MxU32 m_sizeOnDisk; // 0x8
|
MxU32 m_sizeOnDisk; // 0x08
|
||||||
MxU16 m_type; // 0xc
|
MxU16 m_type; // 0x0c
|
||||||
char* m_sourceName; // 0x10
|
char* m_sourceName; // 0x10
|
||||||
undefined4 m_unk0x14; // 0x14
|
undefined4 m_unk0x14; // 0x14
|
||||||
char* m_objectName; // 0x18
|
char* m_objectName; // 0x18
|
||||||
|
|
|
@ -18,7 +18,7 @@ class MxEntity : public MxCore {
|
||||||
virtual ~MxEntity() override{};
|
virtual ~MxEntity() override{};
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1000c180
|
// FUNCTION: LEGO1 0x1000c180
|
||||||
inline virtual const char* ClassName() const override // vtable+0xc
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
||||||
{
|
{
|
||||||
// STRING: LEGO1 0x100f0070
|
// STRING: LEGO1 0x100f0070
|
||||||
return "MxEntity";
|
return "MxEntity";
|
||||||
|
@ -52,8 +52,8 @@ class MxEntity : public MxCore {
|
||||||
// MxEntity::`scalar deleting destructor'
|
// MxEntity::`scalar deleting destructor'
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
MxS32 m_mxEntityId; // 0x8
|
MxS32 m_mxEntityId; // 0x08
|
||||||
MxAtomId m_atom; // 0xc
|
MxAtomId m_atom; // 0x0c
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // MXENTITY_H
|
#endif // MXENTITY_H
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue