tww/include/f_op/f_op_scene_mng.h
LagoLunatic c6bd52facd
Some checks failed
Build / build (GZLE01) (push) Has been cancelled
Build / build (GZLJ01) (push) Has been cancelled
Build / build (GZLP01) (push) Has been cancelled
Build / website (push) Has been cancelled
d_a_bk work
2024-10-15 13:36:23 -04:00

42 lines
1.0 KiB
C

#ifndef F_F_OP_SCENE_MNG_H_
#define F_F_OP_SCENE_MNG_H_
#include "f_pc/f_pc_manager.h"
#include "f_op/f_op_scene.h"
typedef struct base_process_class base_process_class;
scene_class* fopScnM_SearchByID(fpc_ProcID id);
int fopScnM_ChangeReq(scene_class*, s16, s16, u16);
BOOL fopScnM_DeleteReq(scene_class*);
BOOL fopScnM_CreateReq(s16, s16, u16, u32);
u32 fopScnM_ReRequest(s16, u32);
void fopScnM_Management(void);
void fopScnM_Init(void);
inline u32 fpcM_LayerID(const void* pProc) {
if (fpcBs_Is_JustOfType(g_fpcNd_type, ((base_process_class*)pProc)->mSubType)) {
return ((scene_class*)pProc)->base.mLayer.mLayerID;
} else {
return fpcLy_NONE_e;
}
}
inline layer_class * fpcM_Layer(const void* pProc) {
return &((process_node_class*)pProc)->mLayer;
}
inline fpc_ProcID fopScnM_GetID(void* proc) {
return fpcM_GetID(proc);
}
inline int fopScnM_LayerID(void* proc) {
return fpcM_LayerID(proc);
}
inline u32 fopScnM_GetParam(void* proc) {
return fpcM_GetParam(proc);
}
#endif