Implement/match LegoRaceMap (#1087)

* Implement/match LegoRaceMap

* Fix CI, address review comments

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz
2024-08-17 20:30:39 +02:00
committed by GitHub
parent 34047c0cb6
commit 757df96c0d
11 changed files with 200 additions and 21 deletions

View File

@@ -63,8 +63,12 @@ public:
// FUNCTION: BETA10 0x1012efb0
const char* GetSourceName() const { return m_sourceName; }
// FUNCTION: BETA10 0x10028460
const char* GetObjectName() const { return m_objectName; }
// FUNCTION: BETA10 0x10017910
MxU32 GetObjectId() { return m_objectId; }
const MxAtomId& GetAtomId() { return m_atomId; }
MxS16 GetUnknown24() { return m_unk0x24; }
MxPresenter* GetUnknown28() { return m_unk0x28; }

View File

@@ -123,7 +123,10 @@ public:
MxS32 GetX() const { return this->m_location.GetX(); }
MxS32 GetY() const { return this->m_location.GetY(); }
MxS32 GetDisplayZ() const { return this->m_displayZ; }
// FUNCTION: BETA10 0x10028430
MxDSAction* GetAction() const { return this->m_action; }
void SetAction(MxDSAction* p_action) { m_action = p_action; }
void SetCompositePresenter(MxCompositePresenter* p_compositePresenter)

View File

@@ -30,8 +30,10 @@ public:
// class MxPtrListCursor<MxPresenter>
// VTABLE: LEGO1 0x100d6470
// SIZE 0x10
class MxPresenterListCursor : public MxPtrListCursor<MxPresenter> {
public:
// FUNCTION: BETA10 0x1007d130
MxPresenterListCursor(MxPresenterList* p_list) : MxPtrListCursor<MxPresenter>(p_list) {}
};
@@ -98,4 +100,13 @@ public:
// TEMPLATE: LEGO1 0x100225e0
// MxList<MxPresenter *>::DeleteEntry
// TEMPLATE: BETA10 0x1007d1d0
// MxPtrListCursor<MxPresenter>::MxPtrListCursor<MxPresenter>
// TEMPLATE: BETA10 0x1007d270
// MxListCursor<MxPresenter>::MxListCursor<MxPresenter>
// TEMPLATE: BETA10 0x100d9420
// MxListCursor<MxPresenter>::Prev
#endif // MXPRESENTERLIST_H