mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 23:57:54 -05:00
c6174c2a13
* Bootstrap rest of LegoTexturePresenter * Fixes --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
36 lines
716 B
C++
36 lines
716 B
C++
#include "legotexturepresenter.h"
|
|
|
|
#include "legoomni.h"
|
|
#include "legovideomanager.h"
|
|
#include "mxcompositepresenter.h"
|
|
|
|
// FUNCTION: LEGO1 0x1004eb40
|
|
LegoTexturePresenter::~LegoTexturePresenter()
|
|
{
|
|
VideoManager()->RemovePresenter(*this);
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1004ebb0
|
|
MxResult LegoTexturePresenter::AddToManager()
|
|
{
|
|
VideoManager()->AddPresenter(*this);
|
|
return SUCCESS;
|
|
}
|
|
|
|
// 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();
|
|
}
|