Mario Kart 64
Loading...
Searching...
No Matches
buffers.h File Reference
#include <PR/ultratypes.h>
#include "config.h"
#include "common_structs.h"
Include dependency graph for buffers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  struct_D_802BFB80
 
struct  struct_D_802DFB80
 
struct  RGBA5551
 
struct  struct_D_802F1F80
 

Variables

u16 gRandomSeed16
 
u8 randomSeedPadding [216]
 
struct_D_802BFB80 D_802BFB80 [][2][8]
 
struct_D_802DFB80 D_802DFB80 [][2][8]
 
u16 D_802F1F80 [][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]
 

Variable Documentation

◆ D_802BFB80

struct_D_802BFB80 D_802BFB80[][2][8]
extern

◆ D_802DFB80

struct_D_802DFB80 D_802DFB80[][2][8]
extern

◆ D_802F1F80

u16 D_802F1F80[][4][0x100 *8]
extern

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.

◆ gFramebuffer0

u16 gFramebuffer0[SCREEN_WIDTH *SCREEN_HEIGHT]
extern

◆ gFramebuffer1

u16 gFramebuffer1[SCREEN_WIDTH *SCREEN_HEIGHT]
extern

◆ gFramebuffer2

u16 gFramebuffer2[SCREEN_WIDTH *SCREEN_HEIGHT]
extern

◆ gRandomSeed16

u16 gRandomSeed16
extern

◆ gZBuffer

u16 gZBuffer[SCREEN_WIDTH *SCREEN_HEIGHT]
extern

◆ randomSeedPadding

u8 randomSeedPadding[216]
extern