Mario Kart 64
|
#include <ultra64.h>
#include <macros.h>
#include "main.h"
#include "buffers.h"
#include <common_structs.h>
#include "kart_dma.h"
#include "defines.h"
Functions | |
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. | |
void | load_kart_texture_non_blocking (Player *player, s8 arg1, s8 arg2, s8 arg3, s8 arg4) |
void | load_kart_palette (Player *player, s8 playerId, s8 screenId, s8 index) |
void | load_player_data (UNUSED Player *player, s32 arg1, void *vAddr, u16 size) |
void | load_player_data_non_blocking (UNUSED Player *player, s32 arg1, void *vAddr, u16 size) |
read data from ROM and write it to the given virtual address | |
Place DMA mio0 compressed character textures in a buffer. Later, this data becomes decompressed.
The player struct tracks the texture indices to load.
player | |
playerId | Player ID. |
screenId | Rom buffer index appears to always be 0-3. Sometimes subtracted by 2. |
screenId2 | Second buffer index appears to always be 0-3. |
index | First buffer index always zero. |
read data from ROM and write it to the given virtual address
player | Player struct |
arg1 | ROM offset |
vAddr | Virtual address |
size | Size of data to read |
u16 D_800DDEB0[] |
u8* gKartBowserGroup0[] |
u8* gKartBowserGroup1[] |
u8* gKartBowserGroup10[] |
u8* gKartBowserGroup11[] |
u8* gKartBowserGroup12[] |
u8* gKartBowserGroup13[] |
u8* gKartBowserGroup14[] |
u8* gKartBowserGroup15[] |
u8* gKartBowserGroup16[] |
u8* gKartBowserGroup17[] |
u8* gKartBowserGroup2[] |
u8* gKartBowserGroup3[] |
u8* gKartBowserGroup4[] |
u8* gKartBowserGroup5[] |
u8* gKartBowserGroup6[] |
u8* gKartBowserGroup7[] |
u8* gKartBowserGroup8[] |
u8* gKartBowserGroup9[] |
u8** gKartBowserTable0[] |
u8** gKartBowserTable1[] |
u8* gKartBowserTumble[] |
u8* gKartDKGroup0[] |
u8* gKartDKGroup1[] |
u8* gKartDKGroup10[] |
u8* gKartDKGroup11[] |
u8* gKartDKGroup12[] |
u8* gKartDKGroup13[] |
u8* gKartDKGroup14[] |
u8* gKartDKGroup15[] |
u8* gKartDKGroup16[] |
u8* gKartDKGroup17[] |
u8* gKartDKGroup2[] |
u8* gKartDKGroup3[] |
u8* gKartDKGroup4[] |
u8* gKartDKGroup5[] |
u8* gKartDKGroup6[] |
u8* gKartDKGroup7[] |
u8* gKartDKGroup8[] |
u8* gKartDKGroup9[] |
u8** gKartDKTable0[] |
u8** gKartDKTable1[] |
u8* gKartDKTumble[] |
u8* gKartLuigiGroup0[] |
u8* gKartLuigiGroup1[] |
u8* gKartLuigiGroup10[] |
u8* gKartLuigiGroup11[] |
u8* gKartLuigiGroup12[] |
u8* gKartLuigiGroup13[] |
u8* gKartLuigiGroup14[] |
u8* gKartLuigiGroup15[] |
u8* gKartLuigiGroup16[] |
u8* gKartLuigiGroup17[] |
u8* gKartLuigiGroup2[] |
u8* gKartLuigiGroup3[] |
u8* gKartLuigiGroup4[] |
u8* gKartLuigiGroup5[] |
u8* gKartLuigiGroup6[] |
u8* gKartLuigiGroup7[] |
u8* gKartLuigiGroup8[] |
u8* gKartLuigiGroup9[] |
u8** gKartLuigiTable0[] |
u8** gKartLuigiTable1[] |
u8* gKartLuigiTumble[] |
u8* gKartMarioGroup0[] |
u8* gKartMarioGroup1[] |
u8* gKartMarioGroup10[] |
u8* gKartMarioGroup11[] |
u8* gKartMarioGroup12[] |
u8* gKartMarioGroup13[] |
u8* gKartMarioGroup14[] |
u8* gKartMarioGroup15[] |
u8* gKartMarioGroup16[] |
u8* gKartMarioGroup17[] |
u8* gKartMarioGroup2[] |
u8* gKartMarioGroup3[] |
u8* gKartMarioGroup4[] |
u8* gKartMarioGroup5[] |
u8* gKartMarioGroup6[] |
u8* gKartMarioGroup7[] |
u8* gKartMarioGroup8[] |
u8* gKartMarioGroup9[] |
u8** gKartMarioTable0[] |
u8** gKartMarioTable1[] |
u8* gKartMarioTumble[] |
u8* gKartPalettes[] |
u8* gKartPeachGroup0[] |
u8* gKartPeachGroup1[] |
u8* gKartPeachGroup10[] |
u8* gKartPeachGroup11[] |
u8* gKartPeachGroup12[] |
u8* gKartPeachGroup13[] |
u8* gKartPeachGroup14[] |
u8* gKartPeachGroup15[] |
u8* gKartPeachGroup16[] |
u8* gKartPeachGroup17[] |
u8* gKartPeachGroup2[] |
u8* gKartPeachGroup3[] |
u8* gKartPeachGroup4[] |
u8* gKartPeachGroup5[] |
u8* gKartPeachGroup6[] |
u8* gKartPeachGroup7[] |
u8* gKartPeachGroup8[] |
u8* gKartPeachGroup9[] |
u8** gKartPeachTable0[] |
u8** gKartPeachTable1[] |
u8* gKartPeachTumble[] |
u8*** gKartTextureTable0[] |
u8*** gKartTextureTable1[] |
u8** gKartTextureTumbles[] |
u8* gKartToadGroup0[] |
u8* gKartToadGroup1[] |
u8* gKartToadGroup10[] |
u8* gKartToadGroup11[] |
u8* gKartToadGroup12[] |
u8* gKartToadGroup13[] |
u8* gKartToadGroup14[] |
u8* gKartToadGroup15[] |
u8* gKartToadGroup16[] |
u8* gKartToadGroup17[] |
u8* gKartToadGroup2[] |
u8* gKartToadGroup3[] |
u8* gKartToadGroup4[] |
u8* gKartToadGroup5[] |
u8* gKartToadGroup6[] |
u8* gKartToadGroup7[] |
u8* gKartToadGroup8[] |
u8* gKartToadGroup9[] |
u8** gKartToadTable0[] |
u8** gKartToadTable1[] |
u8* gKartToadTumble[] |
u8* gKartWarioGroup0[] |
u8* gKartWarioGroup1[] |
u8* gKartWarioGroup10[] |
u8* gKartWarioGroup11[] |
u8* gKartWarioGroup12[] |
u8* gKartWarioGroup13[] |
u8* gKartWarioGroup14[] |
u8* gKartWarioGroup15[] |
u8* gKartWarioGroup16[] |
u8* gKartWarioGroup17[] |
u8* gKartWarioGroup2[] |
u8* gKartWarioGroup3[] |
u8* gKartWarioGroup4[] |
u8* gKartWarioGroup5[] |
u8* gKartWarioGroup6[] |
u8* gKartWarioGroup7[] |
u8* gKartWarioGroup8[] |
u8* gKartWarioGroup9[] |
u8** gKartWarioTable0[] |
u8** gKartWarioTable1[] |
u8* gKartWarioTumble[] |
u8* gKartYoshiGroup0[] |
u8* gKartYoshiGroup1[] |
u8* gKartYoshiGroup10[] |
u8* gKartYoshiGroup11[] |
u8* gKartYoshiGroup12[] |
u8* gKartYoshiGroup13[] |
u8* gKartYoshiGroup14[] |
u8* gKartYoshiGroup15[] |
u8* gKartYoshiGroup16[] |
u8* gKartYoshiGroup17[] |
u8* gKartYoshiGroup2[] |
u8* gKartYoshiGroup3[] |
u8* gKartYoshiGroup4[] |
u8* gKartYoshiGroup5[] |
u8* gKartYoshiGroup6[] |
u8* gKartYoshiGroup7[] |
u8* gKartYoshiGroup8[] |
u8* gKartYoshiGroup9[] |
u8** gKartYoshiTable0[] |
u8** gKartYoshiTable1[] |
u8* gKartYoshiTumble[] |