mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
850fae1aa3
* m_Do_main / f_ap_game debug stuff * revolution sdk compatibility * f_op_actor debug work * rename fopAcM_SetupActor to fopAcM_ct * fix build * fix jp/pal splits
23 lines
712 B
C
23 lines
712 B
C
#ifndef F_PC_LAYER_ITER_H_
|
|
#define F_PC_LAYER_ITER_H_
|
|
|
|
#include "dolphin/types.h"
|
|
|
|
typedef struct layer_class layer_class;
|
|
|
|
typedef struct layer_iter {
|
|
/* 0x0 */ void* func;
|
|
/* 0x4 */ void* data;
|
|
} layer_iter;
|
|
|
|
typedef int (*fpcLyIt_OnlyHereFunc)(void*, void*);
|
|
typedef void* (*fpcLyIt_JudgeFunc)(void*, void*);
|
|
|
|
s32 fpcLyIt_OnlyHere(layer_class* i_layer, fpcLyIt_OnlyHereFunc i_func, void* i_data);
|
|
s32 fpcLyIt_OnlyHereLY(layer_class* i_layer, fpcLyIt_OnlyHereFunc i_func, void* i_data);
|
|
s32 fpcLyIt_All(fpcLyIt_OnlyHereFunc i_func, void* i_data);
|
|
void* fpcLyIt_Judge(layer_class* i_layer, fpcLyIt_JudgeFunc i_func, void* i_data);
|
|
void* fpcLyIt_AllJudge(fpcLyIt_JudgeFunc i_func, void* i_data);
|
|
|
|
#endif
|