2023-06-29 04:10:08 -04:00
|
|
|
#ifndef MXSMKPRESENTER_H
|
|
|
|
#define MXSMKPRESENTER_H
|
|
|
|
|
2023-07-02 03:00:28 -04:00
|
|
|
#include "decomp.h"
|
2023-12-20 20:07:48 -05:00
|
|
|
#include "mxsmack.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 0x100dc348
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x720
|
2023-10-24 19:38:27 -04:00
|
|
|
class MxSmkPresenter : public MxVideoPresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
MxSmkPresenter();
|
2024-02-01 15:42:10 -05:00
|
|
|
~MxSmkPresenter() override;
|
2023-10-24 19:38:27 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100b3730
|
2024-02-01 15:42:10 -05:00
|
|
|
inline const char* ClassName() const override // vtable+0x0c
|
2023-11-04 09:47:35 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x10101e38
|
2023-11-04 09:47:35 -04:00
|
|
|
return "MxSmkPresenter";
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100b3740
|
2024-02-01 15:42:10 -05:00
|
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-11-04 09:47:35 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, MxSmkPresenter::ClassName()) || MxVideoPresenter::IsA(p_name);
|
2023-11-04 09:47:35 -04:00
|
|
|
}
|
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
MxResult AddToManager() override; // vtable+0x34
|
|
|
|
void Destroy() override; // vtable+0x38
|
|
|
|
void LoadHeader(MxStreamChunk* p_chunk) override; // vtable+0x5c
|
|
|
|
void CreateBitmap() override; // vtable+0x60
|
|
|
|
void LoadFrame(MxStreamChunk* p_chunk) override; // vtable+0x68
|
|
|
|
void RealizePalette() override; // vtable+0x70
|
|
|
|
virtual void VTable0x88(); // vtable+0x88
|
2023-10-07 12:48:36 -04:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x100b3850
|
|
|
|
// MxSmkPresenter::`scalar deleting destructor'
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
private:
|
2023-10-24 19:38:27 -04:00
|
|
|
void Init();
|
2023-10-27 13:00:20 -04:00
|
|
|
void Destroy(MxBool p_fromDestructor);
|
|
|
|
|
2023-12-22 14:05:42 -05:00
|
|
|
protected:
|
|
|
|
MxSmack m_mxSmack; // 0x64
|
|
|
|
MxU32 m_currentFrame; // 0x71c
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXSMKPRESENTER_H
|