Mario Kart 64
|
Variables | |
ALIGNED8 union_D_802BFB80 | D_802BFB80 |
look like to be a buffer of decoded textures | |
ALIGNED8 struct_D_802DFB80 | gEncodedKartTexture [2][2][8] |
ALIGNED8 u16 | gPlayerPalettesList [2][4][0x100 *8] |
ALIGNED8 u16 | gZBuffer [SCREEN_WIDTH *SCREEN_HEIGHT] |
u16 | gFramebuffer0 [SCREEN_WIDTH *SCREEN_HEIGHT] |
u16 | gFramebuffer1 [SCREEN_WIDTH *SCREEN_HEIGHT] |
u16 | gFramebuffer2 [SCREEN_WIDTH *SCREEN_HEIGHT] |
ALIGNED8 union_D_802BFB80 D_802BFB80 |
look like to be a buffer of decoded textures
ALIGNED8 struct_D_802DFB80 gEncodedKartTexture[2][2][8] |
u16 gFramebuffer0[SCREEN_WIDTH *SCREEN_HEIGHT] |
u16 gFramebuffer1[SCREEN_WIDTH *SCREEN_HEIGHT] |
u16 gFramebuffer2[SCREEN_WIDTH *SCREEN_HEIGHT] |
It would be nice to define gPlayerPalettesList as "struct_D_802F1F80 gPlayerPalettesList[2][4][8]". But due to register allocation issues in load_kart_palette / update_wheel_palette we have to define it in a different manner to match those functions. If AVOID_UB is defined, the struct is properly defined with their correct pointers.
ALIGNED8 u16 gZBuffer[SCREEN_WIDTH *SCREEN_HEIGHT] |