mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-19 21:33:07 -04:00
Add cPhs_State typedef and use it everywhere
This commit is contained in:
@@ -4,32 +4,31 @@
|
||||
//
|
||||
|
||||
#include "f_pc/f_pc_method.h"
|
||||
#include "SSystem/SComponent/c_phase.h"
|
||||
|
||||
/* 8003EF00-8003EF38 .text fpcMtd_Method__FPFPv_iPv */
|
||||
s32 fpcMtd_Method(process_method_func i_methodFunc, void* i_data) {
|
||||
int fpcMtd_Method(process_method_func i_methodFunc, void* i_data) {
|
||||
if (i_methodFunc != NULL)
|
||||
return i_methodFunc(i_data);
|
||||
else
|
||||
return cPhs_LOADING_e;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/* 8003EF38-8003EF5C .text fpcMtd_Execute__FP20process_method_classPv */
|
||||
s32 fpcMtd_Execute(process_method_class* i_methods, void* i_data) {
|
||||
BOOL fpcMtd_Execute(process_method_class* i_methods, void* i_data) {
|
||||
return fpcMtd_Method(i_methods->mpExecuteFunc, i_data);
|
||||
}
|
||||
|
||||
/* 8003EF5C-8003EF80 .text fpcMtd_IsDelete__FP20process_method_classPv */
|
||||
s32 fpcMtd_IsDelete(process_method_class* i_methods, void* i_data) {
|
||||
BOOL fpcMtd_IsDelete(process_method_class* i_methods, void* i_data) {
|
||||
return fpcMtd_Method(i_methods->mpIsDeleteFunc, i_data);
|
||||
}
|
||||
|
||||
/* 8003EF80-8003EFA4 .text fpcMtd_Delete__FP20process_method_classPv */
|
||||
s32 fpcMtd_Delete(process_method_class* i_methods, void* i_data) {
|
||||
BOOL fpcMtd_Delete(process_method_class* i_methods, void* i_data) {
|
||||
return fpcMtd_Method(i_methods->mpDeleteFunc, i_data);
|
||||
}
|
||||
|
||||
/* 8003EFA4-8003EFC8 .text fpcMtd_Create__FP20process_method_classPv */
|
||||
s32 fpcMtd_Create(process_method_class* i_methods, void* i_data) {
|
||||
cPhs_State fpcMtd_Create(process_method_class* i_methods, void* i_data) {
|
||||
return fpcMtd_Method(i_methods->mpCreateFunc, i_data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user