Fix Annotations and LegoAnimActor class structure. (#710)

* Fix size annotations for legoomni
Fix structure and add placeholder annotations for LegoAnimActor and subclasses

* Fix LegoCarRaceActor constructor
Fix function name in LegoRaceCar

* Add size assertions for legoomni and fix sizes

* Various style fixes

* Use other marker so vtable.py doesn't compare

* Revert "Use other marker so vtable.py doesn't compare"

This reverts commit 608985cd73.

* Fix copy/paste error

* Remove stale comment.

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Nathan M Gilbert
2024-03-22 21:30:58 -04:00
committed by GitHub
parent 96f7219811
commit fca8f74bd8
108 changed files with 778 additions and 82 deletions

View File

@@ -3,9 +3,16 @@
#include "legoanimactor.h"
// VTABLE: LEGO1 0x100d6c10
class LegoExtraActor : public LegoAnimActor {
/*
VTABLE: LEGO1 0x100d6c00 LegoAnimActor
VTABLE: LEGO1 0x100d6c10 LegoPathActor
VTABLE: LEGO1 0x100d6cdc LegoExtraActor
*/
// SIZE 0x1dc
class LegoExtraActor : public virtual LegoAnimActor {
public:
LegoExtraActor();
// FUNCTION: LEGO1 0x1002b7a0
inline const char* ClassName() const override // vtable+0x0c
{
@@ -18,6 +25,19 @@ public:
{
return !strcmp(p_name, LegoExtraActor::ClassName()) || LegoAnimActor::IsA(p_name);
}
virtual MxResult FUN_1002aae0();
private:
undefined4 m_unk0x08; // 0x08
undefined m_unk0x0c; // 0x0c
undefined m_unk0x0d; // 0x0d
undefined m_unk0x0e; // 0x0e
undefined4 m_unk0x10; // 0x10
undefined m_unk0x14; // 0x14
MxMatrix m_unk0x18; // 0x18
undefined4 m_unk0x60; // 0x60
undefined4 m_unk0x64; // 0x64
};
#endif // LEGOEXTRAACTOR_H