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
+6 -6
View File
@@ -16,7 +16,7 @@
#endif
struct dMdm_HIO_prm_res_dst_s {
static void* m_res;
static DUSK_GAME_DATA void* m_res;
};
bool renderingDmap_c::hasMap() const {
@@ -288,7 +288,7 @@ void renderingDmap_c::afterDrawPath() {
renderingPlusDoor_c::afterDrawPath();
}
void* dMdm_HIO_prm_res_dst_s::m_res;
DUSK_GAME_DATA void* dMdm_HIO_prm_res_dst_s::m_res;
void dMenu_DmapMap_c::_create(u16 param_0, u16 param_1, u16 param_2, u16 param_3,
void* res) {
@@ -939,13 +939,13 @@ void dMenu_StageMapCtrl_c::_create(u16 param_0, u16 param_1, u16 param_2, u16 pa
_create(param_0, param_1, param_2, param_3, var_r31, param_4);
}
f32 dMenu_StageMapCtrl_c::m_zoomCenterMinX;
DUSK_GAME_DATA f32 dMenu_StageMapCtrl_c::m_zoomCenterMinX;
f32 dMenu_StageMapCtrl_c::m_zoomCenterMaxX;
DUSK_GAME_DATA f32 dMenu_StageMapCtrl_c::m_zoomCenterMaxX;
f32 dMenu_StageMapCtrl_c::m_zoomCenterMinZ;
DUSK_GAME_DATA f32 dMenu_StageMapCtrl_c::m_zoomCenterMinZ;
f32 dMenu_StageMapCtrl_c::m_zoomCenterMaxZ;
DUSK_GAME_DATA f32 dMenu_StageMapCtrl_c::m_zoomCenterMaxZ;
void dMenu_StageMapCtrl_c::_create(u16 width, u16 height, u16 param_2, u16 param_3,
s8 param_4, void* param_5) {