mirror of
https://github.com/isledecomp/isle.git
synced 2024-12-19 12:32:28 -05:00
f50b771fff
* Push changes * fixes * Implement Infocenter::HandleEndAction * match Infocenter::StopCutScene * implement Infocenter::HandleKeyPress * fixes * Update infocenter.cpp * Update legoworld.cpp * use enums * WIP Fixes * Fix * Fix * Fix * Rename function * Change enum * Update enums * Refactor another enum * Refactor MxDSType * Refactor HashTableOpt * Fixes * Refactor tickle enum * Update other enums * Add EnumConstantName to ncc * Move enum to global namespace * Rename enum --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
36 lines
715 B
C++
36 lines
715 B
C++
#include "legotexturepresenter.h"
|
|
|
|
#include "legoomni.h"
|
|
#include "legovideomanager.h"
|
|
#include "mxcompositepresenter.h"
|
|
|
|
// FUNCTION: LEGO1 0x1004eb40
|
|
LegoTexturePresenter::~LegoTexturePresenter()
|
|
{
|
|
VideoManager()->UnregisterPresenter(*this);
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x1004ebb0
|
|
MxResult LegoTexturePresenter::AddToManager()
|
|
{
|
|
VideoManager()->RegisterPresenter(*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(e_idle);
|
|
return;
|
|
}
|
|
|
|
MxMediaPresenter::DoneTickle();
|
|
}
|