Fix names and annotations

This commit is contained in:
Nathan 2024-02-18 23:08:17 -05:00
parent 1e59c381e3
commit b4ba6df022

View File

@ -91,16 +91,16 @@ class LegoGameState {
struct ScoreName { struct ScoreName {
// FUNCTION: LEGO1 0x1003c710 // FUNCTION: LEGO1 0x1003c710
ScoreName* operator=(ScoreName* const p_other); ScoreName* operator=(ScoreName* const p_other);
MxS16 m_letters[7]; MxS16 m_letters[7]; // 0x0
}; };
// SIZE 0x2c // SIZE 0x2c
struct Score { struct Score {
undefined2 m_unk0x0; // 0x0 undefined2 m_unk0x0; // 0x0
MxU8 m_state[25]; // 0x2 MxU8 m_state[25]; // 0x2
MxU8 m_pad; // 0x1b MxU8 m_pad; // 0x1b
ScoreName m_name; // 0x1c ScoreName m_name; // 0x1c
undefined2 m_unk2a; // 0x2a undefined2 m_unk0x2a; // 0x2a
}; };
// SIZE 0x372 // SIZE 0x372
@ -108,10 +108,10 @@ class LegoGameState {
void WriteScoreHistory(); void WriteScoreHistory();
void FUN_1003ccf0(LegoFile&); void FUN_1003ccf0(LegoFile&);
inline Score* GetScore(MxU32 index) { return index >= m_count ? NULL : m_scores + index; } inline Score* GetScore(MxU32 p_index) { return p_index >= m_count ? NULL : m_scores + p_index; }
MxU16 m_count; MxU16 m_count; // 0x0
Score m_scores[20]; Score m_scores[20]; // 0x2
}; };
#pragma pack(pop) #pragma pack(pop)