Mario Kart 64
code_8006E9C0.h File Reference
#include "common_structs.h"
#include "code_80071F00.h"
Include dependency graph for code_8006E9C0.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void init_object_list (void)
 
void func_8006EA5C (void)
 
void func_8006EB10 (void)
 
void func_8006ED60 (void)
 
u8func_8006ED94 (u8 *, u8 *, u32, u32)
 
void func_8006EE44 (void)
 
void init_item_window (s32)
 
void func_8006EEE8 (s32)
 
void func_8006F824 (s32)
 
void func_8006FA94 (void)
 
void func_80070148 (void)
 
void func_80070190 (void)
 
void func_80070250 (s32, s32, StarSpawn *)
 
void func_80070328 (StarSpawn *)
 
void func_800703E0 (s32, s32, StarSpawn *)
 
void func_800704A0 (StarSpawn *)
 
void func_8007055C (void)
 
void func_80070714 (void)
 
void func_80070780 ()
 
void init_hud_one_player (void)
 
void init_hud_two_player_vertical (void)
 
void init_hud_three_four_player (void)
 
void init_hud_two_player_horizontal (void)
 

Variables

s16 D_800E5520 []
 
s16 D_800E5548 []
 
u8gCourseOutlineTextures [0x14]
 
s8gTextureLogoMarioKart64
 
s16 D_80165730
 
s16 D_80165740
 
s16 D_80165748
 
s32 D_80183D5C
 
u8D_8018D1E0
 
intptr_t D_8018D9B0
 
u8(* D_8018D220 )[1024]
 
s32 D_8018D240
 
u8D_8018D248 []
 
s16 D_8018D2B0
 
s16 D_8018D2B8
 
s32 D_80183DA0
 
s32 D_80183DBC
 
struct_8018CA70_entry D_8018CA70 []
 
s8 D_8018CAE0
 
s8 D_8018CAE1
 
s8 D_8018CAE2
 
s8 D_8018CAF1
 
s8 D_8018CB64
 
s8 D_8018CB65
 
s8 D_8018CB66
 
s8 D_8018CB75
 
s8 D_8018CBE8
 
s8 D_8018CBE9
 
s8 D_8018CBEA
 
s8 D_8018CBF9
 
s8 D_8018CC6C
 
s8 D_8018CC6D
 
s8 D_8018CC6E
 
s8 D_8018CC7D
 
StarSpawn D_800E6A38 []
 
StarSpawn D_800E6AA8 []
 
StarSpawn D_800E6B00 []
 
StarSpawn D_800E6B38 []
 
StarSpawn D_800E6BA8 []
 
StarSpawn D_800E6C10 []
 
StarSpawn D_800E6C80 []
 
StarSpawn D_800E6DE0 []
 

Function Documentation

◆ func_8006EA5C()

void func_8006EA5C ( void  )
D_8018CA70[0].lapCount = 0;
D_8018CA70[0].alsoLapCount = 0;
D_8018CA70[0].unk_81 = 0;
D_8018CA70[1].lapCount = 0;
D_8018CA70[1].alsoLapCount = 0;
D_8018CA70[1].unk_81 = 0;
D_8018CA70[2].lapCount = 0;
D_8018CA70[2].alsoLapCount = 0;
D_8018CA70[2].unk_81 = 0;
D_8018CA70[3].lapCount = 0;
D_8018CA70[3].alsoLapCount = 0;
D_8018CA70[3].unk_81 = 0;
D_8018CA70[0].raceCompleteBool = 0;
D_8018CA70[1].raceCompleteBool = 0;
D_8018CA70[2].raceCompleteBool = 0;
D_8018CA70[3].raceCompleteBool = 0;

This is close but it puts the raceCompletedBool stuff in the wrong place Which makes sense, but its still annoying for (thing = 0; thing < D_8018CA70_SIZE; thing++) { D_8018CA70[thing].lapCount = 0; D_8018CA70[thing].alsoLapCount = 0; D_8018CA70[thing].unk_81 = 0; D_8018CA70[thing].raceCompleteBool = 0; }

Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8006EB10()

void func_8006EB10 ( void  )
Here is the caller graph for this function:

◆ func_8006ED60()

void func_8006ED60 ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8006ED94()

