2023-06-29 04:10:08 -04:00
|
|
|
#ifndef MXSTILLPRESENTER_H
|
|
|
|
#define MXSTILLPRESENTER_H
|
|
|
|
|
2023-07-02 03:00:28 -04:00
|
|
|
#include "decomp.h"
|
2023-10-24 19:38:27 -04:00
|
|
|
#include "mxvideopresenter.h"
|
2023-07-02 03:00:28 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d7a38
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x6c
|
2023-10-24 19:38:27 -04:00
|
|
|
class MxStillPresenter : public MxVideoPresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-11-25 14:08:10 -05:00
|
|
|
MxStillPresenter() { m_bitmapInfo = NULL; }
|
|
|
|
virtual ~MxStillPresenter() override { Destroy(TRUE); }; // vtable+0x00
|
|
|
|
|
2023-11-04 09:47:35 -04:00
|
|
|
inline virtual const char* ClassName() const override // vtable+0xc
|
|
|
|
{
|
2023-12-06 07:10:45 -05:00
|
|
|
// GLOBAL: LEGO1 0x100f0184
|
2023-11-04 09:47:35 -04:00
|
|
|
return "MxStillPresenter";
|
|
|
|
}
|
|
|
|
|
|
|
|
inline virtual MxBool IsA(const char* name) const override // vtable+0x10
|
|
|
|
{
|
|
|
|
return !strcmp(name, MxStillPresenter::ClassName()) || MxVideoPresenter::IsA(name);
|
|
|
|
}
|
|
|
|
|
2023-11-25 14:08:10 -05:00
|
|
|
virtual void StartingTickle() override; // vtable+0x1c
|
|
|
|
virtual void StreamingTickle() override; // vtable+0x20
|
|
|
|
virtual void RepeatingTickle() override; // vtable+0x24
|
|
|
|
virtual void ParseExtra() override; // vtable+0x30
|
|
|
|
virtual void Destroy() override; // vtable+0x38
|
|
|
|
virtual void Enable(MxBool p_enable) override; // vtable+0x54
|
|
|
|
virtual void LoadHeader(MxStreamChunk* p_chunk) override; // vtable+0x5c
|
|
|
|
virtual void CreateBitmap() override; // vtable+0x60
|
|
|
|
virtual void NextFrame() override; // vtable+0x64
|
|
|
|
virtual void LoadFrame(MxStreamChunk* p_chunk) override; // vtable+0x68
|
|
|
|
virtual void VTable0x70() override; // vtable+0x70
|
|
|
|
virtual void VTable0x88(undefined4, undefined4); // vtable+0x88
|
|
|
|
virtual MxStillPresenter* Clone(); // vtable+0x8c
|
|
|
|
|
|
|
|
private:
|
|
|
|
void Destroy(MxBool p_fromDestructor);
|
2023-10-25 18:16:08 -04:00
|
|
|
|
2023-11-25 14:08:10 -05:00
|
|
|
undefined4 m_unk64; // 0x64
|
|
|
|
MxBITMAPINFO* m_bitmapInfo; // 0x68
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXSTILLPRESENTER_H
|