mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-30 03:15:34 -05:00
714d36b57d
* Bootstrap MxWavePresenter, implement/match some functions * Fix * Use constant for 0x7f * Update mxwavepresenter.cpp * Update mxwavepresenter.h
33 lines
772 B
C++
33 lines
772 B
C++
#ifndef MXSOUNDPRESENTER_H
|
|
#define MXSOUNDPRESENTER_H
|
|
|
|
#include "mxaudiopresenter.h"
|
|
#include "mxomni.h"
|
|
|
|
// VTABLE 0x100d4b08
|
|
// SIZE 0x54
|
|
class MxSoundPresenter : public MxAudioPresenter {
|
|
public:
|
|
virtual ~MxSoundPresenter() override;
|
|
|
|
// OFFSET: LEGO1 0x1000d4a0
|
|
inline virtual const char* ClassName() const // vtable+0x0c
|
|
{
|
|
// 0x100f07a0
|
|
return "MxSoundPresenter";
|
|
};
|
|
|
|
// OFFSET: LEGO1 0x1000d4b0
|
|
inline virtual MxBool IsA(const char* name) const // vtable+0x10
|
|
{
|
|
return !strcmp(name, MxSoundPresenter::ClassName()) || MxAudioPresenter::IsA(name);
|
|
};
|
|
|
|
virtual MxResult AddToManager() override; // vtable+0x34
|
|
virtual void Destroy() override; // vtable+0x38
|
|
|
|
protected:
|
|
void Destroy(MxBool p_fromDestructor);
|
|
};
|
|
|
|
#endif // MXSOUNDPRESENTER_H
|