mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 15:48:09 -05:00
MxFlcPresenter: vtable70 (#291)
* MxFlcPresenter: vtable70 * Fix function --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
parent
0bb3ea6a03
commit
0b0a9a6d6f
2 changed files with 16 additions and 0 deletions
|
@ -1,6 +1,10 @@
|
|||
#include "mxflcpresenter.h"
|
||||
|
||||
#include "decomp.h"
|
||||
#include "mxbitmap.h"
|
||||
#include "mxomni.h"
|
||||
#include "mxpalette.h"
|
||||
#include "mxvideomanager.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(MxFlcPresenter, 0x68);
|
||||
|
||||
|
@ -19,3 +23,13 @@ MxFlcPresenter::~MxFlcPresenter()
|
|||
delete this->m_unk64;
|
||||
}
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100b3620
|
||||
void MxFlcPresenter::VTable0x70()
|
||||
{
|
||||
MxPalette* pal = m_bitmap->CreatePalette();
|
||||
MVideoManager()->RealizePalette(pal);
|
||||
|
||||
if (pal)
|
||||
delete pal;
|
||||
}
|
||||
|
|
|
@ -24,6 +24,8 @@ class MxFlcPresenter : public MxVideoPresenter {
|
|||
return !strcmp(name, MxFlcPresenter::ClassName()) || MxVideoPresenter::IsA(name);
|
||||
}
|
||||
|
||||
virtual void VTable0x70() override; // vtable+0x70
|
||||
|
||||
undefined4* m_unk64;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue