mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
Reorganize sources and files (#414)
* Reorganize sources * Refactor * Remove relative paths * Renames * Fix gitignore * Remove stuff * Try fixing format script * Fix format * Fix format * Fix naming script * Test format * Fix format
This commit is contained in:

committed by
GitHub

parent
6a85e62406
commit
c47206617d
13
LEGO1/lego/legoomni/src/pizzeria/pizzamissionstate.cpp
Normal file
13
LEGO1/lego/legoomni/src/pizzeria/pizzamissionstate.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "pizzamissionstate.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(PizzaMissionStateEntry, 0x20)
|
||||
DECOMP_SIZE_ASSERT(PizzaMissionState, 0xb0)
|
||||
|
||||
// FUNCTION: LEGO1 0x10039510
|
||||
PizzaMissionStateEntry* PizzaMissionState::GetState(MxU8 p_id)
|
||||
{
|
||||
for (MxS16 i = 0; i < 5; i++)
|
||||
if (m_state[i].m_id == p_id)
|
||||
return m_state + i;
|
||||
return NULL;
|
||||
}
|
Reference in New Issue
Block a user