mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 15:37:55 -05:00
Implement/match LegoAnimationManager::FUN_10060570 (#886)
This commit is contained in:
parent
253882bdcb
commit
bac891cb0c
2 changed files with 20 additions and 4 deletions
|
@ -82,7 +82,7 @@ class LegoAnimationManager : public MxCore {
|
|||
MxBool FindVehicle(const char* p_name, MxU32& p_index);
|
||||
MxResult ReadAnimInfo(LegoFile* p_file, AnimInfo* p_info);
|
||||
MxResult ReadModelInfo(LegoFile* p_file, ModelInfo* p_info);
|
||||
void FUN_10060570(MxBool);
|
||||
void FUN_10060570(MxBool p_unk0x1a);
|
||||
MxResult StartEntityAction(MxDSAction& p_dsAction, LegoEntity* p_entity);
|
||||
MxResult FUN_10060dc0(
|
||||
IsleScript::Script p_objectId,
|
||||
|
|
|
@ -667,10 +667,26 @@ void LegoAnimationManager::DeleteAnimations()
|
|||
m_suspended = suspended;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10060570
|
||||
void LegoAnimationManager::FUN_10060570(MxBool)
|
||||
// FUNCTION: LEGO1 0x10060570
|
||||
// FUNCTION: BETA10 0x10041463
|
||||
void LegoAnimationManager::FUN_10060570(MxBool p_unk0x1a)
|
||||
{
|
||||
// TODO
|
||||
m_unk0x39 = FALSE;
|
||||
m_unk0x430 = FALSE;
|
||||
m_unk0x42c = NULL;
|
||||
|
||||
if (m_unk0x1a != p_unk0x1a && (m_unk0x1a = p_unk0x1a)) {
|
||||
do {
|
||||
if (FUN_100605e0(m_unk0x18, TRUE, NULL, TRUE, NULL, FALSE, TRUE, TRUE, TRUE) != FAILURE) {
|
||||
return;
|
||||
}
|
||||
|
||||
m_unk0x18++;
|
||||
} while (m_unk0x18 < m_animCount);
|
||||
|
||||
m_unk0x1a = FALSE;
|
||||
m_unk0x18 = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100605e0
|
||||
|
|
Loading…
Reference in a new issue