mirror of
https://github.com/zeldaret/tp
synced 2026-08-31 17:33:00 -04:00
ported over f_pc
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user