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
+2 -2
View File
@@ -42,11 +42,11 @@ static BOOL daHitobj_Delete(hitobj_class* i_this) {
}
/* 00000120-0000025C .text daHitobj_Create__FP10fopAc_ac_c */
static s32 daHitobj_Create(fopAc_ac_c* pActor) {
static cPhs_State daHitobj_Create(fopAc_ac_c* pActor) {
hitobj_class* i_this = (hitobj_class*)pActor;
fopAcM_SetupActor(i_this, hitobj_class);
int res = dComIfG_resLoad(&(i_this->mPhs), "Hitobj");
cPhs_State res = dComIfG_resLoad(&(i_this->mPhs), "Hitobj");
if (res == cPhs_COMPLEATE_e) {
i_this->mUnusedParam = fopAcM_GetParam(i_this) & 0xFF;