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
+8 -8
View File
@@ -58,17 +58,17 @@ public:
#endif
};
f32 const E_OC_n::oc_attackb_trans[10] = {
DUSK_GAME_DATA f32 const E_OC_n::oc_attackb_trans[10] = {
0.0f, 0.0f, 0.0f, 0.0f, 15.3f,
38.4f, 63.3f, 86.2f, 103.3f, 112.0f
};
f32 const E_OC_n::oc_attackc_trans[10] = {
DUSK_GAME_DATA f32 const E_OC_n::oc_attackc_trans[10] = {
0.0f, 31.3f, 72.7f, 91.5f, 91.5f,
91.5f, 91.5f, 91.5f, 91.5f, 91.5f
};
dCcD_SrcSph E_OC_n::cc_sph_src = {
DUSK_GAME_DATA dCcD_SrcSph E_OC_n::cc_sph_src = {
{
{0x0, {{0x0, 0x0, 0x0}, {0xD8FBFDFF, 0x3}, 0x75}}, // mObj
{0x9, 0x0, 0x0, 0x0, 0x0}, // mGObjAt
@@ -80,7 +80,7 @@ dCcD_SrcSph E_OC_n::cc_sph_src = {
} // mSphAttr
};
dCcD_SrcSph E_OC_n::at_sph_src = {
DUSK_GAME_DATA dCcD_SrcSph E_OC_n::at_sph_src = {
{
{0x0, {{0x1000, 0x1, 0xD}, {0x0, 0x0}, 0x0}}, // mObj
{0x9, 0x0, 0x0, 0x0, 0x0}, // mGObjAt
@@ -193,13 +193,13 @@ static int daE_OC_Draw(daE_OC_c* i_this) {
return i_this->draw();
}
daE_OC_c* E_OC_n::m_battle_oc;
DUSK_GAME_DATA daE_OC_c* E_OC_n::m_battle_oc;
daE_OC_c* E_OC_n::m_damage_oc;
DUSK_GAME_DATA daE_OC_c* E_OC_n::m_damage_oc;
daE_OC_c* E_OC_n::m_death_oc;
DUSK_GAME_DATA daE_OC_c* E_OC_n::m_death_oc;
daE_OC_c* E_OC_n::m_talk_oc;
DUSK_GAME_DATA daE_OC_c* E_OC_n::m_talk_oc;
static u8 lbl_216_bss_58;