isle-portable/LEGO1/mxmidipresenter.h
Joshua Peisach a814132ab9
MxMIDIPresenter functions (#204)
* 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>
2023-10-14 15:25:53 +02:00

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