Implement Score (#230)

* Implement Score

* Update mxomni.cpp

Fix case of OFFSET comment.

* Fix DeleteObjects

* Apply changes (see comment)

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Nathan M Gilbert
2023-10-23 07:16:21 -04:00
committed by GitHub
parent 724c953947
commit 4cc6b9b8ec
38 changed files with 923 additions and 32 deletions

View File

@@ -1 +1,13 @@
#include "pizzamissionstate.h"
DECOMP_SIZE_ASSERT(PizzaMissionStateEntry, 0x20)
DECOMP_SIZE_ASSERT(PizzaMissionState, 0xb0)
// OFFSET: LEGO1 0x10039510
PizzaMissionStateEntry *PizzaMissionState::GetState(MxU8 id)
{
for (MxS16 i = 0; i < 5; i++)
if (m_state[i].m_id == id)
return m_state + i;
return NULL;
}