2023-06-29 04:10:08 -04:00
|
|
|
#include "mxflcpresenter.h"
|
|
|
|
|
2023-07-02 03:00:28 -04:00
|
|
|
#include "decomp.h"
|
2023-11-19 07:28:06 -05:00
|
|
|
#include "mxbitmap.h"
|
|
|
|
#include "mxomni.h"
|
|
|
|
#include "mxpalette.h"
|
|
|
|
#include "mxvideomanager.h"
|
2023-07-02 03:00:28 -04:00
|
|
|
|
|
|
|
DECOMP_SIZE_ASSERT(MxFlcPresenter, 0x68);
|
|
|
|
|
2023-09-20 07:48:46 -04:00
|
|
|
// OFFSET: LEGO1 0x100b3310
|
2023-06-29 04:10:08 -04:00
|
|
|
MxFlcPresenter::MxFlcPresenter()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
this->m_unk64 = 0;
|
|
|
|
this->m_flags &= 0xfd;
|
|
|
|
this->m_flags &= 0xfb;
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
|
|
|
|
2023-09-20 07:48:46 -04:00
|
|
|
// OFFSET: LEGO1 0x100b3420
|
2023-06-29 04:10:08 -04:00
|
|
|
MxFlcPresenter::~MxFlcPresenter()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
if (this->m_unk64) {
|
|
|
|
delete this->m_unk64;
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
2023-11-19 07:28:06 -05:00
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100b3620
|
|
|
|
void MxFlcPresenter::VTable0x70()
|
|
|
|
{
|
|
|
|
MxPalette* pal = m_bitmap->CreatePalette();
|
|
|
|
MVideoManager()->RealizePalette(pal);
|
|
|
|
|
|
|
|
if (pal)
|
|
|
|
delete pal;
|
|
|
|
}
|