Decompile z_eff_footmark.c

This commit is contained in:
rozlette
2019-12-15 03:31:57 -06:00
parent 9bc4990814
commit bdf36b85d3
8 changed files with 136 additions and 14 deletions
+2 -2
View File
@@ -3070,14 +3070,14 @@ typedef union {
_SHIFTL(dz, 0, 16))
#define gDPSetPrimColor(pkt, m, l, r, g, b, a) \
{ \
_DW({ \
Gfx *_g = (Gfx *)(pkt); \
\
_g->words.w0 = (_SHIFTL(G_SETPRIMCOLOR, 24, 8) | \
_SHIFTL(m, 8, 8) | _SHIFTL(l, 0, 8)); \
_g->words.w1 = (_SHIFTL(r, 24, 8) | _SHIFTL(g, 16, 8) | \
_SHIFTL(b, 8, 8) | _SHIFTL(a, 0, 8)); \
}
})
#define gsDPSetPrimColor(m, l, r, g, b, a) \
{ \
+1 -1
View File
@@ -1616,7 +1616,7 @@ void func_800EFAB8(GlobalContext* ctxt, s16 index); // func_800EFAB8
void func_800EFBFC(GlobalContext* ctxt, s16 index); // func_800EFBFC
void func_800EFD44(GlobalContext* ctxt, s16 index); // func_800EFD44
void EffFootmark_Init(GlobalContext* ctxt); // func_800EFE60
void EffFootmark_Add(GlobalContext* ctxt, z_Matrix* displayMatrix, Actor* actor, char id, Vector3f* location, u16 size, u8 red, u8 green, u8 blue, u16 alpha, u16 alphaChange, u16 fadeoutDelay); // func_800EFF04
void EffFootmark_Add(GlobalContext* ctxt, z_Matrix* displayMatrix, Actor* actor, u8 id, Vector3f* location, u16 size, u8 red, u8 green, u8 blue, u16 alpha, u16 alphaChange, u16 fadeoutDelay); // func_800EFF04
void EffFootmark_Update(GlobalContext* ctxt); // func_800F00BC
void EffFootmark_Draw(GlobalContext* ctxt); // func_800F01C8
void func_800F0390(GlobalContext* ctxt); // func_800F0390
+2 -2
View File
@@ -1401,7 +1401,7 @@ struct GameAllocNode {
};
struct ContextCommon {
/* 0x00 */ GraphicsContext* graphicsContext;
/* 0x00 */ GraphicsContext* gCtxt;
/* 0x04 */ func_ptr update;
/* 0x08 */ func_ptr fini;
/* 0x0C */ func_ptr nextGameStateInit;
@@ -1909,7 +1909,7 @@ struct ActorPostDrawParams {
};
struct GlobalContext {
/* 0x00000 */ ContextCommon commonVars;
/* 0x00000 */ ContextCommon common;
/* 0x000A4 */ s16 currentScene;
/* 0x000A6 */ u8 unkA6;
/* 0x000A7 */ UNK_TYPE1 padA7[9];
+2 -2
View File
@@ -516,8 +516,8 @@ extern cutscene_update_func D_801BB148[5]; // D_801BB148
extern UNK_TYPE2 D_801BB15C; // D_801BB15C
extern UNK_TYPE4 D_801BB160; // D_801BB160
extern s801BB170 D_801BB170[118]; // D_801BB170
extern UNK_TYPE1 D_801BC240; // D_801BC240
extern UNK_TYPE1 D_801BC288; // D_801BC288
extern Gfx D_801BC240[9]; // D_801BC240
extern Gfx D_801BC288[3]; // D_801BC288
extern UNK_TYPE1 D_801BC2A0; // D_801BC2A0
extern UNK_TYPE1 D_801BC400; // D_801BC400
extern UNK_TYPE1 D_801BC410; // D_801BC410