mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-29 19:05:34 -05:00
a814132ab9
* MxMIDIPresenter destructor, stub Destroy for now * MxMIDIPresenter::EndMIDIAction + update param name m_MIDIInitialized is definitely public, since it is accessed from the global MusicManager. * Add getter for MIDIInitialized, fix virtual function decl --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
39 lines
No EOL
629 B
C++
39 lines
No EOL
629 B
C++
#include "mxmidipresenter.h"
|
|
|
|
#include "decomp.h"
|
|
#include "legoomni.h"
|
|
#include "mxmusicmanager.h"
|
|
|
|
DECOMP_SIZE_ASSERT(MxMIDIPresenter, 0x58);
|
|
|
|
// OFFSET: LEGO1 0x100c25e0
|
|
MxMIDIPresenter::MxMIDIPresenter()
|
|
{
|
|
Init();
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100c27c0
|
|
MxMIDIPresenter::~MxMIDIPresenter()
|
|
{
|
|
Destroy(TRUE);
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100c2820
|
|
void MxMIDIPresenter::Init()
|
|
{
|
|
m_unk54 = 0;
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100c2830 STUB
|
|
void MxMIDIPresenter::Destroy(MxBool p_fromDestructor)
|
|
{
|
|
// TODO
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100c2940
|
|
void MxMIDIPresenter::DoneTickle()
|
|
{
|
|
if (!MusicManager()->GetMIDIInitialized()) {
|
|
this->EndAction();
|
|
}
|
|
} |