mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-27 10:24:18 +00:00
Implement/match LegoNavController::Notify (#1253)
* Implement/match `LegoNavController::Notify` * Move function * Add to total function count * Add OPT:REF to lego1
This commit is contained in:
committed by
GitHub
parent
bcc41256f8
commit
fe2a65c8da
@@ -676,7 +676,8 @@ void Act3::ReadyWorld()
|
||||
VideoManager()->Get3DManager()->SetFrustrum(90.0f, 0.1f, 125.0f);
|
||||
|
||||
m_unk0x426c = g_unk0x100d95e8[rand() % 3];
|
||||
AnimationManager()->FUN_10060dc0(m_unk0x426c, NULL, TRUE, FALSE, NULL, TRUE, FALSE, FALSE, FALSE);
|
||||
AnimationManager()
|
||||
->FUN_10060dc0(m_unk0x426c, NULL, TRUE, LegoAnimationManager::e_unk0, NULL, TRUE, FALSE, FALSE, FALSE);
|
||||
|
||||
m_state->m_unk0x08 = 1;
|
||||
}
|
||||
|
||||
@@ -757,7 +757,8 @@ void Isle::Enable(MxBool p_enable)
|
||||
break;
|
||||
}
|
||||
|
||||
AnimationManager()->FUN_10060dc0(script, NULL, TRUE, TRUE, NULL, FALSE, FALSE, TRUE, FALSE);
|
||||
AnimationManager()
|
||||
->FUN_10060dc0(script, NULL, TRUE, LegoAnimationManager::e_unk1, NULL, FALSE, FALSE, TRUE, FALSE);
|
||||
}
|
||||
|
||||
m_act1state->m_unk0x018 = 0;
|
||||
@@ -790,7 +791,8 @@ void Isle::Enable(MxBool p_enable)
|
||||
break;
|
||||
}
|
||||
|
||||
AnimationManager()->FUN_10060dc0(script, NULL, TRUE, TRUE, NULL, FALSE, FALSE, TRUE, FALSE);
|
||||
AnimationManager()
|
||||
->FUN_10060dc0(script, NULL, TRUE, LegoAnimationManager::e_unk1, NULL, FALSE, FALSE, TRUE, FALSE);
|
||||
}
|
||||
|
||||
m_act1state->m_unk0x018 = 0;
|
||||
|
||||
@@ -1167,12 +1167,30 @@ MxResult LegoAct2::FUN_10052560(
|
||||
MxResult result;
|
||||
|
||||
if (p_objectId == Act2mainScript::c_tja009ni_RunAnim) {
|
||||
result =
|
||||
AnimationManager()->FUN_10060dc0(p_objectId, pmatrix, TRUE, FALSE, NULL, TRUE, TRUE, TRUE, TRUE);
|
||||
result = AnimationManager()->FUN_10060dc0(
|
||||
p_objectId,
|
||||
pmatrix,
|
||||
TRUE,
|
||||
LegoAnimationManager::e_unk0,
|
||||
NULL,
|
||||
TRUE,
|
||||
TRUE,
|
||||
TRUE,
|
||||
TRUE
|
||||
);
|
||||
}
|
||||
else {
|
||||
result =
|
||||
AnimationManager()->FUN_10060dc0(p_objectId, pmatrix, TRUE, FALSE, NULL, TRUE, TRUE, TRUE, FALSE);
|
||||
result = AnimationManager()->FUN_10060dc0(
|
||||
p_objectId,
|
||||
pmatrix,
|
||||
TRUE,
|
||||
LegoAnimationManager::e_unk0,
|
||||
NULL,
|
||||
TRUE,
|
||||
TRUE,
|
||||
TRUE,
|
||||
FALSE
|
||||
);
|
||||
}
|
||||
|
||||
if (result == SUCCESS) {
|
||||
|
||||
Reference in New Issue
Block a user