mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-24 13:49:01 -04:00
eed14acdc6
The hope of auto-importing data via lld MinGW + pseudo_reloc is now dead thanks to ARM64, so I just wrote a script to go annotate every exported data symbol in the game instead.
33 lines
1010 B
C
33 lines
1010 B
C
|
|
#ifndef F_PC_PROFILE_H_
|
|
#define F_PC_PROFILE_H_
|
|
|
|
#include <types.h>
|
|
#include "global.h"
|
|
|
|
// Putting const on these profiles make them have internal linkage. Make sure they're extern!
|
|
#define DUSK_PROFILE IF_DUSK(extern) DUSK_GAME_DATA
|
|
|
|
typedef struct nodedraw_method_class nodedraw_method_class;
|
|
typedef struct leafdraw_method_class leafdraw_method_class;
|
|
typedef struct process_method_class process_method_class;
|
|
|
|
typedef struct process_profile_definition {
|
|
/* 0x00 */ unsigned int layer_id;
|
|
/* 0x04 */ u16 list_id;
|
|
/* 0x06 */ u16 list_priority;
|
|
/* 0x08 */ s16 name;
|
|
/* 0x0C */ process_method_class DUSK_CONST* methods;
|
|
/* 0x10 */ u32 process_size;
|
|
/* 0x14 */ u32 unk_size;
|
|
/* 0x18 */ u32 parameters;
|
|
} process_profile_definition;
|
|
|
|
#define LAYER_DEFAULT (-2)
|
|
|
|
struct leaf_process_profile_definition;
|
|
process_profile_definition DUSK_CONST* fpcPf_Get(s16 i_profname);
|
|
DUSK_GAME_EXTERN process_profile_definition DUSK_CONST* DUSK_CONST* DUSK_CONST g_fpcPf_ProfileList_p;
|
|
|
|
#endif
|