2023-06-29 04:10:08 -04:00
|
|
|
#include "mxmediapresenter.h"
|
|
|
|
|
2023-07-02 03:00:28 -04:00
|
|
|
DECOMP_SIZE_ASSERT(MxMediaPresenter, 0x50);
|
|
|
|
|
2023-10-08 09:46:09 -04:00
|
|
|
// OFFSET: LEGO1 0x1000c550
|
|
|
|
MxMediaPresenter::~MxMediaPresenter()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
Destroy(TRUE);
|
2023-10-08 09:46:09 -04:00
|
|
|
}
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
// OFFSET: LEGO1 0x100b5d10 STUB
|
2023-09-21 14:51:24 -04:00
|
|
|
MxResult MxMediaPresenter::Tickle()
|
2023-06-29 04:10:08 -04:00
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
// TODO
|
|
|
|
return SUCCESS;
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
|
|
|
|
2023-09-11 13:43:55 -04:00
|
|
|
// OFFSET: LEGO1 0x100b54e0
|
2023-06-29 04:10:08 -04:00
|
|
|
void MxMediaPresenter::Init()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
this->m_unk40 = NULL;
|
|
|
|
this->m_unk44 = NULL;
|
|
|
|
this->m_unk48 = NULL;
|
|
|
|
this->m_unk4c = NULL;
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
2023-10-05 06:31:20 -04:00
|
|
|
|
2023-10-08 09:46:09 -04:00
|
|
|
// OFFSET: LEGO1 0x100b54f0 STUB
|
2023-10-13 12:43:45 -04:00
|
|
|
void MxMediaPresenter::Destroy(MxBool p_fromDestructor)
|
2023-10-08 09:46:09 -04:00
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
// TODO
|
2023-10-08 09:46:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100b5d90 STUB
|
|
|
|
void MxMediaPresenter::StreamingTickle()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
// TODO
|
2023-10-08 09:46:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100b5e10 STUB
|
|
|
|
void MxMediaPresenter::RepeatingTickle()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
// TODO
|
2023-10-08 09:46:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100b5ef0
|
|
|
|
void MxMediaPresenter::DoneTickle()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
m_previousTickleStates |= 1 << m_currentTickleState;
|
|
|
|
m_currentTickleState = TickleState_Idle;
|
|
|
|
EndAction();
|
2023-10-08 09:46:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100b6030 STUB
|
|
|
|
void MxMediaPresenter::Enable(MxBool p_enable)
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
// TODO
|
2023-10-08 09:46:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x1000c5b0
|
2023-10-13 12:43:45 -04:00
|
|
|
void MxMediaPresenter::Destroy()
|
2023-10-08 09:46:09 -04:00
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
Destroy(FALSE);
|
2023-10-08 09:46:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100b5700 STUB
|
2023-10-24 19:38:27 -04:00
|
|
|
MxLong MxMediaPresenter::StartAction(MxStreamController* p_controller, MxDSAction* p_action)
|
2023-10-08 09:46:09 -04:00
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
return 0;
|
2023-10-08 09:46:09 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100b5bc0 STUB
|
|
|
|
void MxMediaPresenter::EndAction()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
// TODO
|
2023-10-08 09:46:09 -04:00
|
|
|
}
|
|
|
|
|
2023-10-05 06:31:20 -04:00
|
|
|
// OFFSET: LEGO1 0x100b5f10 STUB
|
|
|
|
void MxMediaPresenter::VTable0x58()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
// TODO
|
2023-10-05 06:31:20 -04:00
|
|
|
}
|