SpaghettiKart
Loading...
Searching...
No Matches
kart_dma.h File Reference
#include "macros.h"
#include <common_structs.h>
Include dependency graph for kart_dma.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void load_kart_texture (Player *, s8, s8, s8, s8)
 Place DMA mio0 compressed character textures in a buffer. Later, this data becomes decompressed.
 
void load_kart_texture_non_blocking (Player *, s8, s8, s8, s8)
 
void load_kart_palette (Player *, s8, s8, s8)
 
void load_player_data (Player *, s32, void *, u16)
 
void load_wheel_palette_non_blocking (Player *, const char *, void *, u16)
 

Variables

u16 D_800DDEB0 []
 

Function Documentation

◆ load_kart_palette()

void load_kart_palette ( Player * player,
s8 playerId,
s8 screenId,
s8 buffer )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ load_kart_texture()

void load_kart_texture ( Player * player,
s8 playerId,
s8 screenId,
s8 screenId2,
s8 index )

Place DMA mio0 compressed character textures in a buffer. Later, this data becomes decompressed.

The player struct tracks the texture indices to load.

Parameters
player
playerIdPlayer ID.
screenIdRom buffer index appears to always be 0-3. Sometimes subtracted by 2.
screenId2Second buffer index appears to always be 0-3.
indexFirst buffer index always zero.
Here is the caller graph for this function:

◆ load_kart_texture_non_blocking()

void load_kart_texture_non_blocking ( Player * player,
s8 arg1,
s8 arg2,
s8 arg3,
s8 arg4 )
Here is the caller graph for this function:

◆ load_player_data()

void load_player_data ( Player * ,
s32 ,
void * ,
u16  )

◆ load_wheel_palette_non_blocking()

void load_wheel_palette_non_blocking ( Player * ,
const char * ,
void * ,
u16  )

Variable Documentation

◆ D_800DDEB0

u16 D_800DDEB0[]
extern