mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Implement/match IslePathActor::SpawnPlayer (#884)
* Implement/match IslePathActor::SpawnPlayer * Fix * Fix * Add skip * Rename param
This commit is contained in:

committed by
GitHub

parent
1b1d2ecde6
commit
45f9f54f21
@@ -272,6 +272,29 @@ done:
|
||||
return m_cameraController;
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1001f720
|
||||
// FUNCTION: BETA10 0x100da24b
|
||||
MxResult LegoWorld::FUN_1001f720(
|
||||
IslePathActor* p_actor,
|
||||
const char* p_path,
|
||||
MxS32 p_src,
|
||||
float p_srcScale,
|
||||
MxS32 p_dest,
|
||||
float p_destScale
|
||||
)
|
||||
{
|
||||
LegoPathControllerListCursor cursor(&m_list0x68);
|
||||
LegoPathController* controller;
|
||||
|
||||
while (cursor.Next(controller)) {
|
||||
if (controller->FUN_10045c20(p_actor, p_path, p_src, p_srcScale, p_dest, p_destScale) == SUCCESS) {
|
||||
return SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1001fa70
|
||||
undefined4 LegoWorld::FUN_1001fa70(IslePathActor* p_actor)
|
||||
{
|
||||
|
Reference in New Issue
Block a user