Various style fixes

This commit is contained in:
Christian Semmler 2024-03-22 20:00:04 -04:00
parent 6c9f888ea3
commit f4d1e39b7a
13 changed files with 27 additions and 11 deletions

View file

@ -35,6 +35,7 @@ class Act3Shark : public LegoAnimActor {
// SYNTHETIC: LEGO1 0x10043020 // SYNTHETIC: LEGO1 0x10043020
// Act3Shark::`scalar deleting destructor' // Act3Shark::`scalar deleting destructor'
private:
list<void*> m_unk0x1c; // 0x1c list<void*> m_unk0x1c; // 0x1c
undefined4 m_unk0x28; // 0x28 undefined4 m_unk0x28; // 0x28
undefined4 m_unk0x2c; // 0x2c undefined4 m_unk0x2c; // 0x2c

View file

@ -33,7 +33,7 @@ class Doors : public LegoPathActor {
undefined4 m_unk0x15c; // 0x15c undefined4 m_unk0x15c; // 0x15c
undefined4 m_unk0x160; // 0x160 undefined4 m_unk0x160; // 0x160
MxMatrix m_unk0x164; // 0x164 MxMatrix m_unk0x164; // 0x164
MxMatrix m_unk0x1ac; // 0x1fc MxMatrix m_unk0x1ac; // 0x1ac
undefined4 m_unk0x1f4; // 0x1f4 undefined4 m_unk0x1f4; // 0x1f4
}; };

View file

