Implement LegoAct2::Tickle() and others (#1168)

* Implement `LegoAct2::Tickle()` and others

* Fix decomplint errors

* Minor cleanup

* Address review comments

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz
2024-11-25 23:24:46 +01:00
committed by GitHub
parent b9a1da6a7a
commit 83b85f26a7
14 changed files with 221 additions and 14 deletions

View File

@@ -878,6 +878,13 @@ void LegoAnimationManager::DeleteAnimations()
m_suspended = suspended;
}
// STUB: LEGO1 0x10060480
// STUB: BETA10 0x100412a9
void LegoAnimationManager::FUN_10060480(LegoChar* p_param1[], undefined4 p_param2)
{
// TODO
}
// FUNCTION: LEGO1 0x100604d0
// FUNCTION: BETA10 0x10041335
void LegoAnimationManager::FUN_100604d0(MxBool p_unk0x08)
@@ -887,6 +894,13 @@ void LegoAnimationManager::FUN_100604d0(MxBool p_unk0x08)
}
}
// STUB: LEGO1 0x100604f0
// STUB: BETA10 0x1004137b
void LegoAnimationManager::FUN_100604f0(MxS32* p_param1, undefined4 p_param2)
{
// TODO
}
// FUNCTION: LEGO1 0x10060540
// FUNCTION: BETA10 0x1004140f
void LegoAnimationManager::FUN_10060540(MxBool p_unk0x29)
@@ -1001,7 +1015,7 @@ MxResult LegoAnimationManager::FUN_100605e0(
LegoPathActor* actor = UserActor();
if (actor != NULL) {
actor->SetState(4);
actor->SetState(LegoPathActor::c_bit3);
actor->SetWorldSpeed(0.0f);
}
}
@@ -2762,7 +2776,7 @@ void LegoAnimationManager::FUN_100648f0(LegoTranInfo* p_tranInfo, MxLong p_unk0x
LegoPathActor* actor = UserActor();
if (actor != NULL) {
actor->SetState(4);
actor->SetState(LegoPathActor::c_bit3);
actor->SetWorldSpeed(0.0f);
}
@@ -2823,6 +2837,13 @@ void LegoAnimationManager::FUN_10064b50(MxLong p_time)
}
}
// STUB: LEGO1 0x10064ee0
undefined LegoAnimationManager::FUN_10064ee0(MxU32 p_param)
{
// TODO
return FALSE;
}
// FUNCTION: LEGO1 0x10064ff0
AnimState::AnimState()
{