Implement Isle::VTable0x50 (#432)

* push changes

* fix formatting

* Fix structure

* Fix return

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Misha
2024-01-13 15:42:09 -05:00
committed by GitHub
parent c2da041f40
commit 5b8ea35756
10 changed files with 81 additions and 6 deletions

View File

@@ -24,10 +24,21 @@ public:
inline void SetUnknown18(MxU32 p_unk0x18) { m_unk0x18 = p_unk0x18; }
inline MxU32 GetUnknown18() { return m_unk0x18; }
inline void SetUnknown21(MxS16 p_unk0x21) { m_unk0x21 = p_unk0x21; }
inline MxS16 GetUnknown21() { return m_unk0x21; }
void FUN_10034d00();
protected:
undefined m_unk0x8[0x10]; // 0x8
MxU32 m_unk0x18; // 0x18
undefined2 m_unk0x1c; // 0x1c
undefined m_unk0x1e; // 0x1e
undefined m_unk0x1f; // 0x1f
undefined m_unk0x20; // 0x20
MxBool m_unk0x21; // 0x21
undefined m_unk0x22; // 0x22
// TODO
};
#endif // ACT1STATE_H

View File

@@ -57,6 +57,7 @@ public:
MxLong HandleType17Notification(MxParam& p_param);
MxLong HandleType19Notification(MxParam& p_param);
MxLong HandleTransitionEnd();
void FUN_10032620();
protected:
Act1State* m_act1state; // 0xf8

View File

@@ -27,6 +27,7 @@ public:
return !strcmp(p_name, ClassName()) || MxCore::IsA(p_name);
}
void FUN_1005ef10();
void FUN_1005f6d0(MxBool);
void FUN_1005f720(undefined4);
void FUN_10064670(MxBool);

View File

@@ -3,7 +3,7 @@
#include "decomp.h"
#include "extra.h"
#include "mxdsobject.h"
#include "mxdsaction.h"
#include "mxentity.h"
#include "realtime/vector.h"
#include "roi/legoroi.h"

View File

@@ -72,7 +72,7 @@ private:
undefined m_unk0x41a[8]; // 0x41a - might be part of the structure at 0xa6
MxBool m_isDirty; // 0x420
undefined4 m_unk0x424; // 0x424
undefined4 m_unk0x428; // 0x428
undefined4 m_prevArea; // 0x428
undefined4 m_unk0x42c; // 0x42c
};

View File

@@ -41,6 +41,7 @@ public:
inline Lego3DManager* Get3DManager() { return this->m_3dManager; }
inline MxDirect3D* GetDirect3D() { return this->m_direct3d; }
inline void SetRender3D(MxBool p_render3d) { this->m_render3d = p_render3d; }
inline void SetUnk0x554(MxBool p_unk0x554) { this->m_unk0x554 = p_unk0x554; }
private:
MxResult CreateDirect3D();