mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +00:00
Complete LegoCarBuildAnimPresenter (#1114)
* Complete `LegoCarBuildAnimPresenter` * fix CI errors * Drive-by BETA10 fixes * Address review comments --------- Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
@@ -229,6 +229,7 @@ void MxMediaPresenter::DoneTickle()
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100b5f10
|
||||
// FUNCTION: BETA10 0x101366e9
|
||||
void MxMediaPresenter::LoopChunk(MxStreamChunk* p_chunk)
|
||||
{
|
||||
MxStreamChunk* chunk = new MxStreamChunk;
|
||||
@@ -243,6 +244,7 @@ void MxMediaPresenter::LoopChunk(MxStreamChunk* p_chunk)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100b6030
|
||||
// FUNCTION: BETA10 0x10136814
|
||||
void MxMediaPresenter::Enable(MxBool p_enable)
|
||||
{
|
||||
if (IsEnabled() != p_enable) {
|
||||
|
||||
@@ -263,6 +263,7 @@ MxEntity* MxPresenter::CreateEntity(const char* p_defaultName)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100b54c0
|
||||
// FUNCTION: BETA10 0x1012ebaf
|
||||
MxBool MxPresenter::IsEnabled()
|
||||
{
|
||||
return this->m_action && this->m_action->GetFlags() & MxDSAction::c_enabled;
|
||||
|
||||
@@ -176,6 +176,7 @@ void MxVideoPresenter::Destroy(MxBool p_fromDestructor)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100b28b0
|
||||
// FUNCTION: BETA10 0x101389c1
|
||||
void MxVideoPresenter::NextFrame()
|
||||
{
|
||||
MxStreamChunk* chunk = NextChunk();
|
||||
@@ -191,6 +192,7 @@ void MxVideoPresenter::NextFrame()
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100b2900
|
||||
// FUNCTION: BETA10 0x10138a3a
|
||||
MxBool MxVideoPresenter::IsHit(MxS32 p_x, MxS32 p_y)
|
||||
{
|
||||
MxDSAction* action = GetAction();
|
||||
@@ -563,6 +565,7 @@ void MxVideoPresenter::EndAction()
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100b3280
|
||||
// FUNCTION: BETA10 0x101397c0
|
||||
MxResult MxVideoPresenter::PutData()
|
||||
{
|
||||
AUTOLOCK(m_criticalSection);
|
||||
|
||||
Reference in New Issue
Block a user