mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 15:48:09 -05:00
Implement/match LegoWorld::FUN_1001fda0 (#840)
This commit is contained in:
parent
7efbb04999
commit
9025d5ed06
4 changed files with 17 additions and 2 deletions
|
@ -5,6 +5,7 @@
|
||||||
#include "legopathactor.h"
|
#include "legopathactor.h"
|
||||||
#include "mxcore.h"
|
#include "mxcore.h"
|
||||||
|
|
||||||
|
class LegoAnimPresenter;
|
||||||
class LegoPathBoundary;
|
class LegoPathBoundary;
|
||||||
class LegoWorld;
|
class LegoWorld;
|
||||||
|
|
||||||
|
@ -41,6 +42,7 @@ class LegoPathController : public MxCore {
|
||||||
virtual void Destroy(); // vtable+0x18
|
virtual void Destroy(); // vtable+0x18
|
||||||
|
|
||||||
undefined4 FUN_10046770(LegoPathActor* p_actor);
|
undefined4 FUN_10046770(LegoPathActor* p_actor);
|
||||||
|
void FUN_100468f0(LegoAnimPresenter* p_presenter);
|
||||||
MxResult FUN_10046b30(LegoPathBoundary** p_path, MxS32& p_value);
|
MxResult FUN_10046b30(LegoPathBoundary** p_path, MxS32& p_value);
|
||||||
void Enable(MxBool p_enable);
|
void Enable(MxBool p_enable);
|
||||||
void FUN_10046bb0(LegoWorld* p_world);
|
void FUN_10046bb0(LegoWorld* p_world);
|
||||||
|
|
|
@ -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)
|
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
|
// FUNCTION: LEGO1 0x1001ff80
|
||||||
|
|
|
@ -33,6 +33,12 @@ undefined4 LegoPathController::FUN_10046770(LegoPathActor* p_actor)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// STUB: LEGO1 0x100468f0
|
||||||
|
// FUNCTION: BETA10 0x100b72f7
|
||||||
|
void LegoPathController::FUN_100468f0(LegoAnimPresenter* p_presenter)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x10046b30
|
// STUB: LEGO1 0x10046b30
|
||||||
MxResult LegoPathController::FUN_10046b30(LegoPathBoundary** p_path, MxS32& p_value)
|
MxResult LegoPathController::FUN_10046b30(LegoPathBoundary** p_path, MxS32& p_value)
|
||||||
{
|
{
|
||||||
|
|
|
@ -814,6 +814,7 @@ void LegoAnimPresenter::EndAction()
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1006c7d0
|
// FUNCTION: LEGO1 0x1006c7d0
|
||||||
|
// FUNCTION: BETA10 0x10051e07
|
||||||
void LegoAnimPresenter::VTable0x8c()
|
void LegoAnimPresenter::VTable0x8c()
|
||||||
{
|
{
|
||||||
if (m_unk0x78) {
|
if (m_unk0x78) {
|
||||||
|
|
Loading…
Reference in a new issue