mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
937da3c59b
* SComponent c_list / c_node * SComponent: c_tree * SComponent: start c_phase * SComponent: c_tag * SComponent: c_counter * f_pc_line / f_pc_line_tag the beginnings of the framework process system * f_pc_method_tag * SComponent: c_node_iter / c_list_iter / c_tag_iter / c_tree_iter * f_pc_draw_priority * f_pc_method_iter * f_pc_profile Also add (untested) base header classes for f_pc_base * f_pc_searcher * f_pc_create_tag * f_pc_creator * f_pc_layer skeleton * f_pc_method * f_pc_line_iter * f_pc_leaf somewhat * f_pc_delete_tag * f_pc_create_req * Fix a few non-matchings * c_phase: slight additional notes * c_node: more matching * fix build * c_node: One more matching * f_pc_line_iter: Matching * f_pc_create_req: a bit more * f_pc_load, f_pc_deletor partial * f_pc_executor partial * f: minor cleanups * f_pc_executor Co-authored-by: Pheenoh <pheenoh@gmail.com>
55 lines
1.6 KiB
C
55 lines
1.6 KiB
C
|
|
#ifndef F_PC_LAYER_H
|
|
#define F_PC_LAYER_H
|
|
|
|
#include "global.h"
|
|
#include "SComponent/c_node.h"
|
|
#include "SComponent/c_tree.h"
|
|
#include "SComponent/c_tag.h"
|
|
|
|
struct process_method_tag_class;
|
|
struct process_node_class;
|
|
|
|
struct layer_class : public node_class {
|
|
u32 mLayerID;
|
|
node_lists_tree_class mNodeListTree;
|
|
process_node_class *mpPcNode;
|
|
node_lists_tree_class mCancelListTree;
|
|
void *mpUnk0;
|
|
short mCreatingCount;
|
|
short mDeletingCount;
|
|
};
|
|
|
|
extern "C" {
|
|
|
|
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);
|
|
int fpcLy_IsCreatingMesg(layer_class *pLayer);
|
|
int fpcLy_IsDeletingMesg(layer_class *pLayer);
|
|
|
|
void fpcLy_IntoQueue(layer_class *pLayer, int treeListIdx, create_tag_class *pTag, int idx);
|
|
void fpcLy_ToQueue(layer_class *pLayer, int treeListIdx, create_tag_class *pTag);
|
|
void fpcLy_QueueTo(layer_class *pLayer, create_tag_class *pTag);
|
|
|
|
void fpcLy_Cancel(layer_class *pLayer);
|
|
int fpcLy_CancelMethod(layer_class *pLayer);
|
|
|
|
void fpcLy_CancelQTo(process_method_tag_class *pMthd);
|
|
void fpcLy_ToCancelQ(layer_class *pLayer, process_method_tag_class *pMthd);
|
|
|
|
void fpcLy_Create(layer_class *pLayer, void *pPcNode, node_list_class *pLists, int listNum);
|
|
void fpcLy_Delete(layer_class *pLayer);
|
|
|
|
};
|
|
|
|
#endif
|