Implement/match LegoWorld::FUN_1001fda0 (#840)

This commit is contained in:
Christian Semmler 2024-04-23 04:33:38 -04:00 committed by GitHub
parent 7efbb04999
commit 9025d5ed06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 17 additions and 2 deletions

View file

@ -5,6 +5,7 @@
#include "legopathactor.h"
#include "mxcore.h"
class LegoAnimPresenter;
class LegoPathBoundary;
class LegoWorld;
@ -41,6 +42,7 @@ class LegoPathController : public MxCore {
virtual void Destroy(); // vtable+0x18
undefined4 FUN_10046770(LegoPathActor* p_actor);
void FUN_100468f0(LegoAnimPresenter* p_presenter);
MxResult FUN_10046b30(LegoPathBoundary** p_path, MxS32& p_value);
void Enable(MxBool p_enable);
void FUN_10046bb0(LegoWorld* p_world);

View file

@ -299,10 +299,16 @@ void LegoWorld::FUN_1001fc80(IslePathActor* p_actor)
}
}
// STUB: LEGO1 0x1001fda0
// FUNCTION: LEGO1 0x1001fda0
// FUNCTION: BETA10 0x100da621
void LegoWorld::FUN_1001fda0(LegoAnimPresenter* p_presenter)
{
// TODO
LegoPathControllerListCursor cursor(&m_list0x68);
LegoPathController* controller;
while (cursor.Next(controller)) {
controller->FUN_100468f0(p_presenter);
}
}
// FUNCTION: LEGO1 0x1001ff80

View file

@ -33,6 +33,12 @@ undefined4 LegoPathController::FUN_10046770(LegoPathActor* p_actor)
return 0;
}
// STUB: LEGO1 0x100468f0
// FUNCTION: BETA10 0x100b72f7
void LegoPathController::FUN_100468f0(LegoAnimPresenter* p_presenter)
{
}
// STUB: LEGO1 0x10046b30
MxResult LegoPathController::FUN_10046b30(LegoPathBoundary** p_path, MxS32& p_value)
{

View file

@ -814,6 +814,7 @@ void LegoAnimPresenter::EndAction()
}
// FUNCTION: LEGO1 0x1006c7d0
// FUNCTION: BETA10 0x10051e07
void LegoAnimPresenter::VTable0x8c()
{
if (m_unk0x78) {