Annotate all data with DUSK_GAME_DATA (#2214)

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.
This commit is contained in:
Luke Street
2026-07-14 13:49:21 -06:00
committed by GitHub
parent f5d30a886d
commit eed14acdc6
843 changed files with 4817 additions and 4821 deletions
+1 -1
View File
@@ -57,6 +57,6 @@ int fpcBs_Delete(base_process_class* i_proc);
base_process_class* fpcBs_Create(s16 i_profname, fpc_ProcID i_procID, void* i_append);
int fpcBs_SubCreate(base_process_class* i_proc);
extern int g_fpcBs_type;
DUSK_GAME_EXTERN int g_fpcBs_type;
#endif
+1 -1
View File
@@ -13,6 +13,6 @@ void fpcCtTg_ToCreateQ(create_tag* i_createTag);
void fpcCtTg_CreateQTo(create_tag* i_createTag);
int fpcCtTg_Init(create_tag* i_createTag, void* i_data);
extern node_list_class g_fpcCtTg_Queue;
DUSK_GAME_EXTERN node_list_class g_fpcCtTg_Queue;
#endif
+1 -1
View File
@@ -25,6 +25,6 @@ void fpcDtTg_DeleteQTo(delete_tag_class* i_deleteTag);
int fpcDtTg_Do(delete_tag_class* i_deleteTag, delete_tag_func i_func);
int fpcDtTg_Init(delete_tag_class* i_deleteTag, void* i_data);
extern node_list_class g_fpcDtTg_Queue;
DUSK_GAME_EXTERN node_list_class g_fpcDtTg_Queue;
#endif
+2 -2
View File
@@ -43,7 +43,7 @@ int fpcLf_IsDelete(leafdraw_class* i_leaf);
int fpcLf_Delete(leafdraw_class* i_leaf);
int fpcLf_Create(leafdraw_class* i_leaf);
extern int g_fpcLf_type;
extern leafdraw_method_class DUSK_CONST g_fpcLf_Method;
DUSK_GAME_EXTERN int g_fpcLf_type;
DUSK_GAME_EXTERN leafdraw_method_class DUSK_CONST g_fpcLf_Method;
#endif
+1 -1
View File
@@ -5,6 +5,6 @@
void fpcLn_Create();
extern node_lists_tree_class g_fpcLn_Queue;
DUSK_GAME_EXTERN node_lists_tree_class g_fpcLn_Queue;
#endif
+2 -2
View File
@@ -35,7 +35,7 @@ int fpcNd_IsDelete(process_node_class* pProcNode);
int fpcNd_Delete(process_node_class* pProcNode);
int fpcNd_Create(process_node_class* pProcNode);
extern int g_fpcNd_type;
extern nodedraw_method_class g_fpcNd_Method;
DUSK_GAME_EXTERN int g_fpcNd_type;
DUSK_GAME_EXTERN nodedraw_method_class g_fpcNd_Method;
#endif
+2 -2
View File
@@ -6,7 +6,7 @@
#include "global.h"
// Putting const on these profiles make them have internal linkage. Make sure they're extern!
#define DUSK_PROFILE IF_DUSK(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;
@@ -27,6 +27,6 @@ typedef struct process_profile_definition {
struct leaf_process_profile_definition;
process_profile_definition DUSK_CONST* fpcPf_Get(s16 i_profname);
extern process_profile_definition DUSK_CONST* DUSK_CONST* DUSK_CONST g_fpcPf_ProfileList_p;
DUSK_GAME_EXTERN process_profile_definition DUSK_CONST* DUSK_CONST* DUSK_CONST g_fpcPf_ProfileList_p;
#endif
File diff suppressed because it is too large Load Diff