@ -9,7 +9,7 @@
// VTABLE: LEGO1 0x100d82e0 // VTABLE: LEGO1 0x100d82e0
// SIZE 0x1154 // SIZE 0x1154
class LegoAct2 : public LegoWorld { class LegoAct2 : public LegoWorld {
public:
MxLong Notify(MxParam& p_param) override; // vtable+0x04 MxLong Notify(MxParam& p_param) override; // vtable+0x04
MxResult Tickle() override; // vtable+0x08 MxResult Tickle() override; // vtable+0x08
MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18 MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
@ -21,7 +21,9 @@ class LegoAct2 : public LegoWorld {
// SYNTHETIC: LEGO1 0x1004fe20 // SYNTHETIC: LEGO1 0x1004fe20
// LegoAct2::`scalar deleting destructor' // LegoAct2::`scalar deleting destructor'
Act2Brick m_bricks[10]; // 0xf8
private:
Act2Brick m_bricks[10]; // 0x00f8
undefined m_unk0x10c0; // 0x10c0 undefined m_unk0x10c0; // 0x10c0
undefined m_unk0x10c1; // 0x10c1 undefined m_unk0x10c1; // 0x10c1
undefined m_unk0x10c2; // 0x10c2 undefined m_unk0x10c2; // 0x10c2

View file

@ -13,6 +13,7 @@
class LegoCarRaceActor : public virtual LegoRaceActor { class LegoCarRaceActor : public virtual LegoRaceActor {
public: public:
LegoCarRaceActor(); LegoCarRaceActor();
// FUNCTION: LEGO1 0x10081650 // FUNCTION: LEGO1 0x10081650
inline const char* ClassName() const override // vtable+0x0c inline const char* ClassName() const override // vtable+0x0c
{ {
@ -35,18 +36,25 @@ class LegoCarRaceActor : public virtual LegoRaceActor {
void VTable0x9c() override; // vtable+0x9c void VTable0x9c() override; // vtable+0x9c
virtual void FUN_10080590(); virtual void FUN_10080590();
// FUNCTION: LEGO1 0x10012bb0 // FUNCTION: LEGO1 0x10012bb0
virtual void FUN_10012bb0(float p_unk0x14) { m_unk0x14 = p_unk0x14; } virtual void FUN_10012bb0(float p_unk0x14) { m_unk0x14 = p_unk0x14; }
// FUNCTION: LEGO1 0x10012bc0 // FUNCTION: LEGO1 0x10012bc0
virtual float FUN_10012bc0() { return m_unk0x14; } virtual float FUN_10012bc0() { return m_unk0x14; }
// FUNCTION: LEGO1 0x10012bd0 // FUNCTION: LEGO1 0x10012bd0
virtual void FUN_10012bd0(float p_unk0x10) { m_unk0x10 = p_unk0x10; } virtual void FUN_10012bd0(float p_unk0x10) { m_unk0x10 = p_unk0x10; }
// FUNCTION: LEGO1 0x10012be0 // FUNCTION: LEGO1 0x10012be0
virtual float FUN_10012be0() { return m_unk0x10; } virtual float FUN_10012be0() { return m_unk0x10; }
// FUNCTION: LEGO1 0x10012bf0 // FUNCTION: LEGO1 0x10012bf0
virtual void FUN_10012bf0(float p_unk0x18) { m_unk0x18 = p_unk0x18; } virtual void FUN_10012bf0(float p_unk0x18) { m_unk0x18 = p_unk0x18; }
// FUNCTION: LEGO1 0x10012c00 // FUNCTION: LEGO1 0x10012c00
virtual float FUN_10012c00() { return m_unk0x18; } virtual float FUN_10012c00() { return m_unk0x18; }
virtual void VTable0x1c(); // vtable+0x1c virtual void VTable0x1c(); // vtable+0x1c
// SYNTHETIC: LEGO1 0x10081610 // SYNTHETIC: LEGO1 0x10081610

View file

@ -15,8 +15,8 @@ class MxString;
// SIZE 0x08 // SIZE 0x08
struct ColorStringStruct { struct ColorStringStruct {
const char* m_targetName; const char* m_targetName; // 0x00
const char* m_colorName; const char* m_colorName; // 0x04
}; };
// SIZE 0x430 // SIZE 0x430

View file

@ -15,6 +15,7 @@
class LegoJetski : public LegoJetskiRaceActor, public LegoRaceMap { class LegoJetski : public LegoJetskiRaceActor, public LegoRaceMap {
public: public:
LegoJetski(); LegoJetski();
MxLong Notify(MxParam& p_param) override; // vtable+0x04 MxLong Notify(MxParam& p_param) override; // vtable+0x04
// FUNCTION: LEGO1 0x10013e80 // FUNCTION: LEGO1 0x10013e80

View file

@ -13,6 +13,7 @@
class LegoJetskiRaceActor : public virtual LegoCarRaceActor { class LegoJetskiRaceActor : public virtual LegoCarRaceActor {
public: public:
LegoJetskiRaceActor(); LegoJetskiRaceActor();
// FUNCTION: LEGO1 0x10081d80 // FUNCTION: LEGO1 0x10081d80
inline const char* ClassName() const override // vtable+0x0c inline const char* ClassName() const override // vtable+0x0c
{ {

View file

@ -13,6 +13,7 @@
class LegoRaceActor : public virtual LegoAnimActor { class LegoRaceActor : public virtual LegoAnimActor {
public: public:
LegoRaceActor(); LegoRaceActor();
// FUNCTION: LEGO1 0x10014af0 // FUNCTION: LEGO1 0x10014af0
inline const char* ClassName() const override // vtable+0x0c inline const char* ClassName() const override // vtable+0x0c
{ {

View file

@ -1,5 +1,5 @@
#ifndef LEGOCARRACE_H #ifndef LEGORACECAR_H
#define LEGOCARRACE_H #define LEGORACECAR_H
#include "legocarraceactor.h" #include "legocarraceactor.h"
#include "legopathactor.h" #include "legopathactor.h"
@ -56,4 +56,4 @@ class LegoRaceCar : public LegoCarRaceActor, public LegoRaceMap {
undefined4 m_unk0x7c; // 0x7c undefined4 m_unk0x7c; // 0x7c
}; };
#endif // LEGOCARRACE_H #endif // LEGORACECAR_H

View file

@ -13,6 +13,7 @@
class LegoRaceMap : public virtual LegoRaceActor { class LegoRaceMap : public virtual LegoRaceActor {
public: public:
LegoRaceMap(); LegoRaceMap();
virtual void FUN_1005d4b0(); virtual void FUN_1005d4b0();
// SYNTHETIC: LEGO1 0x1005d5c0 // SYNTHETIC: LEGO1 0x1005d5c0

View file

@ -34,6 +34,7 @@ DECOMP_SIZE_ASSERT(LegoGameState::Username, 0x0e)
DECOMP_SIZE_ASSERT(LegoGameState::ScoreItem, 0x2c) DECOMP_SIZE_ASSERT(LegoGameState::ScoreItem, 0x2c)
DECOMP_SIZE_ASSERT(LegoGameState::History, 0x374) DECOMP_SIZE_ASSERT(LegoGameState::History, 0x374)
DECOMP_SIZE_ASSERT(LegoGameState, 0x430) DECOMP_SIZE_ASSERT(LegoGameState, 0x430)
DECOMP_SIZE_ASSERT(ColorStringStruct, 0x08)
// GLOBAL: LEGO1 0x100f3e40 // GLOBAL: LEGO1 0x100f3e40
// STRING: LEGO1 0x100f3e3c // STRING: LEGO1 0x100f3e3c

View file

@ -3,8 +3,8 @@
#include "mxmisc.h" #include "mxmisc.h"
#include "mxnotificationmanager.h" #include "mxnotificationmanager.h"
DECOMP_SIZE_ASSERT(LegoJetski, 0x1dc)
// Currently wrong due to a missing compiler added top pointer (See also missing code block in constructor) // Currently wrong due to a missing compiler added top pointer (See also missing code block in constructor)
DECOMP_SIZE_ASSERT(LegoJetski, 0x1dc)
// FUNCTION: LEGO1 0x100136f0 // FUNCTION: LEGO1 0x100136f0
void LegoJetski::FUN_100136f0(float p_worldSpeed) void LegoJetski::FUN_100136f0(float p_worldSpeed)