Score class cleanup (#855)

* Cleanup/fixes

* Improve Paint match

* Improve Score::FillArea

* Fix naming

* Fix value
This commit is contained in:
Christian Semmler
2024-04-26 10:58:42 -04:00
committed by GitHub
parent 180a1e6360
commit 19d39394be
12 changed files with 145 additions and 165 deletions

View File

@@ -7,11 +7,12 @@
struct RaceStateEntry {
public:
inline MxS16 GetUnknown0x02() { return m_unk0x02; }
inline MxU16 GetScore() { return m_score; }
// TODO: Possibly private
MxU8 m_id; // 0x00
MxS16 m_unk0x02; // 0x02
MxU16 m_color; // 0x04
MxU16 m_score; // 0x04
};
// VTABLE: LEGO1 0x100d5e30
@@ -37,7 +38,6 @@ public:
RaceStateEntry* GetState(MxU8 p_id);
inline MxU16 GetColor(MxU8 p_id) { return GetState(p_id)->m_color; }
inline undefined4 GetUnknown0x28() { return m_unk0x28; }
// SYNTHETIC: LEGO1 0x1000f6f0