2023-06-29 04:10:08 -04:00
|
|
|
#include "legotexturepresenter.h"
|
|
|
|
|
2023-11-12 14:21:22 -05:00
|
|
|
#include "legoomni.h"
|
|
|
|
#include "legovideomanager.h"
|
2023-12-27 13:32:32 -05:00
|
|
|
#include "mxcompositepresenter.h"
|
2023-11-12 14:21:22 -05:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1004eb40
|
2023-06-29 04:10:08 -04:00
|
|
|
LegoTexturePresenter::~LegoTexturePresenter()
|
|
|
|
{
|
2024-01-14 16:49:11 -05:00
|
|
|
VideoManager()->UnregisterPresenter(*this);
|
2023-11-12 14:21:22 -05:00
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1004ebb0
|
2023-11-12 14:21:22 -05:00
|
|
|
MxResult LegoTexturePresenter::AddToManager()
|
|
|
|
{
|
2024-01-14 16:49:11 -05:00
|
|
|
VideoManager()->RegisterPresenter(*this);
|
2023-11-12 14:21:22 -05:00
|
|
|
return SUCCESS;
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
2023-12-27 13:32:32 -05:00
|
|
|
|
|
|
|
// STUB: LEGO1 0x1004fc60
|
|
|
|
MxResult LegoTexturePresenter::PutData()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return FAILURE;
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x1004fcb0
|
|
|
|
void LegoTexturePresenter::DoneTickle()
|
|
|
|
{
|
|
|
|
if (this->m_compositePresenter && !this->m_compositePresenter->VTable0x64(2)) {
|
|
|
|
SetTickleState(TickleState_Idle);
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
MxMediaPresenter::DoneTickle();
|
|
|
|
}
|