mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-21 13:36:50 -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:
@@ -1580,36 +1580,36 @@ static void makeColorTable(GXColor** o_color_table, JPAClrAnmKeyData const* i_da
|
||||
*o_color_table = p_clr_tbl;
|
||||
}
|
||||
|
||||
GXBlendMode JPABaseShape::st_bm[3] = {
|
||||
DUSK_GAME_DATA GXBlendMode JPABaseShape::st_bm[3] = {
|
||||
GX_BM_NONE,
|
||||
GX_BM_BLEND,
|
||||
GX_BM_LOGIC,
|
||||
};
|
||||
|
||||
GXBlendFactor JPABaseShape::st_bf[10] = {
|
||||
DUSK_GAME_DATA GXBlendFactor JPABaseShape::st_bf[10] = {
|
||||
GX_BL_ZERO, GX_BL_ONE, GX_BL_SRCCLR, GX_BL_INVSRCCLR,
|
||||
GX_BL_DSTCLR, GX_BL_INVDSTCLR, GX_BL_SRCALPHA, GX_BL_INVSRCALPHA,
|
||||
GX_BL_DSTALPHA, GX_BL_INVDSTALPHA,
|
||||
};
|
||||
|
||||
GXLogicOp JPABaseShape::st_lo[16] = {
|
||||
DUSK_GAME_DATA GXLogicOp JPABaseShape::st_lo[16] = {
|
||||
GX_LO_CLEAR, GX_LO_SET, GX_LO_COPY, GX_LO_INVCOPY, GX_LO_NOOP, GX_LO_INV,
|
||||
GX_LO_AND, GX_LO_NAND, GX_LO_OR, GX_LO_NOR, GX_LO_XOR, GX_LO_EQUIV,
|
||||
GX_LO_REVAND, GX_LO_INVAND, GX_LO_REVOR, GX_LO_INVOR,
|
||||
};
|
||||
|
||||
GXCompare JPABaseShape::st_c[8] = {
|
||||
DUSK_GAME_DATA GXCompare JPABaseShape::st_c[8] = {
|
||||
GX_NEVER, GX_LESS, GX_LEQUAL, GX_EQUAL, GX_NEQUAL, GX_GEQUAL, GX_GREATER, GX_ALWAYS,
|
||||
};
|
||||
|
||||
GXAlphaOp JPABaseShape::st_ao[4] = {
|
||||
DUSK_GAME_DATA GXAlphaOp JPABaseShape::st_ao[4] = {
|
||||
GX_AOP_AND,
|
||||
GX_AOP_OR,
|
||||
GX_AOP_XOR,
|
||||
GX_AOP_XNOR,
|
||||
};
|
||||
|
||||
GXTevColorArg JPABaseShape::st_ca[6][4] = {
|
||||
DUSK_GAME_DATA GXTevColorArg JPABaseShape::st_ca[6][4] = {
|
||||
{
|
||||
GX_CC_ZERO,
|
||||
GX_CC_TEXC,
|
||||
@@ -1648,7 +1648,7 @@ GXTevColorArg JPABaseShape::st_ca[6][4] = {
|
||||
},
|
||||
};
|
||||
|
||||
GXTevAlphaArg JPABaseShape::st_aa[2][4] = {
|
||||
DUSK_GAME_DATA GXTevAlphaArg JPABaseShape::st_aa[2][4] = {
|
||||
{
|
||||
GX_CA_ZERO,
|
||||
GX_CA_TEXA,
|
||||
|
||||
Reference in New Issue
Block a user