mirror of
https://github.com/zeldaret/tp
synced 2026-05-23 06:54:28 -04:00
9649319ec4
* Reorganize files into libs/{dolphin,JSystem,PowerPC_EABI_Support,revolution,TRK_MINNOW_DOLPHIN}
* Update configure.py and project.py for new libs structure
* Refactor `#include <dolphin/x.h>` -> `<x.h>`
* Remove `__REVOLUTION_SDK__` forwards from dolphin
* Fix dolphin/ references in revolution
* Wrap `#include <dolphin.h>` in `!__REVOLUTION_SDK__`
* Always build TRK against dolphin headers
* Resolve revolution SDK header resolution issues
23 lines
704 B
C
23 lines
704 B
C
#ifndef F_PC_LAYER_ITER_H_
|
|
#define F_PC_LAYER_ITER_H_
|
|
|
|
#include <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
|