Progress towards implementing SkateBoard (#864)

* Implement SkateBoard::~SkateBoard()

* Implement SkateBoard::VTable0xd4

* Implement SkateBoard::Create()

- one typecast is still not clear

* Add SkateBoard::VTable0xe4()

* apply clang-format

* Apply clang-format to legocontrolmanager.h

* Address review comments

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz
2024-04-28 13:23:29 +02:00
committed by GitHub
parent ec7df356cf
commit dede20000f
4 changed files with 72 additions and 17 deletions

View File

@@ -31,13 +31,18 @@ public:
undefined4 HandleEndAction(MxEndActionNotificationParam&) override; // vtable+0x74
undefined4 VTable0x80(MxParam&) override; // vtable+0x80
void FUN_100382b0();
void FUN_10038380();
inline void SetUnknown0x84(undefined* p_unk0x84) { m_unk0x84 = p_unk0x84; }
// SYNTHETIC: LEGO1 0x100380e0
// Pizza::`scalar deleting destructor'
private:
undefined4 m_unk0x7c; // 0x7c
undefined4 m_unk0x80; // 0x80
undefined4 m_unk0x84; // 0x84
undefined* m_unk0x84; // 0x84
undefined4 m_unk0x88; // 0x88
undefined4 m_unk0x8c; // 0x8c
undefined4 m_unk0x90; // 0x90

View File

@@ -9,6 +9,7 @@
class SkateBoard : public IslePathActor {
public:
SkateBoard();
~SkateBoard() override;
// FUNCTION: LEGO1 0x1000fdd0
inline const char* ClassName() const override // vtable+0x0c
@@ -35,9 +36,8 @@ public:
// SkateBoard::`scalar deleting destructor'
private:
// TODO: SkateBoard types
undefined m_unk0x160;
undefined m_unk0x161[0x7];
undefined m_unk0x160; // 0x160
undefined* m_unk0x164; // 0x164
};
#endif // SKATEBOARD_H