2023-06-29 04:10:08 -04:00
|
|
|
#ifndef LEGOPALETTEPRESENTER_H
|
|
|
|
#define LEGOPALETTEPRESENTER_H
|
|
|
|
|
2023-09-11 13:43:55 -04:00
|
|
|
#include "decomp.h"
|
2023-11-17 15:01:27 -05:00
|
|
|
#include "mxpalette.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "mxvideopresenter.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d9aa0
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x68
|
2023-10-24 19:38:27 -04:00
|
|
|
class LegoPalettePresenter : public MxVideoPresenter {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
LegoPalettePresenter();
|
2024-02-01 15:42:10 -05:00
|
|
|
~LegoPalettePresenter() override; // vtable+0x00
|
2023-10-24 19:38:27 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10079f30
|
2024-01-29 16:17:17 -05:00
|
|
|
inline const char* ClassName() const override // vtable+0x0c
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f061c
|
2023-10-24 19:38:27 -04:00
|
|
|
return "LegoPalettePresenter";
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10079f40
|
2023-12-13 05:48:14 -05:00
|
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, ClassName()) || MxVideoPresenter::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
void ReadyTickle() override; // vtable+0x18
|
|
|
|
void Destroy() override; // vtable+0x38
|
2023-12-27 15:44:51 -05:00
|
|
|
|
2024-01-08 13:07:13 -05:00
|
|
|
MxResult ParsePalette(MxStreamChunk* p_chunk);
|
2023-11-24 12:10:09 -05:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x1007a050
|
|
|
|
// LegoPalettePresenter::`scalar deleting destructor'
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
private:
|
2023-10-24 19:38:27 -04:00
|
|
|
void Init();
|
2023-11-17 15:01:27 -05:00
|
|
|
void Destroy(MxBool p_fromDestructor);
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-27 15:44:51 -05:00
|
|
|
MxPalette* m_palette; // 0x64
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LEGOPALETTEPRESENTER_H
|