Implement/match LegoAnimMMPresenter::FUN_1004b5b0 (#830)

This commit is contained in:
Christian Semmler
2024-04-20 12:03:42 -04:00
committed by GitHub
parent 3cab989250
commit a3bd98a04d
4 changed files with 28 additions and 6 deletions

View File

@@ -325,6 +325,7 @@ MxBool LegoAnimMMPresenter::FUN_1004b580(MxLong p_time)
m_tranInfo->m_unk0x20[0] > p_time) {
return FALSE;
}
break;
case 1:
case 2:
case 3:
@@ -336,12 +337,31 @@ MxBool LegoAnimMMPresenter::FUN_1004b580(MxLong p_time)
return TRUE;
}
// STUB: LEGO1 0x1004b5b0
// FUNCTION: LEGO1 0x1004b5b0
// FUNCTION: BETA10 0x1004cb09
MxBool LegoAnimMMPresenter::FUN_1004b5b0(MxLong p_time)
{
// TODO
return FALSE;
switch (m_unk0x59) {
case 0:
if (m_roiMap != NULL && m_unk0x68 != NULL) {
for (MxU32 i = 0; i < m_roiMapSize; i++) {
LegoROI* roi = m_roiMap[i];
if (roi != NULL) {
roi->WrappedSetLocalTransform(m_unk0x68[i]);
}
}
}
break;
case 1:
case 2:
case 3:
case 4:
case 5:
break;
}
return TRUE;
}
// STUB: LEGO1 0x1004b600

View File

@@ -565,7 +565,7 @@ void LegoAnimPresenter::PutFrame()
// STUB: LEGO1 0x1006afc0
// FUNCTION: BETA10 0x1005059a
MxResult LegoAnimPresenter::FUN_1006afc0(Matrix4*&, undefined4)
MxResult LegoAnimPresenter::FUN_1006afc0(MxMatrix*&, undefined4)
{
// TODO
return SUCCESS;