mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-28 15:07:04 -04:00
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:
@@ -1811,7 +1811,7 @@ int dDlst_shadowControl_c::setSimple(cXyz* param_0, f32 param_1, f32 param_2, cX
|
||||
return 1;
|
||||
}
|
||||
|
||||
TGXTexObj dDlst_shadowControl_c::mSimpleTexObj;
|
||||
DUSK_GAME_DATA TGXTexObj dDlst_shadowControl_c::mSimpleTexObj;
|
||||
|
||||
void dDlst_shadowControl_c::setSimpleTex(ResTIMG const* i_timg) {
|
||||
mDoLib_setResTimgObj(i_timg, &mSimpleTexObj, 0, NULL);
|
||||
@@ -2027,15 +2027,15 @@ void dDlst_list_c::draw(dDlst_base_c** p_start, dDlst_base_c** p_end) {
|
||||
}
|
||||
}
|
||||
|
||||
dDlst_2DT2_c dDlst_list_c::mWipeDlst;
|
||||
DUSK_GAME_DATA dDlst_2DT2_c dDlst_list_c::mWipeDlst;
|
||||
|
||||
GXColor dDlst_list_c::mWipeColor = {0, 0, 0, 0};
|
||||
DUSK_GAME_DATA GXColor dDlst_list_c::mWipeColor = {0, 0, 0, 0};
|
||||
|
||||
u8 dDlst_list_c::mWipe;
|
||||
DUSK_GAME_DATA u8 dDlst_list_c::mWipe;
|
||||
|
||||
f32 dDlst_list_c::mWipeRate;
|
||||
DUSK_GAME_DATA f32 dDlst_list_c::mWipeRate;
|
||||
|
||||
f32 dDlst_list_c::mWipeSpeed;
|
||||
DUSK_GAME_DATA f32 dDlst_list_c::mWipeSpeed;
|
||||
|
||||
void dDlst_list_c::wipeIn(f32 i_wipeSpeed, GXColor& i_wipeColor) {
|
||||
mWipe = true;
|
||||
|
||||
Reference in New Issue
Block a user