2023-06-29 04:10:08 -04:00
|
|
|
#ifndef MXMEDIAPRESENTER_H
|
|
|
|
#define MXMEDIAPRESENTER_H
|
|
|
|
|
|
|
|
#include "mxpresenter.h"
|
|
|
|
|
2023-07-02 03:00:28 -04:00
|
|
|
#include "decomp.h"
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
// VTABLE 0x100d4cd8
|
|
|
|
class MxMediaPresenter : public MxPresenter
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
inline MxMediaPresenter()
|
|
|
|
{
|
|
|
|
Init();
|
|
|
|
}
|
2023-10-08 09:46:09 -04:00
|
|
|
virtual ~MxMediaPresenter() override;
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-10-08 09:46:09 -04:00
|
|
|
virtual MxResult Tickle() override;
|
2023-06-29 04:10:08 -04:00
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x1000c5c0
|
2023-07-02 02:53:54 -04:00
|
|
|
inline virtual const char *ClassName() const override // vtable+0xc
|
2023-06-29 04:10:08 -04:00
|
|
|
{
|
|
|
|
// 0x100f074c
|
|
|
|
return "MxMediaPresenter";
|
|
|
|
}
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x1000c5d0
|
2023-07-02 02:53:54 -04:00
|
|
|
inline virtual MxBool IsA(const char *name) const override // vtable+0x10
|
2023-06-29 04:10:08 -04:00
|
|
|
{
|
|
|
|
return !strcmp(name, MxMediaPresenter::ClassName()) || MxPresenter::IsA(name);
|
|
|
|
}
|
|
|
|
|
2023-10-08 09:46:09 -04:00
|
|
|
virtual void StreamingTickle() override;
|
|
|
|
virtual void RepeatingTickle() override;
|
|
|
|
virtual void DoneTickle() override;
|
|
|
|
virtual void InitVirtual() override;
|
|
|
|
virtual MxLong StartAction(MxStreamController *, MxDSAction *) override;
|
|
|
|
virtual void EndAction() override;
|
|
|
|
virtual void Enable(MxBool p_enable) override;
|
|
|
|
virtual void VTable0x58();
|
2023-10-05 06:31:20 -04:00
|
|
|
|
2023-07-02 03:00:28 -04:00
|
|
|
undefined4 m_unk40;
|
|
|
|
undefined4 m_unk44;
|
|
|
|
undefined4 m_unk48;
|
|
|
|
undefined4 m_unk4c;
|
2023-10-11 06:18:26 -04:00
|
|
|
protected:
|
|
|
|
void Destroy(MxBool);
|
2023-06-29 04:10:08 -04:00
|
|
|
private:
|
|
|
|
void Init();
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXMEDIAPRESENTER_H
|