Add cPhs_State typedef and use it everywhere

This commit is contained in:
LagoLunatic
2025-03-17 22:26:56 -04:00
parent 455ff4a571
commit 822b13e57a
887 changed files with 2448 additions and 2470 deletions
+4 -4
View File
@@ -42,7 +42,7 @@ int daShutter2_c::CreateHeap() {
}
/* 00000194-00000350 .text Create__12daShutter2_cFv */
int daShutter2_c::Create() {
BOOL daShutter2_c::Create() {
fopAcM_SetMtx(this, mpModel->getBaseTRMtx());
Vec cullMin = m_cull_min[mType];
Vec cullMax = m_cull_max[mType];
@@ -69,10 +69,10 @@ int daShutter2_c::Create() {
}
/* 00000350-0000041C .text _create__12daShutter2_cFv */
s32 daShutter2_c::_create() {
cPhs_State daShutter2_c::_create() {
fopAcM_SetupActor(this, daShutter2_c);
mType = 0;
int phase_state = dComIfG_resLoad(&mPhs, m_arcname[mType]);
cPhs_State phase_state = dComIfG_resLoad(&mPhs, m_arcname[mType]);
if (phase_state == cPhs_COMPLEATE_e) {
phase_state = MoveBGCreate(m_arcname[mType], m_dzbidx[mType], NULL, m_heapsize[mType]);
if (phase_state == cPhs_ERROR_e) {
@@ -218,7 +218,7 @@ BOOL daShutter2_c::Draw() {
}
/* 00000950-00000970 .text daShutter2_Create__FPv */
static s32 daShutter2_Create(void* i_this) {
static cPhs_State daShutter2_Create(void* i_this) {
return ((daShutter2_c*)i_this)->_create();
}