Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
c_phase.h
Go to the documentation of this file.
1#ifndef C_PHASE_H
2#define C_PHASE_H
3
4#include <dolphin/types.h>
5
6typedef int (*cPhs__Handler)(void*);
7
8typedef int cPhs_Step;
9
10enum {
11 /* 0x0 */ cPhs_INIT_e,
12 /* 0x1 */ cPhs_LOADING_e,
13 /* 0x2 */ cPhs_NEXT_e,
14 /* 0x3 */ cPhs_UNK3_e, // appears to be an alternate error code, unsure how it differs
16 /* 0x5 */ cPhs_ERROR_e,
17};
18
23
24typedef int (*request_of_phase_process_fn)(void*);
25
27void cPhs_Set(request_of_phase_process_class* pPhase, cPhs__Handler* pHandlerTable);
31int cPhs_Do(request_of_phase_process_class* pPhase, void* pUserData);
33 void* pUserData);
34
35#endif /* C_PHASE_H */
int cPhs_Next(request_of_phase_process_class *pPhase)
Definition c_phase.cpp:27
int cPhs_Do(request_of_phase_process_class *pPhase, void *pUserData)
Definition c_phase.cpp:45
@ cPhs_NEXT_e
Definition c_phase.h:13
@ cPhs_COMPLEATE_e
Definition c_phase.h:15
@ cPhs_INIT_e
Definition c_phase.h:11
@ cPhs_LOADING_e
Definition c_phase.h:12
@ cPhs_UNK3_e
Definition c_phase.h:14
@ cPhs_ERROR_e
Definition c_phase.h:16
void cPhs_Reset(request_of_phase_process_class *pPhase)
Definition c_phase.cpp:8
int(* request_of_phase_process_fn)(void *)
Definition c_phase.h:24
void cPhs_UnCompleate(request_of_phase_process_class *pPhase)
Definition c_phase.cpp:17
int cPhs_Step
Definition c_phase.h:8
struct request_of_phase_process_class request_of_phase_process_class
int cPhs_Compleate(request_of_phase_process_class *pPhase)
Definition c_phase.cpp:22
void cPhs_Set(request_of_phase_process_class *pPhase, cPhs__Handler *pHandlerTable)
Definition c_phase.cpp:12
int cPhs_Handler(request_of_phase_process_class *pPhase, cPhs__Handler *pHandlerTable, void *pUserData)
Definition c_phase.cpp:78
int(* cPhs__Handler)(void *)
Definition c_phase.h:6
Definition c_phase.h:19
cPhs__Handler * mpHandlerTable
Definition c_phase.h:20
int id
Definition c_phase.h:21