Implement/match LegoAct2::HandlePathStruct (#1187)

* Implement/match `LegoAct2::HandlePathStruct`

* Add Act2Brick::FUN_1007a670

* Add Act2Brick::Create

* Name variable

* Add stdio.h
This commit is contained in:
Christian Semmler
2024-12-03 13:31:24 -07:00
committed by GitHub
parent 3c624ff14c
commit 5693b1a266
6 changed files with 149 additions and 9 deletions

View File

@@ -29,6 +29,7 @@ public:
void FUN_10018980();
void FUN_10019520();
void FUN_10019560();
void FUN_100192a0(undefined4 p_param);
// SYNTHETIC: LEGO1 0x1001a0a0

View File

@@ -31,12 +31,15 @@ public:
// SYNTHETIC: LEGO1 0x1007a450
// Act2Brick::`scalar deleting destructor'
MxResult Create(MxS32 p_index);
void Remove();
void FUN_1007a670(MxMatrix& p_param1, MxMatrix& p_param2, LegoPathBoundary* p_boundary);
void PlayWhistleSound();
void StopWhistleSound();
void Mute(MxBool p_muted);
private:
static LegoChar* g_lodNames[];
static MxLong g_lastHitActorTime;
LegoCacheSound* m_whistleSound; // 0x154

View File

@@ -81,6 +81,8 @@ private:
void InitBricks();
void UninitBricks();
void FUN_10051ac0();
void FUN_10051fa0(MxS32 p_param1);
void FUN_100521f0(MxS32 p_param1);
MxResult FUN_10052560(
Act2mainScript::Script p_objectId,
MxBool p_param2,
@@ -92,7 +94,7 @@ private:
MxResult FUN_10052800();
Act2Brick m_bricks[10]; // 0x00f8
undefined m_unk0x10c0; // 0x10c0
undefined m_nextBrick; // 0x10c0
undefined m_unk0x10c1; // 0x10c1
MxBool m_ready; // 0x10c2
undefined4 m_unk0x10c4; // 0x10c4