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:
Christian Semmler
2024-01-08 04:58:49 -05:00
committed by GitHub
parent 6a85e62406
commit c47206617d
447 changed files with 347 additions and 346 deletions

View File

@@ -0,0 +1,28 @@
#include "pizza.h"
DECOMP_SIZE_ASSERT(Pizza, 0x9c);
// FUNCTION: LEGO1 0x10037ef0
Pizza::Pizza()
{
this->m_unk0x7c = 0;
this->m_unk0x80 = 0;
this->m_unk0x84 = 0;
this->m_unk0x88 = 0;
this->m_unk0x8c = -1;
this->m_unk0x98 = 0;
this->m_unk0x90 = 0x80000000;
}
// FUNCTION: LEGO1 0x10038100
Pizza::~Pizza()
{
TickleManager()->UnregisterClient(this);
}
// STUB: LEGO1 0x100388a0
MxResult Pizza::Tickle()
{
// TODO
return SUCCESS;
}

View 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;
}

View File

@@ -0,0 +1 @@
#include "pizzeria.h"

View File

@@ -0,0 +1,7 @@
#include "pizzeriastate.h"
// STUB: LEGO1 0x10017af0
PizzeriaState::PizzeriaState()
{
// TODO
}