mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 17:46:38 -05:00
34e09c2bb3
* Rename MxMusicPresenter function vtable38 * Rename MxMusicPresenter function vtable38 * MxMediaPresenter, MxMusicManager and MxMusicPresenter * Refactoring Destroy functions * MxMediaManager & MxMusicPresenter * Fix some vtable declarations, more renames * Fix MxEventManager * More rename fixes --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
35 lines
811 B
C++
35 lines
811 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 AddToManager() override; // vtable+0x34
|
|
virtual void Destroy() override; // vtable+0x38
|
|
|
|
private:
|
|
void Init();
|
|
void Destroy(MxBool p_fromDestructor);
|
|
};
|
|
|
|
#endif // MXMUSICPRESENTER_H
|