mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 23:05:36 -04:00
0555115de8
* f_pc_base, one non matching * some of f_pc_manager * f_pc_node OK * f_pc_pause partly * started node_req * more progress * most of node req * delete unused asm * node req header and param names * param renaming * header for manager * review comment struct names * fpcM_Management OK * int -> s32 * merge master * most of f_pc_create_iter * f_pc_stdcreate_req OK * f_pc_fstcreate OK * f_pc_leaf OK * f_pc_draw OK * f_pc_deletor partly * fix parameter type in f_pc_pause * review * review, use cPh enum and fix process_profile_definition struct * convert f_pc files to C * matched more functions * fix global.h * fix variable types * format * mpre Phs enum * fix merge errors * fix gamepad stopPatternedRumble * format * delete leftover files from merge * move asm to correct folder * revert f_pc from C to CPP * remove C hacks and format * format * OK
48 lines
1.3 KiB
C
48 lines
1.3 KiB
C
|
|
#ifndef F_PC_CREATE_REQ_H
|
|
#define F_PC_CREATE_REQ_H
|
|
|
|
#include "SComponent/c_phase.h"
|
|
#include "SComponent/c_tag.h"
|
|
#include "f/f_pc/f_pc_create_tag.h"
|
|
#include "f/f_pc/f_pc_layer.h"
|
|
#include "f/f_pc/f_pc_method.h"
|
|
#include "f/f_pc/f_pc_method_tag.h"
|
|
#include "global.h"
|
|
|
|
struct base_process_class;
|
|
|
|
typedef struct create_request_method_class {
|
|
cPhs__Handler mpHandler;
|
|
process_method_func mpCancel;
|
|
process_method_func mpDelete;
|
|
} create_request_method_class;
|
|
|
|
typedef struct create_request {
|
|
create_tag mBase;
|
|
s8 mbIsCreating;
|
|
s8 mbIsCancelling;
|
|
process_method_tag_class mMtdTg;
|
|
create_request_method_class* mpCtRqMtd;
|
|
void* mpUnk1;
|
|
s32 mBsPcId;
|
|
struct base_process_class* mpRes;
|
|
layer_class* mpLayer;
|
|
} create_request; // Size: 0x48
|
|
|
|
extern "C" {
|
|
|
|
BOOL fpcCtRq_isCreatingByID(create_tag* pTag, s32* pId);
|
|
BOOL fpcCtRq_IsCreatingByID(u32 id);
|
|
void fpcCtRq_CreateQTo(create_request* pReq);
|
|
void fpcCtRq_ToCreateQ(create_request* pReq);
|
|
BOOL fpcCtRq_Delete(create_request* pReq);
|
|
BOOL fpcCtRq_Cancel(create_request* pReq);
|
|
s32 fpcCtRq_IsDoing(create_request* pReq);
|
|
void fpcCtRq_Handler(void);
|
|
create_request* fpcCtRq_Create(layer_class* pLayer, u32 size,
|
|
create_request_method_class* pCtRqMtd);
|
|
};
|
|
|
|
#endif
|