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>
This commit is contained in:
Joshua Peisach
2023-10-14 09:25:53 -04:00
committed by GitHub
parent 7cf85e6f06
commit a814132ab9
3 changed files with 31 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ class MxMIDIPresenter : public MxMusicPresenter
{
public:
MxMIDIPresenter();
virtual ~MxMIDIPresenter() override;
// OFFSET: LEGO1 0x100c2650
inline virtual const char *ClassName() const override // vtable+0xc
@@ -22,8 +23,12 @@ public:
return !strcmp(name, MxMIDIPresenter::ClassName()) || MxMusicPresenter::IsA(name);
}
virtual void DoneTickle() override; // vtable+0x2c
private:
void Init();
void Destroy(MxBool);
undefined4 m_unk54;
};