mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
rename function according to leaked source code
This commit is contained in:
parent
1f9bf3742e
commit
4bbbc7fb20
@ -38,7 +38,7 @@ class LegoModelPresenter : public MxVideoPresenter {
|
|||||||
AutoROI* m_roi; // 0x64
|
AutoROI* m_roi; // 0x64
|
||||||
MxBool m_addedToView; // 0x68
|
MxBool m_addedToView; // 0x68
|
||||||
|
|
||||||
undefined4 LoadModel(MxStreamChunk* p_chunk);
|
MxResult CreateROI(MxStreamChunk* p_chunk);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // LEGOMODELPRESENTER_H
|
#endif // LEGOMODELPRESENTER_H
|
||||||
|
|||||||
@ -48,7 +48,7 @@ void LegoModelPresenter::Destroy(MxBool p_fromDestructor)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x1007f6b0
|
// STUB: LEGO1 0x1007f6b0
|
||||||
undefined4 LegoModelPresenter::LoadModel(MxStreamChunk* p_chunk)
|
MxResult LegoModelPresenter::CreateROI(MxStreamChunk* p_chunk)
|
||||||
{
|
{
|
||||||
// TODO
|
// TODO
|
||||||
return FAILURE;
|
return FAILURE;
|
||||||
@ -84,10 +84,10 @@ void LegoModelPresenter::ReadyTickle()
|
|||||||
|
|
||||||
if (chunk != NULL && chunk->GetTime() <= m_action->GetElapsedTime()) {
|
if (chunk != NULL && chunk->GetTime() <= m_action->GetElapsedTime()) {
|
||||||
chunk = m_subscriber->NextChunk();
|
chunk = m_subscriber->NextChunk();
|
||||||
undefined4 und = LoadModel(chunk);
|
MxResult result = CreateROI(chunk);
|
||||||
m_subscriber->DestroyChunk(chunk);
|
m_subscriber->DestroyChunk(chunk);
|
||||||
|
|
||||||
if (und == 0) {
|
if (result == SUCCESS) {
|
||||||
VideoManager()->Get3DManager()->GetLego3DView()->Add(*m_roi);
|
VideoManager()->Get3DManager()->GetLego3DView()->Add(*m_roi);
|
||||||
VideoManager()->Get3DManager()->GetLego3DView()->Moved(*m_roi);
|
VideoManager()->Get3DManager()->GetLego3DView()->Moved(*m_roi);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user