mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-23 07:58:21 -05:00
02d003673d
* MxMusicPresenter destroy * Implement MxMusicPresenter's Destroy method and move MxMediaPresenter's Destroy method to "protected" * MxMediaPresenter Destroy to "protected", for real * MxMusicPresenter Destroy
35 lines
791 B
C++
35 lines
791 B
C++
#ifndef MXMUSICPRESENTER_H
|
|
#define MXMUSICPRESENTER_H
|
|
|
|
#include "mxaudiopresenter.h"
|
|
|
|
// VTABLE 0x100dc9b8
|
|
// SIZE 0x54
|
|
class MxMusicPresenter : public MxAudioPresenter
|
|
{
|
|
public:
|
|
// OFFSET: LEGO1 0x100c23a0
|
|
inline virtual const char *ClassName() const override // vtable+0xc
|
|
{
|
|
// 0x10101e48
|
|
return "MxMusicPresenter";
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100c23b0
|
|
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(name, MxMusicPresenter::ClassName()) || MxAudioPresenter::IsA(name);
|
|
}
|
|
|
|
MxMusicPresenter();
|
|
virtual ~MxMusicPresenter() override;
|
|
|
|
virtual MxResult AddToMusicManager(); // vtable+0x34
|
|
virtual void vtable38(); // vtable+0x38
|
|
|
|
private:
|
|
void Init();
|
|
void Destroy(MxBool p_reinit);
|
|
};
|
|
|
|
#endif // MXMUSICPRESENTER_H
|