MxControlPresenter ctor/structure

This commit is contained in:
Joshua Peisach 2023-09-30 20:47:26 -04:00
parent 7f423439b7
commit b810811c5f
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A
2 changed files with 20 additions and 3 deletions

View File

@ -1,7 +1,14 @@
#include "mxcontrolpresenter.h"
// OFFSET: LEGO1 0x10043f50 STUB
DECOMP_SIZE_ASSERT(MxControlPresenter, 0x5c)
// OFFSET: LEGO1 0x10043f50
MxControlPresenter::MxControlPresenter()
{
// TODO
this->m_unk4c = 0;
this->m_unk4e = -1;
this->m_unk50 = 0;
this->m_unk52 = 0;
this->m_unk58 = 0;
this->m_unk54 = 0;
}

View File

@ -1,6 +1,8 @@
#ifndef MXCONTROLPRESENTER_H
#define MXCONTROLPRESENTER_H
#include "decomp.h"
#include "mxcompositepresenter.h"
// VTABLE 0x100d7b88
@ -22,7 +24,15 @@ class MxControlPresenter : public MxCompositePresenter
{
return !strcmp(name, MxControlPresenter::ClassName()) || MxCompositePresenter::IsA(name);
}
private:
MxS16 m_unk4c;
MxS16 m_unk4e;
undefined m_unk50;
undefined m_unk51;
MxS16 m_unk52;
MxS16 m_unk54;
undefined2 m_unk56;
MxS32 m_unk58;
};