2023-07-02 03:00:28 -04:00
|
|
|
#include "mxmidipresenter.h"
|
|
|
|
|
|
|
|
#include "decomp.h"
|
2023-10-14 09:25:53 -04:00
|
|
|
#include "legoomni.h"
|
|
|
|
#include "mxmusicmanager.h"
|
2023-07-02 03:00:28 -04:00
|
|
|
|
|
|
|
DECOMP_SIZE_ASSERT(MxMIDIPresenter, 0x58);
|
|
|
|
|
2023-11-14 15:10:43 -05:00
|
|
|
// OFFSET: LEGO1 0x100c25a0 STUB
|
|
|
|
MxResult MxMIDIPresenter::AddToManager()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return SUCCESS;
|
|
|
|
}
|
|
|
|
|
2023-07-02 03:00:28 -04:00
|
|
|
// OFFSET: LEGO1 0x100c25e0
|
2023-10-14 09:25:53 -04:00
|
|
|
MxMIDIPresenter::MxMIDIPresenter()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
Init();
|
2023-07-02 03:00:28 -04:00
|
|
|
}
|
|
|
|
|
2023-10-14 09:25:53 -04:00
|
|
|
// OFFSET: LEGO1 0x100c27c0
|
|
|
|
MxMIDIPresenter::~MxMIDIPresenter()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
Destroy(TRUE);
|
2023-10-14 09:25:53 -04:00
|
|
|
}
|
|
|
|
|
2023-07-02 03:00:28 -04:00
|
|
|
// OFFSET: LEGO1 0x100c2820
|
|
|
|
void MxMIDIPresenter::Init()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
m_unk54 = 0;
|
2023-07-02 03:00:28 -04:00
|
|
|
}
|
2023-10-14 09:25:53 -04:00
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100c2830 STUB
|
|
|
|
void MxMIDIPresenter::Destroy(MxBool p_fromDestructor)
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
// TODO
|
2023-10-14 09:25:53 -04:00
|
|
|
}
|
|
|
|
|
2023-11-14 15:10:43 -05:00
|
|
|
// OFFSET: LEGO1 0x100c2890 STUB
|
|
|
|
void MxMIDIPresenter::ReadyTickle()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100c28d0 STUB
|
|
|
|
void MxMIDIPresenter::StartingTickle()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100c2910 STUB
|
|
|
|
void MxMIDIPresenter::StreamingTickle()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
2023-10-14 09:25:53 -04:00
|
|
|
// OFFSET: LEGO1 0x100c2940
|
|
|
|
void MxMIDIPresenter::DoneTickle()
|
|
|
|
{
|
2023-11-14 15:10:43 -05:00
|
|
|
if (!MusicManager()->GetMIDIInitialized())
|
|
|
|
EndAction();
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100c2960 STUB
|
|
|
|
void MxMIDIPresenter::Destroy()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100c2970 STUB
|
|
|
|
undefined4 MxMIDIPresenter::PutData()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100c29e0 STUB
|
|
|
|
void MxMIDIPresenter::EndAction()
|
|
|
|
{
|
|
|
|
// TODO
|
2023-10-25 14:51:59 -04:00
|
|
|
}
|