Implement/match LegoAnimMMPresenter::StartingTickle (#824)

This commit is contained in:
Christian Semmler
2024-04-20 10:07:58 -04:00
committed by GitHub
parent 0b08b0ae69
commit 9cc5df8c40
5 changed files with 23 additions and 5 deletions

View File

@@ -457,7 +457,7 @@ MxResult LegoAnimationManager::FUN_100609f0(MxU32 p_objectId, MxMatrix* p_matrix
info->m_unk0x00 = 0;
info->m_index = ++m_unk0x1c;
info->m_unk0x10 = FALSE;
info->m_unk0x08 = 0;
info->m_unk0x08 = NULL;
info->m_unk0x12 = -1;
info->m_unk0x14 = 0;
info->m_objectId = p_objectId;

View File

@@ -12,6 +12,7 @@
#include "mxmisc.h"
#include "mxnotificationmanager.h"
#include "mxobjectfactory.h"
#include "mxtimer.h"
#include "mxutilities.h"
DECOMP_SIZE_ASSERT(LegoAnimMMPresenter, 0x74)
@@ -124,10 +125,18 @@ void LegoAnimMMPresenter::ReadyTickle()
ProgressTickleState(e_starting);
}
// STUB: LEGO1 0x1004b1c0
// FUNCTION: LEGO1 0x1004b1c0
// FUNCTION: BETA10 0x1004c2cc
void LegoAnimMMPresenter::StartingTickle()
{
// TODO
if (m_unk0x4c == NULL || m_unk0x4c->GetCurrentTickleState() == e_idle) {
if (m_tranInfo != NULL && m_tranInfo->m_unk0x08 != NULL) {
m_unk0x4c->FUN_1006b140(m_tranInfo->m_unk0x08);
}
m_unk0x50 = Timer()->GetTime();
ProgressTickleState(e_streaming);
}
}
// STUB: LEGO1 0x1004b220