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

@@ -6,11 +6,11 @@
// SIZE 0x20
struct PizzaMissionStateEntry {
public:
undefined2 m_unk0x00;
MxU8 m_id;
undefined m_unk0x03[0x15];
MxU16 m_color;
undefined m_unk0x18[6];
undefined2 m_unk0x00; // 0x00
MxU8 m_id; // 0x02
undefined m_unk0x03[0x15]; // 0x03
MxU16 m_score; // 0x18
undefined m_unk0x18[6]; // 0x1a
};
// VTABLE: LEGO1 0x100d7408
@@ -32,7 +32,7 @@ public:
MxResult Serialize(LegoFile* p_legoFile) override; // vtable+0x1c
inline MxU16 GetColor(MxU8 p_id) { return GetState(p_id)->m_color; }
inline MxU16 GetScore(MxU8 p_id) { return GetState(p_id)->m_score; }
// SYNTHETIC: LEGO1 0x10039350
// PizzaMissionState::`scalar deleting destructor'