mirror of
https://github.com/zeldaret/tp
synced 2026-07-10 23:22:01 -04:00
d_a_obj_twGate Matching (#2555)
* d_a_obj_twGate Matching * d_a_obj_volcbom OK
This commit is contained in:
@@ -14,14 +14,18 @@ typedef struct process_method_class process_method_class;
|
||||
typedef struct process_profile_definition process_profile_definition;
|
||||
typedef struct profile_method_class profile_method_class;
|
||||
|
||||
typedef struct state_class {
|
||||
/* 0x00 */ s8 init_state; // maybe inaccurate name
|
||||
/* 0x01 */ u8 create_phase;
|
||||
} state_class;
|
||||
|
||||
typedef struct base_process_class {
|
||||
/* 0x00 */ int type;
|
||||
/* 0x04 */ fpc_ProcID id;
|
||||
/* 0x08 */ s16 name;
|
||||
/* 0x0A */ s8 unk_0xA;
|
||||
/* 0x0B */ u8 pause_flag;
|
||||
/* 0x0C */ s8 init_state; // maybe inaccurate name
|
||||
/* 0x0D */ u8 create_phase;
|
||||
/* 0x0C */ state_class state;
|
||||
/* 0x0E */ s16 profname;
|
||||
/* 0x10 */ process_profile_definition* profile;
|
||||
/* 0x14 */ struct create_request* create_req;
|
||||
|
||||
@@ -54,7 +54,7 @@ inline BOOL fpcM_IsJustType(int i_typeA, int i_typeB) {
|
||||
}
|
||||
|
||||
inline bool fpcM_IsFirstCreating(void* i_process) {
|
||||
return ((base_process_class*)i_process)->init_state == 0;
|
||||
return ((base_process_class*)i_process)->state.init_state == 0;
|
||||
}
|
||||
|
||||
inline process_profile_definition* fpcM_GetProfile(void* i_process) {
|
||||
|
||||
Reference in New Issue
Block a user