Implement/match actor Create functions (#949)

This commit is contained in:
Christian Semmler
2024-05-24 14:44:09 -04:00
committed by GitHub
parent 63719ef689
commit e59d684f37
11 changed files with 55 additions and 23 deletions

View File

@@ -24,8 +24,6 @@ public:
MxResult Serialize(LegoFile* p_legoFile) override; // vtable+0x1c
inline void SetUnknown0x08(undefined4 p_unk0x08) { m_unk0x08 = p_unk0x08; }
inline MxU16 GetScore(MxU8 p_id)
{
switch (p_id) {
@@ -47,7 +45,6 @@ public:
// SYNTHETIC: LEGO1 0x100376c0
// AmbulanceMissionState::`scalar deleting destructor'
protected:
undefined4 m_unk0x08; // 0x08
undefined4 m_unk0x0c; // 0x0c
MxU16 m_unk0x10; // 0x10

View File

@@ -49,7 +49,7 @@ public:
// FUNCTION: LEGO1 0x1000e650
virtual undefined4 VTable0x80(MxParam&) { return 0; } // vtable+0x80
private:
protected:
LegoWorld* m_world; // 0x78
};

View File

@@ -128,9 +128,6 @@ public:
// SYNTHETIC: LEGO1 0x10002ff0
// IslePathActor::`scalar deleting destructor'
inline void SetWorld(LegoWorld* p_world) { m_world = p_world; }
inline LegoWorld* GetWorld() { return m_world; }
void FUN_1001b660();
static void RegisterSpawnLocations();

View File

@@ -4,6 +4,7 @@
#include "mxvariable.h"
extern const char* g_varAMBULFUEL;
extern const char* g_varTOWFUEL;
extern const char* g_varVISIBILITY;
extern const char* g_varCAMERALOCATION;
extern const char* g_varCURSOR;

View File

@@ -51,7 +51,7 @@ private:
MxS32 m_unk0x170; // 0x170
MxS32 m_unk0x174; // 0x174
MxFloat m_unk0x178; // 0x178
undefined4 m_unk0x17c; // 0x17c
MxFloat m_time; // 0x17c
};
#endif // TOWTRACK_H

View File

@@ -45,7 +45,6 @@ public:
// SYNTHETIC: LEGO1 0x1004e060
// TowTrackMissionState::`scalar deleting destructor'
protected:
undefined4 m_unk0x08; // 0x08
undefined4 m_unk0x0c; // 0x0c
MxU8 m_unk0x10; // 0x10