mirror of
https://github.com/encounter/tp.git
synced 2026-07-11 06:18:46 -07:00
ported over f_pc
This commit is contained in:
@@ -3,4 +3,7 @@
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
void sBs_FillArea_s(void* pPtr, u32 pNumBytes, s16 pValue);
|
||||
void sBs_ClearArea(void* pPtr, u32 pNumBytes);
|
||||
|
||||
#endif /* S_BASIC_H */
|
||||
|
||||
@@ -1,6 +1,53 @@
|
||||
#ifndef F_PC_F_PC_BASE_H
|
||||
#define F_PC_F_PC_BASE_H
|
||||
|
||||
#ifndef F_PC_BASE_H_
|
||||
#define F_PC_BASE_H_
|
||||
|
||||
#include "SSystem/SComponent/c_tag.h"
|
||||
#include "dolphin/types.h"
|
||||
// #include "f/f_pc/f_pc_method.h"
|
||||
#include "f_pc/f_pc_delete_tag.h"
|
||||
#include "f_pc/f_pc_layer_tag.h"
|
||||
#include "f_pc/f_pc_line_tag.h"
|
||||
#include "f_pc/f_pc_priority.h"
|
||||
#include "f_pc/f_pc_profile.h"
|
||||
|
||||
#endif /* F_PC_F_PC_BASE_H */
|
||||
struct create_request;
|
||||
struct profile_method_class;
|
||||
|
||||
typedef struct base_process_class {
|
||||
/* 0x00 */ u32 mBsType;
|
||||
/* 0x04 */ u32 mBsPcId;
|
||||
/* 0x08 */ s16 mProcName;
|
||||
/* 0x0A */ s8 mUnk0;
|
||||
/* 0x0B */ u8 mPauseFlag;
|
||||
/* 0x0C */ s8 mInitState;
|
||||
/* 0x0D */ u8 mUnk2;
|
||||
/* 0x0E */ s16 mBsTypeId;
|
||||
/* 0x10 */ process_profile_definition* mpProf;
|
||||
/* 0x14 */ struct create_request* mpCtRq;
|
||||
/* 0x18 */ layer_management_tag_class mLyTg;
|
||||
/* 0x34 */ line_tag mLnTg;
|
||||
/* 0x4C */ delete_tag_class mDtTg;
|
||||
/* 0x68 */ process_priority_class mPi;
|
||||
/* 0xA8 */ process_method_class* mpPcMtd;
|
||||
/* 0xAC */ void* mpUserData;
|
||||
/* 0xB0 */ u32 mParameters;
|
||||
/* 0xB4 */ u32 mSubType;
|
||||
} base_process_class; // Size: 0xB8
|
||||
|
||||
BOOL fpcBs_Is_JustOfType(int pType1, int pType2);
|
||||
s32 fpcBs_MakeOfType(int* pType);
|
||||
s32 fpcBs_MakeOfId(void);
|
||||
s32 fpcBs_Execute(base_process_class* pProc);
|
||||
void fpcBs_DeleteAppend(base_process_class* pProc);
|
||||
s32 fpcBs_IsDelete(base_process_class* pProc);
|
||||
s32 fpcBs_Delete(base_process_class* pProc);
|
||||
base_process_class* fpcBs_Create(s16 pProcTypeID, unsigned int pProcID, void* pData);
|
||||
s32 fpcBs_SubCreate(base_process_class* pProc);
|
||||
|
||||
extern "C" {
|
||||
void fpcBs_MakeOfType__FPi(void);
|
||||
void fpcBs_Is_JustOfType__Fii(void);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,34 @@
|
||||
#ifndef F_PC_F_PC_CREATE_ITER_H
|
||||
#define F_PC_F_PC_CREATE_ITER_H
|
||||
|
||||
#ifndef F_PC_CREATE_ITER_H_
|
||||
#define F_PC_CREATE_ITER_H_
|
||||
|
||||
#include "SSystem/SComponent/c_list_iter.h"
|
||||
#include "SSystem/SComponent/c_tag_iter.h"
|
||||
#include "f_pc/f_pc_create_tag.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#endif /* F_PC_F_PC_CREATE_ITER_H */
|
||||
typedef int (*fpcCtIt_MethodFunc)(void*, void*);
|
||||
typedef void* (*fpcCtIt_JudgeFunc)(void*, void*);
|
||||
|
||||
typedef struct node_method_data {
|
||||
fpcCtIt_MethodFunc mFunc;
|
||||
void* mpUserData;
|
||||
} node_method_data;
|
||||
|
||||
typedef struct node_judge_data {
|
||||
fpcCtIt_JudgeFunc mFunc;
|
||||
void* mpUserData;
|
||||
} node_judge_data;
|
||||
|
||||
typedef struct fpcCtIt_jilprm_c {
|
||||
u32 mLayerID;
|
||||
fpcCtIt_JudgeFunc mFunc;
|
||||
void* mpUserData;
|
||||
} fpcCtIt_jilprm_c;
|
||||
|
||||
s32 fpcCtIt_Method(fpcCtIt_MethodFunc pJudge, void* pUserData);
|
||||
void* fpcCtIt_Judge(fpcCtIt_JudgeFunc pJudge, void* pUserData);
|
||||
void* fpcCtIt_filter_JudgeInLayer(create_tag*, fpcCtIt_jilprm_c*);
|
||||
void* fpcCtIt_JudgeInLayer(unsigned int pUnk0, fpcCtIt_JudgeFunc pFunc, void* pUserData);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,44 @@
|
||||
#ifndef F_PC_F_PC_CREATE_REQ_H
|
||||
#define F_PC_F_PC_CREATE_REQ_H
|
||||
|
||||
#ifndef F_PC_CREATE_REQ_H_
|
||||
#define F_PC_CREATE_REQ_H_
|
||||
|
||||
#include "SSystem/SComponent/c_phase.h"
|
||||
#include "SSystem/SComponent/c_tag.h"
|
||||
#include "f_pc/f_pc_create_tag.h"
|
||||
#include "f_pc/f_pc_layer.h"
|
||||
#include "f_pc/f_pc_method.h"
|
||||
#include "f_pc/f_pc_method_tag.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#endif /* F_PC_F_PC_CREATE_REQ_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
|
||||
|
||||
BOOL fpcCtRq_isCreatingByID(create_tag* pTag, unsigned int* pId);
|
||||
BOOL fpcCtRq_IsCreatingByID(unsigned int 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
|
||||
|
||||
@@ -1,6 +1,18 @@
|
||||
#ifndef F_PC_F_PC_CREATE_TAG_H
|
||||
#define F_PC_F_PC_CREATE_TAG_H
|
||||
|
||||
#ifndef F_PC_CREATE_TAG_H_
|
||||
#define F_PC_CREATE_TAG_H_
|
||||
|
||||
#include "SSystem/SComponent/c_tag.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#endif /* F_PC_F_PC_CREATE_TAG_H */
|
||||
typedef struct create_tag {
|
||||
create_tag_class mBase;
|
||||
} create_tag;
|
||||
|
||||
void fpcCtTg_ToCreateQ(create_tag* pTag);
|
||||
void fpcCtTg_CreateQTo(create_tag* pTag);
|
||||
s32 fpcCtTg_Init(create_tag* pTag, void* pUserData);
|
||||
|
||||
extern node_list_class g_fpcCtTg_Queue;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
#ifndef F_PC_F_PC_CREATOR_H
|
||||
#define F_PC_F_PC_CREATOR_H
|
||||
|
||||
#ifndef F_PC_CREATOR_H_
|
||||
#define F_PC_CREATOR_H_
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#endif /* F_PC_F_PC_CREATOR_H */
|
||||
struct base_process_class;
|
||||
|
||||
BOOL fpcCt_IsCreatingByID(unsigned int id);
|
||||
s32 fpcCt_IsDoing(struct base_process_class* pProc);
|
||||
BOOL fpcCt_Abort(struct base_process_class* pProc);
|
||||
void fpcCt_Handler(void);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,25 @@
|
||||
#ifndef F_PC_F_PC_DELETE_TAG_H
|
||||
#define F_PC_F_PC_DELETE_TAG_H
|
||||
|
||||
#ifndef F_PC_DELETE_TAG_H_
|
||||
#define F_PC_DELETE_TAG_H_
|
||||
|
||||
#include "SSystem/SComponent/c_tag.h"
|
||||
#include "f_pc/f_pc_layer.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#endif /* F_PC_F_PC_DELETE_TAG_H */
|
||||
typedef int (*delete_tag_func)(void*);
|
||||
|
||||
typedef struct delete_tag_class {
|
||||
create_tag_class mBase;
|
||||
layer_class* mpLayer;
|
||||
s16 mTimer;
|
||||
} delete_tag_class;
|
||||
|
||||
BOOL fpcDtTg_IsEmpty(void);
|
||||
void fpcDtTg_ToDeleteQ(delete_tag_class* pTag);
|
||||
void fpcDtTg_DeleteQTo(delete_tag_class* pTag);
|
||||
s32 fpcDtTg_Do(delete_tag_class* pTag, delete_tag_func pFunc);
|
||||
s32 fpcDtTg_Init(delete_tag_class* pTag, void* pUserData);
|
||||
|
||||
extern node_list_class g_fpcDtTg_Queue;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,15 @@
|
||||
#ifndef F_PC_F_PC_DELETOR_H
|
||||
#define F_PC_F_PC_DELETOR_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#ifndef F_PC_DELETOR_H_
|
||||
#define F_PC_DELETOR_H_
|
||||
|
||||
#endif /* F_PC_F_PC_DELETOR_H */
|
||||
#include "f_pc/f_pc_base.h"
|
||||
|
||||
struct base_process_class;
|
||||
|
||||
BOOL fpcDt_IsComplete(void);
|
||||
s32 fpcDt_ToDeleteQ(base_process_class* pProc);
|
||||
s32 fpcDt_ToQueue(base_process_class* pProc);
|
||||
void fpcDt_Handler(void);
|
||||
s32 fpcDt_Delete(void* pProc);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
#ifndef F_PC_F_PC_DRAW_H
|
||||
#define F_PC_F_PC_DRAW_H
|
||||
#ifndef F_PC_DRAW_H_
|
||||
#define F_PC_DRAW_H_
|
||||
|
||||
#include "SSystem/SComponent/c_node_iter.h"
|
||||
#include "f_pc/f_pc_base.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#endif /* F_PC_F_PC_DRAW_H */
|
||||
typedef int (*fpcDw_HandlerFunc)(void*, void*);
|
||||
typedef int (*fpcDw_HandlerFuncFunc)(fpcDw_HandlerFunc);
|
||||
|
||||
s32 fpcDw_Execute(base_process_class* pProc);
|
||||
s32 fpcDw_Handler(fpcDw_HandlerFuncFunc param_1, fpcDw_HandlerFunc param_2);
|
||||
|
||||
#endif
|
||||
@@ -1,6 +1,15 @@
|
||||
#ifndef F_PC_F_PC_DRAW_PRIORITY_H
|
||||
#define F_PC_F_PC_DRAW_PRIORITY_H
|
||||
|
||||
#ifndef F_PC_DRAW_PRIORITY_H_
|
||||
#define F_PC_DRAW_PRIORITY_H_
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#endif /* F_PC_F_PC_DRAW_PRIORITY_H */
|
||||
typedef struct draw_priority_class {
|
||||
s16 mPriority;
|
||||
} draw_priority_class;
|
||||
|
||||
s32 fpcDwPi_Get(const draw_priority_class* pDwPi);
|
||||
void fpcDwPi_Set(draw_priority_class* pDwPi, s16 p);
|
||||
void fpcDwPi_Init(draw_priority_class* pDwPi, s16 p);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,23 @@
|
||||
#ifndef F_PC_F_PC_EXECUTOR_H
|
||||
#define F_PC_F_PC_EXECUTOR_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#ifndef F_PC_EXECUTOR_H_
|
||||
#define F_PC_EXECUTOR_H_
|
||||
|
||||
#endif /* F_PC_F_PC_EXECUTOR_H */
|
||||
#include "SSystem/SComponent/c_node_iter.h"
|
||||
#include "f_pc/f_pc_base.h"
|
||||
#include "f_pc/f_pc_layer_iter.h"
|
||||
#include "f_pc/f_pc_line_iter.h"
|
||||
|
||||
base_process_class* fpcEx_Search(fpcLyIt_JudgeFunc pFunc, void* pUserData);
|
||||
base_process_class* fpcEx_SearchByID(unsigned int id);
|
||||
BOOL fpcEx_IsExist(unsigned int id);
|
||||
s32 fpcEx_ToLineQ(base_process_class* pProc);
|
||||
s32 fpcEx_ExecuteQTo(base_process_class* pProc);
|
||||
s32 fpcEx_Execute(base_process_class* pProc);
|
||||
s32 fpcEx_ToExecuteQ(base_process_class* pProc);
|
||||
void fpcEx_Handler(fpcLnIt_QueueFunc pFunc);
|
||||
|
||||
extern "C" {
|
||||
void fpcEx_IsExist__FUi(void);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,23 @@
|
||||
#ifndef F_PC_F_PC_FSTCREATE_REQ_H
|
||||
#define F_PC_F_PC_FSTCREATE_REQ_H
|
||||
#ifndef F_PC_FSTCREATE_REQ_H_
|
||||
#define F_PC_FSTCREATE_REQ_H_
|
||||
|
||||
#include "f_pc/f_pc_base.h"
|
||||
#include "f_pc/f_pc_create_req.h"
|
||||
#include "f_pc/f_pc_layer.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#endif /* F_PC_F_PC_FSTCREATE_REQ_H */
|
||||
typedef int (*fstCreateFunc)(void*, void*);
|
||||
|
||||
typedef struct fast_create_request {
|
||||
/* 0x00 */ create_request mBase;
|
||||
/* 0x48 */ fstCreateFunc mpFastCreateFunc;
|
||||
/* 0x4C */ void* mpFastCreateData;
|
||||
} fast_create_request; // Size: 0x50
|
||||
|
||||
s32 fpcFCtRq_Do(fast_create_request* pFstCreateReq);
|
||||
s32 fpcFCtRq_Delete(fast_create_request*);
|
||||
base_process_class* fpcFCtRq_Request(layer_class* pLayer, s16 pProcTypeID,
|
||||
fstCreateFunc pFastCreateFunc, void* pFastCreateData,
|
||||
void* pData);
|
||||
|
||||
#endif
|
||||
@@ -1,6 +1,53 @@
|
||||
#ifndef F_PC_F_PC_LAYER_H
|
||||
#define F_PC_F_PC_LAYER_H
|
||||
|
||||
#ifndef F_PC_LAYER_H_
|
||||
#define F_PC_LAYER_H_
|
||||
|
||||
#include "SSystem/SComponent/c_node.h"
|
||||
#include "SSystem/SComponent/c_tag.h"
|
||||
#include "SSystem/SComponent/c_tree.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#endif /* F_PC_F_PC_LAYER_H */
|
||||
struct process_method_tag_class;
|
||||
typedef struct process_node_class process_node_class;
|
||||
|
||||
typedef struct layer_class {
|
||||
node_class mNode;
|
||||
u32 mLayerID;
|
||||
node_lists_tree_class mNodeListTree;
|
||||
process_node_class* mpPcNode;
|
||||
node_list_class mCancelList;
|
||||
struct {
|
||||
s16 mCreatingCount;
|
||||
s16 mDeletingCount;
|
||||
} counts;
|
||||
} layer_class;
|
||||
|
||||
void fpcLy_SetCurrentLayer(layer_class* pLayer);
|
||||
layer_class* fpcLy_CurrentLayer(void);
|
||||
layer_class* fpcLy_RootLayer(void);
|
||||
layer_class* fpcLy_Layer(unsigned int id);
|
||||
layer_class* fpcLy_Search(unsigned int id);
|
||||
void fpcLy_Regist(layer_class* pLayer);
|
||||
|
||||
void fpcLy_CreatedMesg(layer_class* pLayer);
|
||||
void fpcLy_CreatingMesg(layer_class* pLayer);
|
||||
void fpcLy_DeletedMesg(layer_class* pLayer);
|
||||
void fpcLy_DeletingMesg(layer_class* pLayer);
|
||||
BOOL fpcLy_IsCreatingMesg(layer_class* pLayer);
|
||||
BOOL fpcLy_IsDeletingMesg(layer_class* pLayer);
|
||||
|
||||
s32 fpcLy_IntoQueue(layer_class* pLayer, int treeListIdx, create_tag_class* pTag, int idx);
|
||||
s32 fpcLy_ToQueue(layer_class* pLayer, int treeListIdx, create_tag_class* pTag);
|
||||
s32 fpcLy_QueueTo(layer_class* pLayer, create_tag_class* pTag);
|
||||
|
||||
void fpcLy_Cancel(layer_class* pLayer);
|
||||
BOOL fpcLy_CancelMethod(struct process_method_tag_class* pLayer);
|
||||
|
||||
void fpcLy_CancelQTo(struct process_method_tag_class* pMthd);
|
||||
s32 fpcLy_ToCancelQ(layer_class* pLayer, struct process_method_tag_class* pMthd);
|
||||
|
||||
void fpcLy_Create(layer_class* pLayer, void* pPcNode, node_list_class* pLists, int listNum);
|
||||
|
||||
s32 fpcLy_Delete(layer_class* pLayer);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,21 @@
|
||||
#ifndef F_PC_F_PC_LAYER_ITER_H
|
||||
#define F_PC_F_PC_LAYER_ITER_H
|
||||
#ifndef F_PC_LAYER_ITER_H_
|
||||
#define F_PC_LAYER_ITER_H_
|
||||
|
||||
#include "SSystem/SComponent/c_node_iter.h"
|
||||
#include "f_pc/f_pc_layer.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#endif /* F_PC_F_PC_LAYER_ITER_H */
|
||||
typedef struct layer_iter {
|
||||
void* mpFunc;
|
||||
void* mpUserData;
|
||||
} layer_iter;
|
||||
|
||||
typedef int (*fpcLyIt_OnlyHereFunc)(void*, void*);
|
||||
typedef void* (*fpcLyIt_JudgeFunc)(void*, void*);
|
||||
|
||||
s32 fpcLyIt_OnlyHere(layer_class* pLayer, fpcLyIt_OnlyHereFunc pFunc, void* pUserData);
|
||||
s32 fpcLyIt_OnlyHereLY(layer_class* pLayer, fpcLyIt_OnlyHereFunc pFunc, void* pUserData);
|
||||
void* fpcLyIt_Judge(layer_class* pLayer, fpcLyIt_JudgeFunc pFunc, void* pUserData);
|
||||
void* fpcLyIt_AllJudge(fpcLyIt_JudgeFunc pFunc, void* pUserData);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,22 @@
|
||||
#ifndef F_PC_F_PC_LAYER_TAG_H
|
||||
#define F_PC_F_PC_LAYER_TAG_H
|
||||
|
||||
#ifndef F_PC_LAYER_TAG_H_
|
||||
#define F_PC_LAYER_TAG_H_
|
||||
|
||||
#include "SSystem/SComponent/c_tag.h"
|
||||
#include "f_pc/f_pc_layer.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#endif /* F_PC_F_PC_LAYER_TAG_H */
|
||||
typedef struct layer_management_tag_class {
|
||||
create_tag_class mCreateTag;
|
||||
layer_class* mpLayer;
|
||||
u16 mNodeListID;
|
||||
u16 mNodeListIdx;
|
||||
} layer_management_tag_class;
|
||||
|
||||
s32 fpcLyTg_QueueTo(layer_management_tag_class* pTag);
|
||||
s32 fpcLyTg_ToQueue(layer_management_tag_class* pTag, unsigned int layerID, u16 listID,
|
||||
u16 listPrio);
|
||||
s32 fpcLyTg_Move(layer_management_tag_class*, unsigned int, u16, u16);
|
||||
s32 fpcLyTg_Init(layer_management_tag_class*, unsigned int, void*);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,41 @@
|
||||
#ifndef F_PC_F_PC_LEAF_H
|
||||
#define F_PC_F_PC_LEAF_H
|
||||
|
||||
#ifndef F_PC_LEAF_H_
|
||||
#define F_PC_LEAF_H_
|
||||
|
||||
#include "f_pc/f_pc_base.h"
|
||||
#include "f_pc/f_pc_draw_priority.h"
|
||||
#include "f_pc/f_pc_method.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#endif /* F_PC_F_PC_LEAF_H */
|
||||
typedef struct leafdraw_method_class {
|
||||
/* 0x00 */ process_method_class mBase;
|
||||
/* 0x10 */ process_method_func mpDrawFunc;
|
||||
} leafdraw_method_class;
|
||||
|
||||
typedef struct leafdraw_class {
|
||||
/* 0x00 */ base_process_class mBase;
|
||||
/* 0xB8 */ leafdraw_method_class* mpDrawMtd;
|
||||
/* 0xBC */ s8 mbUnk0;
|
||||
/* 0xBD */ u8 mbUnk1;
|
||||
/* 0xBE */ draw_priority_class mDwPi;
|
||||
} leafdraw_class;
|
||||
|
||||
typedef struct leaf_process_profile_definition {
|
||||
/* 0x00 */ process_profile_definition mBase;
|
||||
/* 0x1C */ leafdraw_method_class* mLfDrwMth;
|
||||
/* 0x20 */ s16 unk20;
|
||||
/* 0x22 */ u8 unk22[2];
|
||||
/* 0x24 */ s32 unk24;
|
||||
} leaf_process_profile_definition;
|
||||
|
||||
s32 fpcLf_GetPriority(const leafdraw_class* pLeaf);
|
||||
s32 fpcLf_DrawMethod(leafdraw_method_class* pMthd, void* pUserData);
|
||||
s32 fpcLf_Draw(leafdraw_class* pMthd);
|
||||
s32 fpcLf_Execute(leafdraw_class* pLeaf);
|
||||
s32 fpcLf_IsDelete(leafdraw_class* pLeaf);
|
||||
s32 fpcLf_Delete(leafdraw_class* pLeaf);
|
||||
s32 fpcLf_Create(leafdraw_class* pLeaf);
|
||||
|
||||
extern int g_fpcLf_type;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
#ifndef F_PC_F_PC_LINE_H
|
||||
#define F_PC_F_PC_LINE_H
|
||||
#ifndef F_PC_LINE_H_
|
||||
#define F_PC_LINE_H_
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#include "SSystem/SComponent/c_tree.h"
|
||||
|
||||
#endif /* F_PC_F_PC_LINE_H */
|
||||
void fpcLn_Create(void);
|
||||
|
||||
extern node_lists_tree_class g_fpcLn_Queue;
|
||||
|
||||
#endif
|
||||
@@ -1,6 +1,11 @@
|
||||
#ifndef F_PC_F_PC_LINE_ITER_H
|
||||
#define F_PC_F_PC_LINE_ITER_H
|
||||
|
||||
#include "dolphin/types.h"
|
||||
#ifndef F_PC_LINE_ITER_H_
|
||||
#define F_PC_LINE_ITER_H_
|
||||
|
||||
#endif /* F_PC_F_PC_LINE_ITER_H */
|
||||
#include "SSystem/SComponent/c_node_iter.h"
|
||||
|
||||
typedef int (*fpcLnIt_QueueFunc)(void*, void*);
|
||||
|
||||
void fpcLnIt_Queue(fpcLnIt_QueueFunc pFunc);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,18 @@
|
||||
#ifndef F_PC_F_PC_LINE_TAG_H
|
||||
#define F_PC_F_PC_LINE_TAG_H
|
||||
|
||||
#ifndef F_PC_LINE_TAG_H_
|
||||
#define F_PC_LINE_TAG_H_
|
||||
|
||||
#include "SSystem/SComponent/c_tag.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#endif /* F_PC_F_PC_LINE_TAG_H */
|
||||
typedef struct line_tag {
|
||||
create_tag_class mBase;
|
||||
s32 mLineListID;
|
||||
} line_tag;
|
||||
|
||||
s32 fpcLnTg_Move(line_tag* pLineTag, int newLineListID);
|
||||
void fpcLnTg_QueueTo(line_tag* pLineTag);
|
||||
s32 fpcLnTg_ToQueue(line_tag* pLineTag, int lineListID);
|
||||
void fpcLnTg_Init(line_tag* pLineTag, void* pData);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
#ifndef F_PC_F_PC_LOAD_H
|
||||
#define F_PC_F_PC_LOAD_H
|
||||
|
||||
#ifndef F_PC_LOAD_H_
|
||||
#define F_PC_LOAD_H_
|
||||
|
||||
#include "dolphin/types.h"
|
||||
|
||||
#endif /* F_PC_F_PC_LOAD_H */
|
||||
BOOL fpcLd_Use(s16 procName);
|
||||
s32 fpcLd_IsLoaded(s16 procName);
|
||||
void fpcLd_Free(s16 procName);
|
||||
s32 fpcLd_Load(s16 procName);
|
||||
|
||||
#endif
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user