diff --git a/LEGO1/lego/legoomni/include/legomodelpresenter.h b/LEGO1/lego/legoomni/include/legomodelpresenter.h index 5482217d..db9fc20d 100644 --- a/LEGO1/lego/legoomni/include/legomodelpresenter.h +++ b/LEGO1/lego/legoomni/include/legomodelpresenter.h @@ -38,7 +38,7 @@ class LegoModelPresenter : public MxVideoPresenter { AutoROI* m_roi; // 0x64 MxBool m_addedToView; // 0x68 - undefined4 LoadModel(MxStreamChunk* p_chunk); + MxResult CreateROI(MxStreamChunk* p_chunk); }; #endif // LEGOMODELPRESENTER_H diff --git a/LEGO1/lego/legoomni/src/video/legomodelpresenter.cpp b/LEGO1/lego/legoomni/src/video/legomodelpresenter.cpp index 141d8906..e74a5430 100644 --- a/LEGO1/lego/legoomni/src/video/legomodelpresenter.cpp +++ b/LEGO1/lego/legoomni/src/video/legomodelpresenter.cpp @@ -48,7 +48,7 @@ void LegoModelPresenter::Destroy(MxBool p_fromDestructor) } // STUB: LEGO1 0x1007f6b0 -undefined4 LegoModelPresenter::LoadModel(MxStreamChunk* p_chunk) +MxResult LegoModelPresenter::CreateROI(MxStreamChunk* p_chunk) { // TODO return FAILURE; @@ -84,10 +84,10 @@ void LegoModelPresenter::ReadyTickle() if (chunk != NULL && chunk->GetTime() <= m_action->GetElapsedTime()) { chunk = m_subscriber->NextChunk(); - undefined4 und = LoadModel(chunk); + MxResult result = CreateROI(chunk); m_subscriber->DestroyChunk(chunk); - if (und == 0) { + if (result == SUCCESS) { VideoManager()->Get3DManager()->GetLego3DView()->Add(*m_roi); VideoManager()->Get3DManager()->GetLego3DView()->Moved(*m_roi);