mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
5867eaf68b
* typedef for cPhs_Step * make sdk includes consistent * d_menu_quit / d_msg_scrn_explain debug * d_a_obj_testcube mostly done * d_debug_pad mostly done * jstudio tool library headers * some JStudioCameraEditor headers * d_jcam_editor mostly done * try fixing some shield regressions * d_bg_parts mostly done * fix merge errors * debug fix
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*);
|
|
|
|
int fpcLyIt_OnlyHere(layer_class* i_layer, fpcLyIt_OnlyHereFunc i_func, void* i_data);
|
|
int fpcLyIt_OnlyHereLY(layer_class* i_layer, fpcLyIt_OnlyHereFunc i_func, void* i_data);
|
|
int 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
|