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 -2
View File
@@ -7,15 +7,16 @@
#include "SSystem/SComponent/c_phase.h"
/* 800565CC-8005662C .text dComLbG_PhaseHandler__FP30request_of_phase_process_classPPFPv_iPv */
int dComLbG_PhaseHandler(request_of_phase_process_class* i_phaseReq, cPhs__Handler* i_handler,
cPhs_State dComLbG_PhaseHandler(request_of_phase_process_class* i_phaseReq, cPhs__Handler* i_handler,
void* i_data) {
int phase = cPhs_Handler(i_phaseReq, i_handler, i_data);
cPhs_State phase = cPhs_Handler(i_phaseReq, i_handler, i_data);
switch (phase) {
case cPhs_NEXT_e:
phase = dComLbG_PhaseHandler(i_phaseReq, i_handler, i_data);
break;
case cPhs_LOADING_e:
case cPhs_STOP_e:
default:
break;
}