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:
Christian Semmler 2024-01-29 16:17:17 -05:00 committed by GitHub
parent 35def3013a
commit bcdddd4c7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
147 changed files with 311 additions and 311 deletions

View file

@ -36,15 +36,15 @@ class Act1State : public LegoState {
// Act1State::`scalar deleting destructor'
protected:
undefined m_unk0x8[0x10]; // 0x8
MxU32 m_unk0x18; // 0x18
undefined2 m_unk0x1c; // 0x1c
undefined m_unk0x1e; // 0x1e
undefined m_unk0x1f; // 0x1f
undefined m_unk0x20; // 0x20
MxBool m_unk0x21; // 0x21
undefined m_unk0x22; // 0x22
// TODO
undefined m_unk0x08[0x10]; // 0x08
MxU32 m_unk0x18; // 0x18
undefined2 m_unk0x1c; // 0x1c
undefined m_unk0x1e; // 0x1e
undefined m_unk0x1f; // 0x1f
undefined m_unk0x20; // 0x20
MxBool m_unk0x21; // 0x21
undefined m_unk0x22; // 0x22
// TODO
};
#endif // ACT1STATE_H

View file

@ -8,9 +8,9 @@
class Act2Brick : public LegoPathActor {
public:
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
// FUNCTION: LEGO1 0x1007a360

View file

@ -7,7 +7,7 @@
// SIZE 0x68
class Act2PoliceStation : public LegoEntity {
public:
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
// FUNCTION: LEGO1 0x1000e200
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -11,8 +11,8 @@ class Act3 : public LegoWorld {
virtual ~Act3() override; // vtable+00
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
virtual MxResult Tickle() override; // vtable+0x8
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
virtual MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x10072510
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -4,7 +4,7 @@
#include "legostate.h"
// VTABLE: LEGO1 0x100d4fc8
// SIZE 0xc
// SIZE 0x0c
class Act3State : public LegoState {
public:
inline Act3State() { m_unk0x08 = 0; }

View file

@ -46,18 +46,18 @@ class AmbulanceMissionState : public LegoState {
// AmbulanceMissionState::`scalar deleting destructor'
protected:
undefined4 m_unk0x8; // 0x08
undefined4 m_unk0xc; // 0x0c
MxU16 m_unk0x10; // 0x10
MxU16 m_unk0x12; // 0x12
MxU16 m_unk0x14; // 0x14
MxU16 m_unk0x16; // 0x16
MxU16 m_unk0x18; // 0x18
MxU16 m_color1; // 0x1a
MxU16 m_color2; // 0x1c
MxU16 m_color3; // 0x1e
MxU16 m_color4; // 0x20
MxU16 m_color5; // 0x22
undefined4 m_unk0x08; // 0x08
undefined4 m_unk0x0c; // 0x0c
MxU16 m_unk0x10; // 0x10
MxU16 m_unk0x12; // 0x12
MxU16 m_unk0x14; // 0x14
MxU16 m_unk0x16; // 0x16
MxU16 m_unk0x18; // 0x18
MxU16 m_color1; // 0x1a
MxU16 m_color2; // 0x1c
MxU16 m_color3; // 0x1e
MxU16 m_color4; // 0x20
MxU16 m_color5; // 0x22
};
#endif // AMBULANCEMISSIONSTATE_H

View file

@ -8,7 +8,7 @@
class AnimState : public LegoState {
public:
AnimState();
virtual ~AnimState() override; // vtable+0x0
virtual ~AnimState() override; // vtable+0x00
// FUNCTION: LEGO1 0x10065070
inline virtual const char* ClassName() const override // vtable+0x0c
@ -30,8 +30,8 @@ class AnimState : public LegoState {
// AnimState::`scalar deleting destructor'
private:
undefined4 m_unk0x8; // 0x08
undefined4 m_unk0xc; // 0x0c
undefined4 m_unk0x08; // 0x08
undefined4 m_unk0x0c; // 0x0c
void* m_unk0x10; // 0x10
undefined4 m_unk0x14; // 0x14
void* m_unk0x18; // 0x18

View file

@ -8,9 +8,9 @@
class BuildingEntity : public LegoEntity {
public:
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
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -7,7 +7,7 @@
// VTABLE: LEGO1 0x100d6790
class BumpBouy : public LegoAnimActor {
public:
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
// FUNCTION: LEGO1 0x100274e0
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -9,9 +9,9 @@
class ElevatorBottom : public LegoWorld {
public:
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
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -11,10 +11,10 @@
class GasStation : public LegoWorld {
public:
GasStation();
virtual ~GasStation() override; // vtable+0x0
virtual ~GasStation() override; // vtable+0x00
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
virtual MxResult Tickle() override; // vtable+0x8
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
virtual MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x10004780
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -12,7 +12,7 @@ class HelicopterSubclass {
MxResult FUN_100040a0(Vector4& p_v, float p_f);
private:
Mx4DPointFloat m_unk0x0; // 0x0
Mx4DPointFloat m_unk0x00; // 0x00
Mx4DPointFloat m_unk0x18; // 0x18
undefined4 m_unk0x30; // 0x30
};
@ -22,7 +22,7 @@ class HelicopterSubclass {
class Helicopter : public IslePathActor {
public:
Helicopter();
virtual ~Helicopter() override; // vtable+0x0
virtual ~Helicopter() override; // vtable+0x00
// FUNCTION: LEGO1 0x10003070
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -5,7 +5,7 @@
#include "legostate.h"
// VTABLE: LEGO1 0x100d5418
// SIZE 0xc
// SIZE 0x0c
class HelicopterState : public LegoState {
public:
// FUNCTION: LEGO1 0x1000e0d0
@ -27,18 +27,18 @@ class HelicopterState : public LegoState {
// FUNCTION: LEGO1 0x1000e0c0
virtual MxBool SetFlag() override
{
m_unk0x8 = 0;
m_unk0x08 = 0;
return TRUE;
}; // vtable+0x18
inline void SetUnknown8(MxU32 p_unk0x8) { m_unk0x8 = p_unk0x8; }
inline MxU32 GetUnkown8() { return m_unk0x8; }
inline void SetUnknown8(MxU32 p_unk0x08) { m_unk0x08 = p_unk0x08; }
inline MxU32 GetUnkown8() { return m_unk0x08; }
// SYNTHETIC: LEGO1 0x1000e190
// HelicopterState::`scalar deleting destructor'
protected:
MxU32 m_unk0x8; // 0x8
MxU32 m_unk0x08; // 0x08
};
#endif // HELICOPTERSTATE_H

View file

@ -8,9 +8,9 @@
class HistoryBook : public LegoWorld {
public:
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
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -9,7 +9,7 @@
class Hospital : public LegoWorld {
public:
Hospital();
virtual ~Hospital() override; // vtable+0x0
virtual ~Hospital() override; // vtable+0x00
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
virtual MxResult Tickle() override; // vtable+0x08

View file

@ -30,13 +30,13 @@ class HospitalState : public LegoState {
// HospitalState::`scalar deleting destructor'
private:
undefined m_unk0x8[4]; // 0x8
undefined2 m_unk0xc; // 0xc
undefined2 m_unk0xe; // 0xe
undefined2 m_unk0x10; // 0x10
undefined2 m_unk0x12; // 0x12
undefined2 m_unk0x14; // 0x14
undefined2 m_unk0x16; // 0x16
undefined m_unk0x08[4]; // 0x08
undefined2 m_unk0x0c; // 0x0c
undefined2 m_unk0x0e; // 0x0e
undefined2 m_unk0x10; // 0x10
undefined2 m_unk0x12; // 0x12
undefined2 m_unk0x14; // 0x14
undefined2 m_unk0x16; // 0x16
};
#endif // HOSPITALSTATE_H

View file

@ -132,8 +132,8 @@ class Infocenter : public LegoWorld {
Infocenter();
virtual ~Infocenter() override;
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
virtual MxResult Tickle() override; // vtable+0x8
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
virtual MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x1006eb40
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -8,9 +8,9 @@
class InfocenterDoor : public LegoWorld {
public:
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
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -24,7 +24,7 @@ class Isle : public LegoWorld {
public:
Isle();
virtual ~Isle() override;
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
// FUNCTION: LEGO1 0x10030910
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -6,7 +6,7 @@
// VTABLE: LEGO1 0x100d5178
class IsleActor : public LegoActor {
public:
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
// FUNCTION: LEGO1 0x1000e660
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -15,9 +15,9 @@ class IslePathActor : public LegoPathActor {
IslePathActor();
// 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
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -10,8 +10,8 @@ class JukeBox : public LegoWorld {
public:
JukeBox();
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
virtual MxResult Tickle() override; // vtable+0x8
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
virtual MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x1005d6f0
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -8,9 +8,9 @@
class JukeBoxEntity : public LegoEntity {
public:
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
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -9,10 +9,10 @@
class LegoAnimationManager : public MxCore {
public:
LegoAnimationManager();
virtual ~LegoAnimationManager() override; // vtable+0x0
virtual ~LegoAnimationManager() override; // vtable+0x00
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
virtual MxResult Tickle() override; // vtable+0x8
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
virtual MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x1005ec80
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -87,11 +87,11 @@ class LegoAnimClass : public LegoTree {
virtual LegoTreeNodeData* CreateData() override; // vtable+0x0c
virtual MxResult VTable0x10(LegoMemory* p_stream, MxS32); // vtable+0x10
inline MxLong GetUnknown0x8() { return m_unk0x8; }
inline MxLong GetUnknown0x8() { return m_unk0x08; }
private:
MxLong m_unk0x8; // 0x08
undefined4 m_unk0xc; // 0x0c
MxLong m_unk0x08; // 0x08
undefined4 m_unk0x0c; // 0x0c
undefined4 m_unk0x10; // 0x10
undefined4 m_unk0x14; // 0x14
};

View file

@ -9,7 +9,7 @@
class LegoCacheSound : public MxCore {
public:
LegoCacheSound();
virtual ~LegoCacheSound() override; // vtable+0x0
virtual ~LegoCacheSound() override; // vtable+0x00
// FUNCTION: LEGO1 0x10006580
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -12,7 +12,7 @@
class LegoCameraController : public LegoPointOfViewController {
public:
LegoCameraController();
virtual ~LegoCameraController() override; // vtable+0x0
virtual ~LegoCameraController() override; // vtable+0x00
virtual MxLong Notify(MxParam& p_param) override; // vtable+04

View file

@ -10,8 +10,8 @@ class LegoCarBuild : public LegoWorld {
LegoCarBuild();
virtual ~LegoCarBuild() override;
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
virtual MxResult Tickle() override; // vtable+0x8
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
virtual MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x10022940
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -8,7 +8,7 @@
class LegoCarBuildAnimPresenter : public LegoAnimPresenter {
public:
LegoCarBuildAnimPresenter();
virtual ~LegoCarBuildAnimPresenter() override; // vtable+0x0
virtual ~LegoCarBuildAnimPresenter() override; // vtable+0x00
// FUNCTION: LEGO1 0x10078510
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -40,9 +40,9 @@ class LegoControlManagerEvent : public LegoEventNotificationParam {
class LegoControlManager : public MxCore {
public:
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
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -22,10 +22,10 @@ class LegoEntity : public MxEntity {
// FUNCTION: LEGO1 0x1000c290
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
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f0064
return "LegoEntity";

View file

@ -10,10 +10,10 @@ class LegoEntity;
class LegoEntityPresenter : public MxCompositePresenter {
public:
LegoEntityPresenter();
virtual ~LegoEntityPresenter() override; // vtable+0x0
virtual ~LegoEntityPresenter() override; // vtable+0x00
// FUNCTION: LEGO1 0x100534b0
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f06b8
return "LegoEntityPresenter";

View file

@ -18,7 +18,7 @@ class LegoEventNotificationParam : public MxNotificationParam {
new LegoEventNotificationParam(m_type, m_sender, m_modifier, m_x, m_y, m_key);
clone->m_roi = m_roi;
return clone;
}; // vtable+0x4
}; // vtable+0x04
inline LegoEventNotificationParam() : MxNotificationParam(c_notificationType0, NULL) {}
inline LegoEventNotificationParam(

View file

@ -7,7 +7,7 @@
class LegoExtraActor : public LegoAnimActor {
public:
// FUNCTION: LEGO1 0x1002b7a0
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f3204
return "LegoExtraActor";

View file

@ -11,7 +11,7 @@ class LegoFlcTexturePresenter : public MxFlcPresenter {
LegoFlcTexturePresenter();
// FUNCTION: LEGO1 0x1005def0
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f0634
return "LegoFlcTexturePresenter";

View file

@ -35,7 +35,7 @@ class LegoGameState {
void FUN_1003a720(MxU32);
void HandleAction(MxU32);
inline MxU8 GetUnknownC() { return m_unk0xc; }
inline MxU8 GetUnknownC() { return m_unk0x0c; }
inline MxU32 GetUnknown10() { return m_unk0x10; }
inline MxS32 GetCurrentAct() { return m_currentAct; }
inline undefined4 GetUnknown424() { return m_unk0x424; }
@ -61,10 +61,10 @@ class LegoGameState {
MxS32 ReadVariable(LegoStorage* p_stream, MxVariableTable* p_to);
void SetROIHandlerFunction();
char* m_savePath; // 0x0
MxS16 m_stateCount; // 0x4
LegoState** m_stateArray; // 0x8
MxU8 m_unk0xc; // 0xc
char* m_savePath; // 0x00
MxS16 m_stateCount; // 0x04
LegoState** m_stateArray; // 0x08
MxU8 m_unk0x0c; // 0x0c
MxU32 m_unk0x10; // 0x10
MxS32 m_currentAct; // 0x14
LegoBackgroundColor* m_backgroundColor; // 0x18

View file

@ -12,7 +12,7 @@ class LegoHideAnimPresenter : public LegoLoopingAnimPresenter {
virtual ~LegoHideAnimPresenter() override;
// FUNCTION: LEGO1 0x1006d880
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f06cc
return "LegoHideAnimPresenter";

View file

@ -75,7 +75,7 @@ class LegoInputManager : public MxPresenter {
void Register(MxCore*);
void UnRegister(MxCore*);
virtual MxResult Tickle() override; // vtable+0x8
virtual MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x1005b8c0
virtual MxResult PutData() override { return SUCCESS; }; // vtable+0x4c

View file

@ -9,7 +9,7 @@ class LegoJetski : public LegoJetskiRaceActor {
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
// FUNCTION: LEGO1 0x10013e80
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f053c
return "LegoJetski";

View file

@ -7,7 +7,7 @@
class LegoJetskiRaceActor : public LegoCarRaceActor {
public:
// FUNCTION: LEGO1 0x10081d80
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f0554
return "LegoJetskiRaceActor";

View file

@ -14,7 +14,7 @@ class LegoLoadCacheSoundPresenter : public MxWavePresenter {
virtual ~LegoLoadCacheSoundPresenter() override;
// FUNCTION: LEGO1 0x10018450
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f05a0
return "LegoLoadCacheSoundPresenter";

View file

@ -11,7 +11,7 @@ class LegoLocomotionAnimPresenter : public LegoLoopingAnimPresenter {
virtual ~LegoLocomotionAnimPresenter() override;
// FUNCTION: LEGO1 0x1006ce50
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f06e4
return "LegoLocomotionAnimPresenter";

View file

@ -8,7 +8,7 @@
class LegoLoopingAnimPresenter : public LegoAnimPresenter {
public:
// FUNCTION: LEGO1 0x1000c9a0
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f0700
return "LegoLoopingAnimPresenter";

View file

@ -12,7 +12,7 @@ class LegoModelPresenter : public MxVideoPresenter {
static void configureLegoModelPresenter(MxS32 p_modelPresenterConfig);
// FUNCTION: LEGO1 0x1000ccb0
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f067c
return "LegoModelPresenter";

View file

@ -37,11 +37,11 @@ class LegoNavController : public MxCore {
);
LegoNavController();
virtual ~LegoNavController() override; // vtable+0x0
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
virtual ~LegoNavController() override; // vtable+0x00
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
// FUNCTION: LEGO1 0x10054b80
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f66d8
return "LegoNavController";

View file

@ -10,10 +10,10 @@
class LegoPalettePresenter : public MxVideoPresenter {
public:
LegoPalettePresenter();
virtual ~LegoPalettePresenter() override; // vtable+0x0
virtual ~LegoPalettePresenter() override; // vtable+0x00
// FUNCTION: LEGO1 0x10079f30
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f061c
return "LegoPalettePresenter";

View file

@ -8,7 +8,7 @@
class LegoPartPresenter : public MxMediaPresenter {
public:
// FUNCTION: LEGO1 0x1000cf70
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f05d8
return "LegoPartPresenter";

View file

@ -13,7 +13,7 @@ class LegoPathActor : public LegoActor {
virtual ~LegoPathActor() override;
// FUNCTION: LEGO1 0x1000c430
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f0114
return "LegoPathActor";

View file

@ -13,7 +13,7 @@ class LegoPathController : public MxCore {
virtual MxResult Tickle() override; // vtable+08
// FUNCTION: LEGO1 0x10045110
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f11b8
return "LegoPathController";

View file

@ -11,7 +11,7 @@ class LegoPathPresenter : public MxMediaPresenter {
virtual ~LegoPathPresenter() override;
// FUNCTION: LEGO1 0x100449a0
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f0690
return "LegoPathPresenter";

View file

@ -11,10 +11,10 @@
class LegoPhonemePresenter : public MxFlcPresenter {
public:
LegoPhonemePresenter();
virtual ~LegoPhonemePresenter() override; // vtable+0x0
virtual ~LegoPhonemePresenter() override; // vtable+0x00
// FUNCTION: LEGO1 0x1004e310
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f064c
return "LegoPhonemePresenter";

View file

@ -9,12 +9,12 @@
class LegoPlantManager : public MxCore {
public:
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
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f318c
return "LegoPlantManager";

View file

@ -30,10 +30,10 @@ class LegoMouseController : public MxCore {
virtual void RightUp(int, int); // vtable+0x28
private:
BOOL m_isButtonDown; // 0x08
undefined4 m_unk0xc; // 0x0c
MxDouble m_buttonX; // 0x10
MxDouble m_buttonY; // 0x18
BOOL m_isButtonDown; // 0x08
undefined4 m_unk0x0c; // 0x0c
MxDouble m_buttonX; // 0x10
MxDouble m_buttonY; // 0x18
};
// SYNTHETIC: LEGO1 0x100655b0

View file

@ -11,12 +11,12 @@
class LegoRace : public LegoWorld {
public:
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
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f07c4
return "LegoRace";

View file

@ -8,7 +8,7 @@
class LegoRaceActor : public LegoAnimActor {
public:
// FUNCTION: LEGO1 0x10014af0
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f0bf4
return "LegoRaceActor";

View file

@ -11,7 +11,7 @@ class LegoRaceCar : public LegoCarRaceActor {
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
// FUNCTION: LEGO1 0x10014290
inline const char* ClassName() const override // vtable+0xc
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f0548
return "LegoRaceCar";

View file

@ -25,7 +25,7 @@ class LegoVideoManager : public MxVideoManager {
void EnableFullScreenMovie(MxBool p_enable, MxBool p_scale);
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 MxResult Create(MxVideoParam& p_videoParam, MxU32 p_frequencyMS, MxBool p_createThread)
override; // vtable+0x2c

View file

@ -33,10 +33,10 @@ class LegoWorld : public LegoEntity {
};
LegoWorld();
virtual ~LegoWorld() override; // vtable+0x0
virtual ~LegoWorld() override; // vtable+0x00
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
virtual MxResult Tickle() override; // vtable+0x8
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
virtual MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x1001d690
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -8,7 +8,7 @@
class LegoWorldPresenter : public LegoEntityPresenter {
public:
LegoWorldPresenter();
virtual ~LegoWorldPresenter() override; // vtable+0x0
virtual ~LegoWorldPresenter() override; // vtable+0x00
static void configureLegoWorldPresenter(MxS32 p_legoWorldPresenterQuality);

View file

@ -54,8 +54,8 @@ class MxBackgroundAudioManager : public MxCore {
MxResult OpenMusic(MxAtomId& p_script);
void DestroyMusic();
MxBool m_musicEnabled; // 0x8
MxDSAction m_action1; // 0xc
MxBool m_musicEnabled; // 0x08
MxDSAction m_action1; // 0x0c
MxAudioPresenter* m_unk0xa0;
MxDSAction m_action2; // 0xa4
MxAudioPresenter* m_unk0x138;

View file

@ -11,11 +11,11 @@
class MxTransitionManager : public MxCore {
public:
MxTransitionManager();
virtual ~MxTransitionManager() override; // vtable+0x0
virtual ~MxTransitionManager() override; // vtable+0x00
void SetWaitIndicator(MxVideoPresenter* p_waitIndicator);
virtual MxResult Tickle(); // vtable+0x8
virtual MxResult Tickle(); // vtable+0x08
// FUNCTION: LEGO1 0x1004b950
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -15,10 +15,10 @@ class Pizza : public IsleActor {
Pizza();
virtual ~Pizza() override;
virtual MxResult Tickle() override; // vtable+0x8
virtual MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x10037f90
inline const char* ClassName() const // vtable+0xc
inline const char* ClassName() const // vtable+0x0c
{
// STRING: LEGO1 0x100f038c
return "Pizza";

View file

@ -6,9 +6,9 @@
// SIZE 0x20
struct PizzaMissionStateEntry {
public:
undefined2 m_unk0x0;
undefined2 m_unk0x00;
MxU8 m_id;
undefined m_unk0x3[0x15];
undefined m_unk0x03[0x15];
MxU16 m_color;
undefined m_unk0x18[6];
};
@ -41,8 +41,8 @@ class PizzaMissionState : public LegoState {
PizzaMissionStateEntry* GetState(MxU8 p_id);
protected:
undefined4 m_unk0x8; // 0x08
undefined4 m_unk0xc; // 0x0c
undefined4 m_unk0x08; // 0x08
undefined4 m_unk0x0c; // 0x0c
PizzaMissionStateEntry m_state[5]; // 0x10
};

View file

@ -13,12 +13,12 @@
class Police : public LegoWorld {
public:
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
inline virtual const char* ClassName() const override // vtable+0xc
inline virtual const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f0450
return "Police";

View file

@ -8,7 +8,7 @@
class PoliceEntity : public BuildingEntity {
public:
// FUNCTION: LEGO1 0x1000ed60
inline virtual const char* ClassName() const override // vtable+0xc
inline virtual const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f0328
return "PoliceEntity";

View file

@ -30,8 +30,8 @@ class PoliceState : public LegoState {
// PoliceState::`scalar deleting destructor'
private:
undefined4 m_unk0x8; // 0x8
undefined4 m_unk0xc; // 0xc
undefined4 m_unk0x08; // 0x08
undefined4 m_unk0x0c; // 0x0c
};
#endif // POLICESTATE_H

View file

@ -9,7 +9,7 @@
class RaceCar : public IslePathActor {
public:
RaceCar();
virtual ~RaceCar() override; // vtable+0x0
virtual ~RaceCar() override; // vtable+0x00
// FUNCTION: LEGO1 0x10028270
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -6,8 +6,8 @@
struct RaceStateEntry {
public:
MxU8 m_id;
undefined m_unk0x1[1];
MxU16 m_unk0x2;
undefined m_unk0x01[1];
MxU16 m_unk0x02;
MxU16 m_color;
};

View file

@ -32,7 +32,7 @@ class Radio : public MxCore {
private:
RadioState* m_state; // 0x08
MxBool m_unk0xc; // 0x0c
MxBool m_unk0x0c; // 0x0c
void CreateRadioState();
};

View file

@ -8,10 +8,10 @@
class RegistrationBook : public LegoWorld {
public:
RegistrationBook();
virtual ~RegistrationBook() override; // vtable+0x0
virtual ~RegistrationBook() override; // vtable+0x00
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
virtual MxResult Tickle() override; // vtable+0x8
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
virtual MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x10076e10
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -12,8 +12,8 @@
class Score : public LegoWorld {
public:
Score();
virtual ~Score() override; // vtable+0x0
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x4
virtual ~Score() override; // vtable+0x00
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04
// FUNCTION: LEGO1 0x100010c0
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -4,7 +4,7 @@
#include "legostate.h"
// VTABLE: LEGO1 0x100d53f8
// SIZE 0xc
// SIZE 0x0c
class ScoreState : public LegoState {
public:
// FUNCTION: LEGO1 0x1000de40

View file

@ -342,7 +342,7 @@ MxResult HelicopterSubclass::FUN_100040a0(Vector4& p_v, float p_f)
{
MxU32 state = m_unk0x30;
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;
return p_v.NormalizeQuaternion();
}
@ -352,7 +352,7 @@ MxResult HelicopterSubclass::FUN_100040a0(Vector4& p_v, float p_f)
return p_v.NormalizeQuaternion();
}
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 (1 - d1 > 0.00001) {
double d = acos(d1);
@ -365,18 +365,18 @@ MxResult HelicopterSubclass::FUN_100040a0(Vector4& p_v, float p_f)
d2 = p_f;
}
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;
}
p_v[0] = -m_unk0x0[1];
p_v[1] = m_unk0x0[1];
p_v[2] = -m_unk0x0[3];
p_v[3] = m_unk0x0[2];
p_v[0] = -m_unk0x00[1];
p_v[1] = m_unk0x00[1];
p_v[2] = -m_unk0x00[3];
p_v[3] = m_unk0x00[2];
d1 = sin((1 - p_f) * 1.570796326794895);
d2 = sin(p_f * 1.570796326794895);
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;
}

View file

@ -3,7 +3,7 @@
#include "decomp.h"
DECOMP_SIZE_ASSERT(LegoVehicleBuildState, 0x50); // 1000acd7
DECOMP_SIZE_ASSERT(LegoVehicleBuildState::UnkStruct, 0xc);
DECOMP_SIZE_ASSERT(LegoVehicleBuildState::UnkStruct, 0x0c);
// FUNCTION: LEGO1 0x10017c00
LegoVehicleBuildState::UnkStruct::UnkStruct()

View file

@ -5,7 +5,7 @@ DECOMP_SIZE_ASSERT(AnimState, 0x1c);
// FUNCTION: LEGO1 0x10064ff0
AnimState::AnimState()
{
m_unk0xc = 0;
m_unk0x0c = 0;
m_unk0x10 = NULL;
m_unk0x14 = 0;
m_unk0x18 = NULL;

View file

@ -47,7 +47,7 @@ void GifManager::FUN_10099cc0(GifData* p_data)
for (GifList::iterator it = m_list.begin(); it != m_list.end(); it++) {
#endif
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;
if (p_data->m_texture->Release() == TRUE) {

View file

@ -67,7 +67,7 @@ LegoGameState::LegoGameState()
SetROIHandlerFunction();
this->m_stateCount = 0;
this->m_unk0xc = 0;
this->m_unk0x0c = 0;
this->m_savePath = NULL;
this->m_unk0x424 = 0;
this->m_prevArea = 0;
@ -131,7 +131,7 @@ MxResult LegoGameState::Save(MxULong p_slot)
fileStream.Write(&maybeVersion, 4);
fileStream.Write(&m_unk0x24, 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) {
if (WriteVariable(&fileStream, variableTable, g_colorSaveData[i].m_targetName) == FAILURE)

View file

@ -8,9 +8,9 @@ AmbulanceMissionState::AmbulanceMissionState()
m_unk0x10 = 0;
m_unk0x12 = 0;
m_unk0x14 = 0;
m_unk0x8 = 0;
m_unk0x08 = 0;
m_unk0x16 = 0;
m_unk0xc = 0;
m_unk0x0c = 0;
m_unk0x18 = 0;
m_color1 = 0;
m_color2 = 0;

View file

@ -5,8 +5,8 @@ DECOMP_SIZE_ASSERT(HospitalState, 0x18)
// FUNCTION: LEGO1 0x10076370
HospitalState::HospitalState()
{
this->m_unk0xc = 0;
this->m_unk0xe = 0;
this->m_unk0x0c = 0;
this->m_unk0x0e = 0;
this->m_unk0x10 = 0;
this->m_unk0x12 = 0;
this->m_unk0x14 = 0;

View file

@ -133,7 +133,7 @@ MxLong Infocenter::Notify(MxParam& p_param)
StopBookAnimation();
m_bookAnimationTimer = 0;
if (m_infocenterState->GetUnknown0x74() == 0xc) {
if (m_infocenterState->GetUnknown0x74() == 0x0c) {
StartCredits();
m_infocenterState->SetUnknown0x74(0xd);
}

View file

@ -303,12 +303,12 @@ void Score::FillArea(MxU32 p_x, MxU32 p_y, MxS16 p_color)
data[0] = 0x11;
data[17] = 0x28;
data[18] = 0x28;
data[1] = 0xf;
data[1] = 0x0f;
MxU32 size = data[p_x + 14];
MxU8* ptr = data[p_x + 4] + data[p_y + 9] + m_surface;
MxS32 count = data[p_y + 19];
data[2] = 0x8;
data[3] = 0x5;
data[2] = 0x08;
data[3] = 0x05;
MxU32 value = data[p_color];
for (; count > 0; count--) {
memset(ptr++, value, size);

View file

@ -13,7 +13,7 @@ Radio::Radio()
NotificationManager()->Register(this);
ControlManager()->Register(this);
m_unk0xc = TRUE;
m_unk0x0c = TRUE;
CreateRadioState();
}
@ -33,8 +33,8 @@ MxLong Radio::Notify(MxParam& p_param)
// FUNCTION: LEGO1 0x1002cdc0
void Radio::Initialize(MxBool p_und)
{
if (m_unk0xc != p_und) {
m_unk0xc = p_und;
if (m_unk0x0c != p_und) {
m_unk0x0c = p_und;
CreateRadioState();
}
}

View file

@ -7,8 +7,8 @@ DECOMP_SIZE_ASSERT(PoliceState, 0x10)
// FUNCTION: LEGO1 0x1005e7c0
PoliceState::PoliceState()
{
m_unk0xc = 0;
m_unk0x8 = (rand() % 2 == 0) ? 501 : 500;
m_unk0x0c = 0;
m_unk0x08 = (rand() % 2 == 0) ? 501 : 500;
}
// FUNCTION: LEGO1 0x1005e990
@ -19,11 +19,11 @@ MxResult PoliceState::VTable0x1c(LegoFile* p_legoFile)
}
if (p_legoFile->IsReadMode()) {
p_legoFile->Read(&m_unk0x8, sizeof(m_unk0x8));
p_legoFile->Read(&m_unk0x08, sizeof(m_unk0x08));
}
else {
undefined4 unk0x8 = m_unk0x8;
p_legoFile->Write(&unk0x8, sizeof(m_unk0x8));
undefined4 unk0x08 = m_unk0x08;
p_legoFile->Write(&unk0x08, sizeof(m_unk0x08));
}
return SUCCESS;

View file

@ -202,8 +202,8 @@ void LegoAnimPresenter::EndAction()
// FUNCTION: LEGO1 0x100a0b30
LegoAnimClass::LegoAnimClass()
{
m_unk0x8 = 0;
m_unk0xc = 0;
m_unk0x08 = 0;
m_unk0x0c = 0;
m_unk0x10 = 0;
m_unk0x14 = 0;
}

View file

@ -4,7 +4,7 @@
#include "legostorage.h"
#include "memory.h"
DECOMP_SIZE_ASSERT(LegoPaletteEntry, 0x3);
DECOMP_SIZE_ASSERT(LegoPaletteEntry, 0x03);
DECOMP_SIZE_ASSERT(LegoImage, 0x310);
// FUNCTION: LEGO1 0x100994c0

View file

@ -5,7 +5,7 @@
class LegoStorage;
// SIZE 0x3
// SIZE 0x03
class LegoPaletteEntry {
public:
LegoPaletteEntry();

View file

@ -5,9 +5,9 @@
#include <memory.h>
#include <string.h>
DECOMP_SIZE_ASSERT(LegoStorage, 0x8);
DECOMP_SIZE_ASSERT(LegoStorage, 0x08);
DECOMP_SIZE_ASSERT(LegoMemory, 0x10);
DECOMP_SIZE_ASSERT(LegoFile, 0xc);
DECOMP_SIZE_ASSERT(LegoFile, 0x0c);
// FUNCTION: LEGO1 0x10099080
LegoMemory::LegoMemory(void* p_buffer) : LegoStorage()

View file

@ -4,7 +4,7 @@
#include "legoimage.h"
#include "legostorage.h"
DECOMP_SIZE_ASSERT(LegoTexture, 0x4);
DECOMP_SIZE_ASSERT(LegoTexture, 0x04);
// FUNCTION: LEGO1 0x10098fb0
LegoTexture::LegoTexture()

View file

@ -9,17 +9,17 @@
class LegoStorage;
// VTABLE: LEGO1 0x100db778
// SIZE 0x4
// SIZE 0x04
class LegoTreeNodeData {
public:
LegoTreeNodeData() {}
virtual ~LegoTreeNodeData() {}
// 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
virtual LegoResult Write(LegoStorage* p_storage) { return SUCCESS; } // vtable+0x8
virtual LegoResult Write(LegoStorage* p_storage) { return SUCCESS; } // vtable+0x08
// SYNTHETIC: LEGO1 0x1009a000
// LegoTreeNodeData::`scalar deleting destructor'
@ -44,21 +44,21 @@ class LegoTreeNode {
// LegoTreeNode::`scalar deleting destructor'
protected:
LegoTreeNodeData* m_data; // 0x4
LegoU32 m_numChildren; // 0x8
LegoTreeNode** m_children; // 0xc
LegoTreeNodeData* m_data; // 0x04
LegoU32 m_numChildren; // 0x08
LegoTreeNode** m_children; // 0x0c
};
// VTABLE: LEGO1 0x100db768
// SIZE 0x8
// SIZE 0x08
class LegoTree {
public:
LegoTree();
virtual ~LegoTree();
LegoTreeNode* GetRoot() { return m_root; }
void SetRoot(LegoTreeNode* p_root) { m_root = p_root; }
virtual LegoResult Read(LegoStorage* p_storage); // vtable+0x4
virtual LegoResult Write(LegoStorage* p_storage); // vtable+0x8
virtual LegoResult Read(LegoStorage* p_storage); // vtable+0x04
virtual LegoResult Write(LegoStorage* p_storage); // vtable+0x08
// SYNTHETIC: LEGO1 0x10099de0
// LegoTree::`scalar deleting destructor'
@ -69,9 +69,9 @@ class LegoTree {
void Delete(LegoTreeNode* p_node);
// 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

View file

@ -19,7 +19,7 @@ class LegoROI : public ViewROI {
public:
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)
virtual void UpdateWorldBoundingVolumes() override; // vtable+0x18

View file

@ -47,12 +47,12 @@ class MxActionNotificationParam : public MxNotificationParam {
virtual MxNotificationParam* Clone() override
{
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; }
protected:
MxDSAction* m_action; // 0xc
MxDSAction* m_action; // 0x0c
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
@ -96,7 +96,7 @@ class MxEndActionNotificationParam : public MxActionNotificationParam {
this->m_action,
this->m_realloc
);
}; // vtable+0x4
}; // vtable+0x04
};
// VTABLE: LEGO1 0x100dc208
@ -109,7 +109,7 @@ class MxType4NotificationParam : public MxActionNotificationParam {
m_unk0x14 = p_unk0x14;
}
virtual MxNotificationParam* Clone() override; // vtable+0x4
virtual MxNotificationParam* Clone() override; // vtable+0x04
private:
MxPresenter* m_unk0x14; // 0x14

View file

@ -134,8 +134,8 @@ class MxBitmap : public MxCore {
private:
MxResult ImportColorsToPalette(RGBQUAD*, MxPalette*);
MxBITMAPINFO* m_info; // 0x8
BITMAPINFOHEADER* m_bmiHeader; // 0xc
MxBITMAPINFO* m_info; // 0x08
BITMAPINFOHEADER* m_bmiHeader; // 0x0c
RGBQUAD* m_paletteData; // 0x10
MxU8* m_data; // 0x14
MxBool m_isHighColor; // 0x18

View file

@ -20,8 +20,8 @@ class MxCollection : public MxCore {
virtual MxS8 Compare(T, T) { return 0; }
protected:
MxU32 m_count; // 0x8
void (*m_customDestructor)(T); // 0xc
MxU32 m_count; // 0x08
void (*m_customDestructor)(T); // 0x0c
};
#endif // MXCOLLECTION_H

View file

@ -12,7 +12,7 @@ class MxCompositePresenterList : public list<MxPresenter*> {};
class MxCompositePresenter : public MxPresenter {
public:
MxCompositePresenter();
virtual ~MxCompositePresenter() override; // vtable+0x0
virtual ~MxCompositePresenter() override; // vtable+0x00
virtual MxLong Notify(MxParam& p_param) override; // vtable+0x04

View file

@ -9,7 +9,7 @@
class MxParam;
// VTABLE: LEGO1 0x100dc0f8
// SIZE 0x8
// SIZE 0x08
class MxCore {
public:
MxCore();

View file

@ -17,7 +17,7 @@ class MxDiskStreamController : public MxStreamController {
MxDiskStreamController();
virtual ~MxDiskStreamController() override;
virtual MxResult Tickle() override; // vtable+0x8
virtual MxResult Tickle() override; // vtable+0x08
// FUNCTION: LEGO1 0x100c7360
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -61,8 +61,8 @@ class MxDSChunk : public MxCore {
// MxDSChunk::`scalar deleting destructor'
protected:
MxU16 m_flags; // 0x8
MxU32 m_objectId; // 0xc
MxU16 m_flags; // 0x08
MxU32 m_objectId; // 0x0c
MxLong m_time; // 0x10
MxU32 m_length; // 0x14
MxU8* m_data; // 0x18

View file

@ -12,7 +12,7 @@
class MxDSFile : public MxDSSource {
public:
MxDSFile(const char* p_filename, MxULong p_skipReadingChunks);
virtual ~MxDSFile(); // vtable+0x0
virtual ~MxDSFile(); // vtable+0x00
// FUNCTION: LEGO1 0x100c0120
inline virtual const char* ClassName() const override // vtable+0x0c

View file

@ -68,8 +68,8 @@ class MxDSObject : public MxCore {
// MxDSObject::`scalar deleting destructor'
private:
MxU32 m_sizeOnDisk; // 0x8
MxU16 m_type; // 0xc
MxU32 m_sizeOnDisk; // 0x08
MxU16 m_type; // 0x0c
char* m_sourceName; // 0x10
undefined4 m_unk0x14; // 0x14
char* m_objectName; // 0x18

View file

@ -18,7 +18,7 @@ class MxEntity : public MxCore {
virtual ~MxEntity() override{};
// FUNCTION: LEGO1 0x1000c180
inline virtual const char* ClassName() const override // vtable+0xc
inline virtual const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f0070
return "MxEntity";
@ -52,8 +52,8 @@ class MxEntity : public MxCore {
// MxEntity::`scalar deleting destructor'
protected:
MxS32 m_mxEntityId; // 0x8
MxAtomId m_atom; // 0xc
MxS32 m_mxEntityId; // 0x08
MxAtomId m_atom; // 0x0c
};
#endif // MXENTITY_H

Some files were not shown because too many files have changed in this diff Show more