mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-29 19:16:05 -05:00
472a82f220
* MxMusicPresenter vtable vtable+0x34 adds the current presenter to the music manager vtable+0x38 calls destroy with the param as "FALSE" * Update mxmusicpresenter.cpp * Update mxmusicpresenter.cpp --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
35 lines
782 B
C++
35 lines
782 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);
|
|
};
|
|
|
|
#endif // MXMUSICPRESENTER_H
|