Mario Kart 64
Loading...
Searching...
No Matches
buffers.h File Reference
#include <PR/ultratypes.h>
#include <mk64.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_8
 
struct  struct_D_802BFB80_4
 
union  union_D_802BFB80
 
struct  struct_D_802DFB80
 
struct  RGBA5551
 
struct  struct_D_802F1F80
 

Variables

u16 gRandomSeed16
 
u8 randomSeedPadding [216]
 
union_D_802BFB80 D_802BFB80
 look like to be a buffer of decoded textures
 
struct_D_802DFB80 gEncodedKartTexture [][2][8]
 
u16 gPlayerPalettesList [][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

union_D_802BFB80 D_802BFB80
extern

look like to be a buffer of decoded textures

◆ gEncodedKartTexture

struct_D_802DFB80 gEncodedKartTexture[][2][8]
extern

◆ gFramebuffer0

u16 gFramebuffer0[SCREEN_WIDTH *SCREEN_HEIGHT]
extern

◆ gFramebuffer1

u16 gFramebuffer1[SCREEN_WIDTH *SCREEN_HEIGHT]
extern

◆ gFramebuffer2

u16 gFramebuffer2[SCREEN_WIDTH *SCREEN_HEIGHT]
extern

◆ gPlayerPalettesList

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

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.

◆ gRandomSeed16

u16 gRandomSeed16
extern

◆ gZBuffer

u16 gZBuffer[SCREEN_WIDTH *SCREEN_HEIGHT]
extern

◆ randomSeedPadding

u8 randomSeedPadding[216]
extern