2023-06-29 04:10:08 -04:00
|
|
|
#ifndef MXFLCPRESENTER_H
|
|
|
|
#define MXFLCPRESENTER_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-11-29 07:35:32 -05:00
|
|
|
#include <flic.h>
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100dc2c0
|
2024-11-21 19:07:40 -05:00
|
|
|
// VTABLE: BETA10 0x101c1eb0
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x68
|
2023-10-24 19:38:27 -04:00
|
|
|
class MxFlcPresenter : public MxVideoPresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
MxFlcPresenter();
|
2024-02-01 15:42:10 -05:00
|
|
|
~MxFlcPresenter() override;
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1004e200
|
2024-07-04 19:06:32 -04:00
|
|
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-11-21 03:44:45 -05:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, MxFlcPresenter::ClassName()) || MxVideoPresenter::IsA(p_name);
|
2023-11-21 03:44:45 -05:00
|
|
|
}
|
|
|
|
|
2024-05-30 13:10:41 -04:00
|
|
|
// FUNCTION: BETA10 0x10083790
|
|
|
|
static const char* HandlerClassName()
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f43c8
|
2023-10-24 19:38:27 -04:00
|
|
|
return "MxFlcPresenter";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-05-30 13:10:41 -04:00
|
|
|
// FUNCTION: LEGO1 0x100b33f0
|
|
|
|
// FUNCTION: BETA10 0x10083760
|
2024-07-04 19:06:32 -04:00
|
|
|
const char* ClassName() const override // vtable+0x0c
|
2024-05-30 13:10:41 -04:00
|
|
|
{
|
|
|
|
return HandlerClassName();
|
|
|
|
}
|
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
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
|
2023-11-19 07:28:06 -05:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x100b3400
|
|
|
|
// MxFlcPresenter::`scalar deleting destructor'
|
|
|
|
|
2023-11-29 07:35:32 -05:00
|
|
|
protected:
|
2024-01-19 09:01:57 -05:00
|
|
|
FLIC_HEADER* m_flcHeader; // 0x64
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXFLCPRESENTER_H
|