mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 02:31:15 +00:00
Implement/match LegoPartPresenter::ReadyTickle
This commit is contained in:
parent
6fa4a0dbec
commit
556b16201e
@ -211,10 +211,25 @@ MxResult LegoPartPresenter::Read(MxDSChunk& p_chunk)
|
||||
return result;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1007deb0
|
||||
// FUNCTION: LEGO1 0x1007deb0
|
||||
void LegoPartPresenter::ReadyTickle()
|
||||
{
|
||||
// TODO
|
||||
MxStreamChunk* chunk = m_subscriber->PeekData();
|
||||
|
||||
if (chunk != NULL && chunk->GetTime() <= m_action->GetElapsedTime()) {
|
||||
ParseExtra();
|
||||
ProgressTickleState(e_starting);
|
||||
|
||||
chunk = m_subscriber->PopData();
|
||||
MxResult result = Read(*chunk);
|
||||
m_subscriber->FreeDataChunk(chunk);
|
||||
|
||||
if (result == SUCCESS) {
|
||||
Store();
|
||||
}
|
||||
|
||||
EndAction();
|
||||
}
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1007df20
|
||||
|
||||
Loading…
Reference in New Issue
Block a user