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
+3 -3
View File
@@ -237,14 +237,14 @@ bool Act_c::create_heap() {
}
/* 000002B4-000005B0 .text _create__Q210daObjHomen5Act_cFv */
s32 Act_c::_create() {
cPhs_State Act_c::_create() {
fopAcM_SetupActor(this, Act_c);
if (param_get_sw() != 0xFF && is_switch() == true) {
return cPhs_ERROR_e;
}
s32 phase_state = dComIfG_resLoad(&mPhase, M_arcname);
cPhs_State phase_state = dComIfG_resLoad(&mPhase, M_arcname);
mType = param_get_arg0() & 1;
@@ -819,7 +819,7 @@ bool Act_c::_draw() {
namespace {
/* 00002954-00002974 .text Mthd_Create__Q210daObjHomen27@unnamed@d_a_obj_homen_cpp@FPv */
s32 Mthd_Create(void* i_this) {
cPhs_State Mthd_Create(void* i_this) {
return ((Act_c*)i_this)->_create();
}