mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 09:54:18 +00:00
LegoPalettePresenter - destroy function and destructor (#288)
* LegoPalettePresenter - destroy function and destructor * Update legopalettepresenter.h --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#define LEGOPALETTEPRESENTER_H
|
||||
|
||||
#include "decomp.h"
|
||||
#include "mxpalette.h"
|
||||
#include "mxvideopresenter.h"
|
||||
|
||||
// VTABLE 0x100d9aa0
|
||||
@@ -9,7 +10,7 @@
|
||||
class LegoPalettePresenter : public MxVideoPresenter {
|
||||
public:
|
||||
LegoPalettePresenter();
|
||||
virtual ~LegoPalettePresenter(); // vtable+0x0
|
||||
virtual ~LegoPalettePresenter() override; // vtable+0x0
|
||||
|
||||
// OFFSET: LEGO1 0x10079f30
|
||||
inline const char* ClassName() const override // vtable+0xc
|
||||
@@ -24,10 +25,12 @@ public:
|
||||
return !strcmp(name, ClassName()) || MxVideoPresenter::IsA(name);
|
||||
}
|
||||
|
||||
virtual void Destroy() override; // vtable+0x38
|
||||
private:
|
||||
void Init();
|
||||
void Destroy(MxBool p_fromDestructor);
|
||||
|
||||
undefined4 m_unk64;
|
||||
MxPalette* m_palette;
|
||||
};
|
||||
|
||||
#endif // LEGOPALETTEPRESENTER_H
|
||||
|
||||
Reference in New Issue
Block a user