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>
35 lines
740 B
C++
35 lines
740 B
C++
#ifndef MXMIDIPRESENTER_H
|
|
#define MXMIDIPRESENTER_H
|
|
|
|
#include "mxmusicpresenter.h"
|
|
|
|
// VTABLE 0x100dca20
|
|
class MxMIDIPresenter : public MxMusicPresenter
|
|
{
|
|
public:
|
|
MxMIDIPresenter();
|
|
virtual ~MxMIDIPresenter() override;
|
|
|
|
// OFFSET: LEGO1 0x100c2650
|
|
inline virtual const char *ClassName() const override // vtable+0xc
|
|
{
|
|
// 0x10101df8
|
|
return "MxMIDIPresenter";
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100c2660
|
|
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(name, MxMIDIPresenter::ClassName()) || MxMusicPresenter::IsA(name);
|
|
}
|
|
|
|
virtual void DoneTickle() override; // vtable+0x2c
|
|
|
|
private:
|
|
void Init();
|
|
void Destroy(MxBool);
|
|
|
|
undefined4 m_unk54;
|
|
};
|
|
|
|
#endif // MXMIDIPRESENTER_H
|