mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 18:04:06 +00:00
Implement/match LegoAnimMMPresenter::FUN_1004b450 (#827)
This commit is contained in:
committed by
GitHub
parent
c617139d5b
commit
91d043a9ae
@@ -57,7 +57,7 @@ void MxLoopingFlcPresenter::NextFrame()
|
||||
void MxLoopingFlcPresenter::VTable0x88()
|
||||
{
|
||||
if (m_action->GetDuration() < m_elapsedDuration) {
|
||||
ProgressTickleState(e_unk5);
|
||||
ProgressTickleState(e_freezing);
|
||||
}
|
||||
else {
|
||||
MxStreamChunk* chunk;
|
||||
|
||||
@@ -68,7 +68,7 @@ void MxLoopingSmkPresenter::NextFrame()
|
||||
void MxLoopingSmkPresenter::VTable0x8c()
|
||||
{
|
||||
if (m_action->GetDuration() < m_elapsedDuration) {
|
||||
ProgressTickleState(e_unk5);
|
||||
ProgressTickleState(e_freezing);
|
||||
}
|
||||
else {
|
||||
MxStreamChunk* chunk;
|
||||
|
||||
@@ -143,7 +143,7 @@ void MxStillPresenter::RepeatingTickle()
|
||||
{
|
||||
if (m_action->GetDuration() != -1) {
|
||||
if (m_action->GetElapsedTime() >= m_action->GetStartTime() + m_action->GetDuration()) {
|
||||
ProgressTickleState(e_unk5);
|
||||
ProgressTickleState(e_freezing);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -506,7 +506,7 @@ void MxVideoPresenter::RepeatingTickle()
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100b3130
|
||||
void MxVideoPresenter::Unk5Tickle()
|
||||
void MxVideoPresenter::FreezingTickle()
|
||||
{
|
||||
MxLong sustainTime = ((MxDSMediaAction*) m_action)->GetSustainTime();
|
||||
|
||||
@@ -564,7 +564,7 @@ MxResult MxVideoPresenter::PutData()
|
||||
{
|
||||
AUTOLOCK(m_criticalSection);
|
||||
|
||||
if (IsEnabled() && m_currentTickleState >= e_streaming && m_currentTickleState <= e_unk5) {
|
||||
if (IsEnabled() && m_currentTickleState >= e_streaming && m_currentTickleState <= e_freezing) {
|
||||
PutFrame();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user