mirror of https://github.com/zeldaret/tp.git
22 lines
677 B
C
22 lines
677 B
C
#ifndef F_PC_LAYER_ITER_H_
|
|
#define F_PC_LAYER_ITER_H_
|
|
|
|
#include "SSystem/SComponent/c_node_iter.h"
|
|
#include "dolphin/types.h"
|
|
#include "f_pc/f_pc_layer.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
|