mirror of
https://github.com/zeldaret/tww.git
synced 2024-11-30 08:41:55 +00:00
42 lines
1.0 KiB
C
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
|