d_a_obj_twGate Matching (#2555)

* d_a_obj_twGate Matching

* d_a_obj_volcbom OK
This commit is contained in:
hatal175
2025-07-26 03:44:23 +03:00
committed by GitHub
parent 585670f2b1
commit 70a1741977
40 changed files with 1428 additions and 1542 deletions
+6 -2
View File
@@ -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;
+1 -1
View File
@@ -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) {