|
Mario Kart 64
|
Variables | |
| u16 | gRandomSeed16 |
| u8 | randomSeedPadding [216] |
| u8 | frameBufferPadding [0x5810] |
| struct_D_802BFB80 | D_802BFB80 [2][2][8] |
| struct_D_802DFB80 | D_802DFB80 [2][2][8] |
| u16 | D_802F1F80 [2][4][0x100 *8] |
| u16 | gZBuffer [SCREEN_WIDTH *SCREEN_HEIGHT] |
| u16 | gFramebuffer0 [SCREEN_WIDTH *SCREEN_HEIGHT] |
| u16 | gFramebuffer1 [SCREEN_WIDTH *SCREEN_HEIGHT] |
| u16 | gFramebuffer2 [SCREEN_WIDTH *SCREEN_HEIGHT] |
| struct_D_802BFB80 D_802BFB80[2][2][8] |
| struct_D_802DFB80 D_802DFB80[2][2][8] |
| u16 D_802F1F80[2][4][0x100 *8] |
It would be nice to define D_802F1F80 as "struct_D_802F1F80 D_802F1F80[2][4][8]". But due to register allocation issues in load_kart_palette / func_80026B4C 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.
| u8 frameBufferPadding[0x5810] |
| u16 gFramebuffer0[SCREEN_WIDTH *SCREEN_HEIGHT] |
| u16 gFramebuffer1[SCREEN_WIDTH *SCREEN_HEIGHT] |
| u16 gFramebuffer2[SCREEN_WIDTH *SCREEN_HEIGHT] |
| u16 gRandomSeed16 |
| u16 gZBuffer[SCREEN_WIDTH *SCREEN_HEIGHT] |
| u8 randomSeedPadding[216] |