mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
Minor style/naming fixes (#593)
This commit is contained in:
committed by
GitHub
parent
b281866ea6
commit
377eebb610
@@ -54,7 +54,7 @@ void LegoAnimPresenter::Destroy(MxBool p_fromDestructor)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10068fb0
|
||||
MxResult LegoAnimPresenter::VTable0x88(MxStreamChunk* p_chunk)
|
||||
MxResult LegoAnimPresenter::CreateAnim(MxStreamChunk* p_chunk)
|
||||
{
|
||||
MxResult result = FAILURE;
|
||||
LegoMemory storage(p_chunk->GetData());
|
||||
@@ -120,7 +120,7 @@ void LegoAnimPresenter::ReadyTickle()
|
||||
|
||||
if (chunk && chunk->GetTime() + m_action->GetStartTime() <= m_action->GetElapsedTime()) {
|
||||
chunk = m_subscriber->PopData();
|
||||
MxResult result = VTable0x88(chunk);
|
||||
MxResult result = CreateAnim(chunk);
|
||||
m_subscriber->FreeDataChunk(chunk);
|
||||
|
||||
if (result == SUCCESS) {
|
||||
|
||||
@@ -52,9 +52,9 @@ void LegoLocomotionAnimPresenter::Destroy(MxBool p_fromDestructor)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1006d140
|
||||
MxResult LegoLocomotionAnimPresenter::VTable0x88(MxStreamChunk* p_chunk)
|
||||
MxResult LegoLocomotionAnimPresenter::CreateAnim(MxStreamChunk* p_chunk)
|
||||
{
|
||||
MxResult result = LegoAnimPresenter::VTable0x88(p_chunk);
|
||||
MxResult result = LegoAnimPresenter::CreateAnim(p_chunk);
|
||||
return result == SUCCESS ? SUCCESS : result;
|
||||
}
|
||||
|
||||
|
||||
@@ -214,7 +214,7 @@ void LegoModelPresenter::ReadyTickle()
|
||||
|
||||
if (m_roi != NULL) {
|
||||
if (m_compositePresenter && m_compositePresenter->IsA("LegoEntityPresenter")) {
|
||||
((LegoEntityPresenter*) m_compositePresenter)->GetEntity()->SetROI((LegoROI*) m_roi, m_addedToView, TRUE);
|
||||
((LegoEntityPresenter*) m_compositePresenter)->GetEntity()->SetROI(m_roi, m_addedToView, TRUE);
|
||||
((LegoEntityPresenter*) m_compositePresenter)
|
||||
->GetEntity()
|
||||
->SetFlags(
|
||||
@@ -240,7 +240,7 @@ void LegoModelPresenter::ReadyTickle()
|
||||
VideoManager()->Get3DManager()->GetLego3DView()->Moved(*m_roi);
|
||||
|
||||
if (m_compositePresenter != NULL && m_compositePresenter->IsA("LegoEntityPresenter")) {
|
||||
((LegoEntityPresenter*) m_compositePresenter)->GetEntity()->SetROI((LegoROI*) m_roi, TRUE, TRUE);
|
||||
((LegoEntityPresenter*) m_compositePresenter)->GetEntity()->SetROI(m_roi, TRUE, TRUE);
|
||||
((LegoEntityPresenter*) m_compositePresenter)
|
||||
->GetEntity()
|
||||
->SetFlags(
|
||||
|
||||
Reference in New Issue
Block a user