diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2023-08-16 13:32:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-16 14:32:40 -0600 |
| commit | 114582643fcdb8b99499984e7e8e1f6c4e0671da (patch) | |
| tree | db35b5a92bedd6f6e0f12045fe2188ad1269f6a7 /libs/SSystem/SComponent/c_phase.cpp | |
| parent | 7fd7d0c1f3ac84a4f10b41fab925c18e0be0c5dc (diff) | |
Kytag00 / Vrbox2 work, some cphase / kankyo doc (#1886)
* kytag00 work
* d_a_vrbox2 close to done
* rename cPhase enum values
* some enums from noclip / kankyo doc
* remove asm
* use macro
* uncomment ok-check.yml
Diffstat (limited to 'libs/SSystem/SComponent/c_phase.cpp')
| -rw-r--r-- | libs/SSystem/SComponent/c_phase.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/SSystem/SComponent/c_phase.cpp b/libs/SSystem/SComponent/c_phase.cpp index 32516ba92b..72e76f6970 100644 --- a/libs/SSystem/SComponent/c_phase.cpp +++ b/libs/SSystem/SComponent/c_phase.cpp @@ -17,14 +17,14 @@ extern "C" static void cPhs_Next__FP30request_of_phase_process_class(); /* 80266624-80266630 000C+00 s=1 e=2 z=0 None .text * cPhs_Reset__FP30request_of_phase_process_class */ void cPhs_Reset(request_of_phase_process_class* pPhase) { - pPhase->id = cPhs_ZERO_e; + pPhase->id = cPhs_INIT_e; } /* 80266630-80266640 0010+00 s=0 e=3 z=0 None .text * cPhs_Set__FP30request_of_phase_process_classPPFPv_i */ void cPhs_Set(request_of_phase_process_class* pPhase, cPhs__Handler* pHandlerTable) { pPhase->mpHandlerTable = pHandlerTable; - pPhase->id = cPhs_ZERO_e; + pPhase->id = cPhs_INIT_e; } /* 80266640-80266668 0028+00 s=1 e=0 z=0 None .text @@ -53,7 +53,7 @@ int cPhs_Next(request_of_phase_process_class* pPhase) { if (handler == NULL || handler == NULL) { return cPhs_Compleate(pPhase); } else { - return cPhs_ONE_e; + return cPhs_LOADING_e; } } @@ -69,10 +69,10 @@ int cPhs_Do(request_of_phase_process_class* pPhase, void* pUserData) { int newStep = pPhase->mpHandlerTable[pPhase->id](pUserData); switch (newStep) { - case cPhs_ONE_e: + case cPhs_LOADING_e: return cPhs_Next(pPhase); - case cPhs_TWO_e: - return cPhs_Next(pPhase) == cPhs_ONE_e ? cPhs_TWO_e : cPhs_COMPLEATE_e; + case cPhs_NEXT_e: + return cPhs_Next(pPhase) == cPhs_LOADING_e ? cPhs_NEXT_e : cPhs_COMPLEATE_e; case cPhs_COMPLEATE_e: return cPhs_Compleate(pPhase); case cPhs_UNK3_e: |
