isle/LEGO1/legopalettepresenter.h

38 lines
808 B
C
Raw Normal View History

#ifndef LEGOPALETTEPRESENTER_H
#define LEGOPALETTEPRESENTER_H
#include "decomp.h"
#include "mxpalette.h"
#include "mxvideopresenter.h"
// VTABLE 0x100d9aa0
// SIZE 0x68
2023-10-24 19:38:27 -04:00
class LegoPalettePresenter : public MxVideoPresenter {
public:
2023-10-24 19:38:27 -04:00
LegoPalettePresenter();
virtual ~LegoPalettePresenter() override; // vtable+0x0
2023-10-24 19:38:27 -04:00
// OFFSET: LEGO1 0x10079f30
inline const char* ClassName() const override // vtable+0xc
{
// 0x100f061c
return "LegoPalettePresenter";
}
// OFFSET: LEGO1 0x10079f40
inline MxBool IsA(const char* name) const override // vtable+0x10
{
return !strcmp(name, ClassName()) || MxVideoPresenter::IsA(name);
}
virtual void Destroy() override; // vtable+0x38
private:
2023-10-24 19:38:27 -04:00
void Init();
void Destroy(MxBool p_fromDestructor);
MxPalette* m_palette;
};
#endif // LEGOPALETTEPRESENTER_H