mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-23 08:08:03 -05:00
0b0a9a6d6f
* MxFlcPresenter: vtable70 * Fix function --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
35 lines
611 B
C++
35 lines
611 B
C++
#include "mxflcpresenter.h"
|
|
|
|
#include "decomp.h"
|
|
#include "mxbitmap.h"
|
|
#include "mxomni.h"
|
|
#include "mxpalette.h"
|
|
#include "mxvideomanager.h"
|
|
|
|
DECOMP_SIZE_ASSERT(MxFlcPresenter, 0x68);
|
|
|
|
// OFFSET: LEGO1 0x100b3310
|
|
MxFlcPresenter::MxFlcPresenter()
|
|
{
|
|
this->m_unk64 = 0;
|
|
this->m_flags &= 0xfd;
|
|
this->m_flags &= 0xfb;
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100b3420
|
|
MxFlcPresenter::~MxFlcPresenter()
|
|
{
|
|
if (this->m_unk64) {
|
|
delete this->m_unk64;
|
|
}
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100b3620
|
|
void MxFlcPresenter::VTable0x70()
|
|
{
|
|
MxPalette* pal = m_bitmap->CreatePalette();
|
|
MVideoManager()->RealizePalette(pal);
|
|
|
|
if (pal)
|
|
delete pal;
|
|
}
|