Introduce clang-format (#240)

This commit is contained in:
Christian Semmler
2023-10-24 19:38:27 -04:00
committed by GitHub
parent e928fc9425
commit b449da1fa3
408 changed files with 12434 additions and 12813 deletions

View File

@@ -8,16 +8,16 @@ DECOMP_SIZE_ASSERT(RaceStateEntry, 0x06)
// OFFSET: LEGO1 0x10015f30 STUB
RaceState::RaceState()
{
// TODO
// TODO
}
// OFFSET: LEGO1 0x10016280
RaceStateEntry *RaceState::GetState(MxU8 id)
RaceStateEntry* RaceState::GetState(MxU8 id)
{
for (MxS16 i = 0;; i++) {
if (i >= 5)
return NULL;
if (m_state[i].m_id == id)
return m_state + i;
}
for (MxS16 i = 0;; i++) {
if (i >= 5)
return NULL;
if (m_state[i].m_id == id)
return m_state + i;
}
}