u8* func_8006ED94 ( u8 devAddr,
u8 baseAddress,
u32  size,
u32  offset 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8006EE44()

void func_8006EE44 ( void  )
Here is the call graph for this function:

◆ func_8006EEE8()

void func_8006EEE8 ( s32  courseId)
Here is the call graph for this function:

◆ func_8006F824()

void func_8006F824 ( s32  arg0)

◆ func_8006FA94()

void func_8006FA94 ( void  )
Here is the caller graph for this function:

◆ func_80070148()

void func_80070148 ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80070190()

void func_80070190 ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80070250()

void func_80070250 ( s32  objectIndex,
s32  arg1,
StarSpawn arg2 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80070328()

void func_80070328 ( StarSpawn arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800703E0()

void func_800703E0 ( s32  objectIndex,
s32  arg1,
StarSpawn arg2 
)

This function is part of the spawning for the "stars" in some stages

arg2 is a pointer to some type of spawn data for the stars, although it not super clear what types each element is. It seems like its a bunch of u16's, so maybe a Vec4su?

The stars in Wario's Stadium, Toad's Turnpike, and Rainbow Road are not part of the skybox. They are instead objects that seemingly hover in the air around the player They have no true x/y/z position, instead they seem to be kept in a position relative to the player they hang around. There is however an x/y position for where they should be on screen when they are visbile (unk_09E[0] and [1]). sizeScaling is some sort of size scaling on the start texture. unk_0A2 is an alpha value, used to make the star twinkle.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800704A0()

void func_800704A0 ( StarSpawn arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8007055C()

void func_8007055C ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80070714()

void func_80070714 ( void  )

◆ func_80070780()

void func_80070780 ( )
Here is the caller graph for this function:

◆ init_hud_one_player()

void init_hud_one_player ( void  )
Here is the caller graph for this function:

◆ init_hud_three_four_player()

void init_hud_three_four_player ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_hud_two_player_horizontal()

void init_hud_two_player_horizontal ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_hud_two_player_vertical()

void init_hud_two_player_vertical ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ init_item_window()

void init_item_window ( s32  objectIndex)
Here is the caller graph for this function:

◆ init_object_list()

void init_object_list ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ D_800E5520

s16 D_800E5520[]
extern

◆ D_800E5548

s16 D_800E5548[]
extern

◆ D_800E6A38

StarSpawn D_800E6A38[]
extern

◆ D_800E6AA8

StarSpawn D_800E6AA8[]
extern

◆ D_800E6B00

StarSpawn D_800E6B00[]
extern

◆ D_800E6B38

StarSpawn D_800E6B38[]
extern

◆ D_800E6BA8

StarSpawn D_800E6BA8[]
extern

◆ D_800E6C10

StarSpawn D_800E6C10[]
extern

◆ D_800E6C80

StarSpawn D_800E6C80[]
extern

◆ D_800E6DE0

StarSpawn D_800E6DE0[]
extern

◆ D_80165730

s16 D_80165730
extern

◆ D_80165740

s16 D_80165740
extern

◆ D_80165748

s16 D_80165748
extern

◆ D_80183D5C

s32 D_80183D5C
extern

◆ D_80183DA0

s32 D_80183DA0
extern

◆ D_80183DBC

s32 D_80183DBC
extern

◆ D_8018CA70

struct_8018CA70_entry D_8018CA70[]
extern

◆ D_8018CAE0

s8 D_8018CAE0
extern

◆ D_8018CAE1

s8 D_8018CAE1
extern

◆ D_8018CAE2

s8 D_8018CAE2
extern

◆ D_8018CAF1

s8 D_8018CAF1
extern

◆ D_8018CB64

s8 D_8018CB64
extern

◆ D_8018CB65

s8 D_8018CB65
extern

◆ D_8018CB66

s8 D_8018CB66
extern

◆ D_8018CB75

s8 D_8018CB75
extern

◆ D_8018CBE8

s8 D_8018CBE8
extern

◆ D_8018CBE9

s8 D_8018CBE9
extern

◆ D_8018CBEA

s8 D_8018CBEA
extern

◆ D_8018CBF9

s8 D_8018CBF9
extern

◆ D_8018CC6C

s8 D_8018CC6C
extern

◆ D_8018CC6D

s8 D_8018CC6D
extern

◆ D_8018CC6E

s8 D_8018CC6E
extern

◆ D_8018CC7D

s8 D_8018CC7D
extern

◆ D_8018D1E0

u8* D_8018D1E0
extern

◆ D_8018D220

u8(* D_8018D220)[1024]
extern

◆ D_8018D240

s32 D_8018D240
extern

◆ D_8018D248

u8* D_8018D248[]
extern

◆ D_8018D2B0

s16 D_8018D2B0
extern

◆ D_8018D2B8

s16 D_8018D2B8
extern

◆ D_8018D9B0

intptr_t D_8018D9B0
extern

◆ gCourseOutlineTextures

u8* gCourseOutlineTextures[0x14]
extern

◆ gTextureLogoMarioKart64

s8* gTextureLogoMarioKart64
extern