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
+3 -3
View File
@@ -204,13 +204,13 @@ fopAc_ac_c::fopAc_ac_c() {}
fopAc_ac_c::~fopAc_ac_c() {}
int g_fopAc_type;
DUSK_GAME_DATA int g_fopAc_type;
BOOL fopAc_IsActor(void* i_actor) {
return fpcM_IsJustType(g_fopAc_type, ((fopAc_ac_c*)i_actor)->actor_type);
}
u32 fopAc_ac_c::stopStatus;
DUSK_GAME_DATA u32 fopAc_ac_c::stopStatus;
static int fopAc_Draw(void* i_this) {
fopAc_ac_c* actor = (fopAc_ac_c*)i_this;
@@ -635,7 +635,7 @@ u8 fopAcM::HeapAdjustEntry;
u8 fopAcM::HeapAdjustUnk;
#endif
actor_method_class g_fopAc_Method = {
DUSK_GAME_DATA actor_method_class g_fopAc_Method = {
(process_method_func)fopAc_Create, (process_method_func)fopAc_Delete,
(process_method_func)fopAc_Execute, (process_method_func)fopAc_IsDelete,
(process_method_func)fopAc_Draw,