mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 05:08:57 -04:00
Add cPhs_State typedef and use it everywhere
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user