mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-05 00:59:14 -04:00
Merge remote-tracking branch 'origin/main' into 26-02-27-pjb-dev-2
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
#ifndef F_PC_CREATE_REQ_H_
|
||||
#define F_PC_CREATE_REQ_H_
|
||||
|
||||
#include "SSystem/SComponent/c_phase.h"
|
||||
#include "f_pc/f_pc_create_tag.h"
|
||||
#include "f_pc/f_pc_method.h"
|
||||
#include "f_pc/f_pc_method_tag.h"
|
||||
@@ -11,8 +10,12 @@
|
||||
typedef struct base_process_class base_process_class;
|
||||
typedef struct layer_class layer_class;
|
||||
|
||||
// declare our own typedef instead of cPhs__Handler to avoid pulling in c_phase.h
|
||||
// (which causes RTTI ordering issues in relation to cM3dGCyl)
|
||||
typedef int (*fpcCtRq_phase_handler)(void*);
|
||||
|
||||
typedef struct create_request_method_class {
|
||||
/* 0x0 */ cPhs__Handler phase_handler;
|
||||
/* 0x0 */ fpcCtRq_phase_handler phase_handler;
|
||||
/* 0x4 */ process_method_func cancel_method;
|
||||
/* 0x8 */ process_method_func delete_method;
|
||||
} create_request_method_class;
|
||||
|
||||
@@ -7,26 +7,6 @@ typedef struct layer_class layer_class;
|
||||
|
||||
typedef int (*stdCreateFunc)(void*, void*);
|
||||
|
||||
typedef struct standard_create_request_class {
|
||||
/* 0x00 */ create_request base;
|
||||
/* 0x48 */ request_of_phase_process_class phase_request;
|
||||
/* 0x50 */ s16 process_name;
|
||||
/* 0x54 */ void* process_append;
|
||||
/* 0x58 */ stdCreateFunc create_post_method;
|
||||
/* 0x5C */ void* unk_0x5C;
|
||||
#if DEBUG
|
||||
/* 0x60 */ int unk_0x60;
|
||||
#endif
|
||||
} standard_create_request_class;
|
||||
|
||||
int fpcSCtRq_phase_CreateProcess(standard_create_request_class* i_request);
|
||||
int fpcSCtRq_phase_SubCreateProcess(standard_create_request_class* i_request);
|
||||
int fpcSCtRq_phase_IsComplete(standard_create_request_class* i_request);
|
||||
int fpcSCtRq_phase_PostMethod(standard_create_request_class* i_request);
|
||||
int fpcSCtRq_phase_Done(standard_create_request_class* i_request);
|
||||
int fpcSCtRq_Handler(standard_create_request_class* i_request);
|
||||
int fpcSCtRq_Delete(standard_create_request_class* i_request);
|
||||
int fpcSCtRq_Cancel(standard_create_request_class* i_request);
|
||||
fpc_ProcID fpcSCtRq_Request(layer_class* i_layer, s16 i_procName, stdCreateFunc i_createFunc,
|
||||
void* param_4, void* i_append);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user