mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 15:37:55 -05:00
Implement/match LegoAnimationManager::FUN_10061530 (#889)
This commit is contained in:
parent
05edf96186
commit
5c8249f334
2 changed files with 27 additions and 2 deletions
|
@ -186,4 +186,7 @@ class LegoAnimationManager : public MxCore {
|
||||||
UnknownMx4DPointFloat m_unk0x4cc; // 0x4cc
|
UnknownMx4DPointFloat m_unk0x4cc; // 0x4cc
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// TEMPLATE: LEGO1 0x10061750
|
||||||
|
// MxListCursor<LegoTranInfo *>::MxListCursor<LegoTranInfo *>
|
||||||
|
|
||||||
#endif // LEGOANIMATIONMANAGER_H
|
#endif // LEGOANIMATIONMANAGER_H
|
||||||
|
|
|
@ -993,10 +993,32 @@ void LegoAnimationManager::FUN_10061010(MxBool p_und)
|
||||||
m_unk0x404 = Timer()->GetTime();
|
m_unk0x404 = Timer()->GetTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x10061530
|
// FUNCTION: LEGO1 0x10061530
|
||||||
void LegoAnimationManager::FUN_10061530()
|
void LegoAnimationManager::FUN_10061530()
|
||||||
{
|
{
|
||||||
// TODO
|
if (m_tranInfoList2 != NULL) {
|
||||||
|
LegoTranInfoListCursor cursor(m_tranInfoList2);
|
||||||
|
LegoTranInfo* tranInfo;
|
||||||
|
|
||||||
|
while (cursor.Next(tranInfo)) {
|
||||||
|
LegoTranInfoListCursor cursor2(m_tranInfoList);
|
||||||
|
|
||||||
|
if (cursor2.Find(tranInfo)) {
|
||||||
|
if (tranInfo->m_presenter != NULL) {
|
||||||
|
if (tranInfo->m_flags & LegoTranInfo::c_bit2) {
|
||||||
|
BackgroundAudioManager()->RaiseVolume();
|
||||||
|
tranInfo->m_flags &= ~LegoTranInfo::c_bit2;
|
||||||
|
}
|
||||||
|
|
||||||
|
tranInfo->m_presenter->FUN_1004b840();
|
||||||
|
cursor.Detach();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
cursor.Detach();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x100617c0
|
// STUB: LEGO1 0x100617c0
|
||||||
|
|
Loading…
Reference in a new issue