Mario Kart 64
Loading...
Searching...
No Matches
code_80005FD0.h File Reference
#include "vehicles.h"
#include "camera.h"
#include "waypoints.h"
#include "common_textures.h"
Include dependency graph for code_80005FD0.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  struct_801642D8
 
struct  unexpiredActors
 
struct  Test
 
struct  D_801642D8_entry
 
struct  UnkStruct_46D0
 
struct  PathNoY
 
struct  _struct_D_800DD9D0_0x10
 

Functions

s16 func_80005FD0 (Vec3f, Vec3f)
 
s32 func_80006018 (f32, f32, f32, f32, f32, f32, f32, f32)
 
void func_80006114 (Vec3f, Vec3f, s16)
 
s32 func_800061DC (Vec3f, f32, s32)
 
void func_800065D0 (s32, Player *)
 
void set_places (void)
 
void func_800070F4 (void)
 
void func_800074D4 (void)
 
s32 func_80007BF8 (u16, u16, u16, u16, u16)
 
void func_80007D04 (s32, Player *)
 
void func_80007FA4 (s32, Player *, f32)
 
void func_80008424 (s32, f32, Player *)
 
s32 func_800088D8 (s32, s16, s16)
 
void func_80008DC0 (s32)
 
s32 func_80008E58 (s32, s32)
 
void func_80008F38 (s32)
 
void func_80009000 (s32)
 
void func_800090F0 (s32, Player *)
 
f32 func_80009258 (s32, f32, f32)
 
void func_8000929C (s32, Player *)
 
void func_800097E0 (void)
 
void func_800098FC (s32, Player *)
 
void func_800099EC (s32, Player *)
 
void func_80009B60 (s32)
 
void func_8000B140 (s32)
 
s32 func_8000B7E4 (s32, u16)
 
s32 func_8000B820 (s32)
 
f32 func_8000B874 (f32, f32, u16, s32)
 
void func_8000B95C (s32, u16, s32)
 
void func_8000BA14 (u16, f32, f32, s16)
 
void func_8000BBD8 (u16, f32, s16)
 
s16 func_8000BD94 (f32, f32, f32, s32)
 
s16 func_8000C0BC (f32, f32, f32, u16, s32 *)
 
s16 func_8000C884 (f32, f32, f32, s16, s32, u16)
 
s16 func_8000C9DC (f32, f32, f32, s16, s32)
 
void func_8000CBA4 (f32, f32, f32, s16 *, s32)
 
void func_8000CBF8 (f32, f32, f32, s16 *, s32)
 
s16 func_8000CC88 (f32, f32, f32, Player *, s32, s32 *)
 
s16 func_8000CD24 (f32, f32, f32, s16, Player *, s32, s32)
 
s16 func_8000D100 (f32, f32, f32, s16)
 
s16 func_8000D24C (f32, f32, f32, s32 *)
 
s16 func_8000D2B4 (f32, f32, f32, s16, s32)
 
s16 func_8000D33C (f32, f32, f32, s16, s32)
 
f32 func_8000D3B8 (s32)
 
void func_8000D438 (s32, u16)
 
s16 func_8000D6D0 (Vec3f, s16 *, f32, f32, s16, s16)
 
s16 func_8000D940 (Vec3f, s16 *, f32, f32, s16)
 
s16 func_8000DBAC (Vec3f, s16 *, f32)
 
void set_bomb_kart_spawn_positions (void)
 
void func_8000DF8C (s32)
 
s32 func_8000ED14 (s32, s16)
 
s32 func_8000ED80 (s32)
 
s32 func_8000EDC8 (s32)
 
s32 func_8000EE10 (s32)
 
void func_8000EE58 (s32)
 
void func_8000EEDC (void)
 
void func_8000EF20 (void)
 
void func_8000F0E0 (void)
 
void func_8000F124 (void)
 
void func_8000F2BC (TrackWaypoint *, size_t)
 
void func_8000F2DC (void)
 
void func_8000F628 (void)
 
void func_800100F0 (s32)
 
void func_80010218 (s32)
 
f32 func_80010480 (s32, u16)
 
void func_800107C4 (s32)
 
s16 func_80010CB0 (s32, s32)
 
void func_80010DBC (s32)
 
void func_80010E6C (s32)
 
f32 func_80010F40 (f32, f32, f32, s32, s32)
 
f32 func_80010FA0 (f32, f32, f32, s32, s32)
 
s32 func_80011014 (TrackWaypoint *, TrackWaypoint *, s32, s32)
 
s32 process_path_data (TrackWaypoint *, TrackWaypoint *)
 
s32 func_8001168C (PathNoY *, TrackWaypoint *, s32)
 
void func_80011A5C (void)
 
void func_80011AB8 (s32)
 
void func_80011AE4 (s32)
 
void func_80011B14 (s32, Player *)
 
void func_80011D48 (s32, Player *)
 
void func_80011E38 (s32)
 
void func_80011EC0 (s32, Player *, s32, u16)
 
void func_800120C8 (void)
 
void func_80012190 (void)
 
void func_80012220 (VehicleStuff *)
 
void init_course_vehicles (void)
 
void func_80012780 (TrainCarStuff *, s16 *, u16)
 
void func_800127E0 (void)
 
void func_80012A48 (TrainCarStuff *, s16)
 
void func_80012AC0 (void)
 
void func_80012DC0 (s32, Player *)
 
void func_80013054 (void)
 
void func_800131DC (s32)
 
void func_800132F4 (void)
 
void func_800133C4 (void)
 
void func_80013854 (Player *)
 
void func_800139E4 (f32, f32, s32, s32, VehicleStuff *, TrackWaypoint *)
 
f32 func_80013C74 (s16, s16)
 
void func_80013D20 (VehicleStuff *)
 
void func_80013F7C (s32, Player *, VehicleStuff *, f32, f32, s32, u32)
 
f32 func_800145A8 (s16, f32, s16)
 
void func_800146B8 (s32, s32, VehicleStuff *)
 
void func_800147E0 (void)
 
void func_8001487C (void)
 
void func_800148C4 (s32, Player *)
 
void func_8001490C (s32)
 
void func_80014934 (void)
 
void func_800149D0 (void)
 
void func_80014A18 (s32, Player *)
 
void func_80014A60 (s32)
 
void func_80014A88 (void)
 
void func_80014B24 (void)
 
void func_80014B6C (s32, Player *)
 
void func_80014BB4 (s32)
 
void func_80014BDC (void)
 
void func_80014C78 (void)
 
void func_80014CC0 (s32, Player *)
 
void func_80014D08 (s32)
 
void func_80014D30 (s32, s32)
 
void func_80014DE4 (s32)
 
f32 func_80014EE4 (f32, s32)
 
void func_800151A4 (Camera *, s32)
 
void func_8001530C (void)
 
void func_80015314 (s32, f32, s32)
 
void func_80015390 (Camera *, Player *, s32)
 
void func_80015544 (s32, f32, s32, s32)
 
void func_8001577C (Camera *, UNUSED Player *, s32, s32)
 
void func_80015A9C (s32, f32, s32, s16)
 
void func_800162CC (s32, f32, s32, s16)
 
void func_80016C3C (s32, f32, s32)
 
void func_80017720 (s32, f32, s32, s16)
 
void func_80017F10 (s32, f32, s32, s16)
 
void func_80018718 (s32, f32, s32, s16)
 
void func_80019118 (s32, f32, s32, s16)
 
void func_8001933C (Camera *, UNUSED Player *, s32, s32)
 
void func_8001968C (void)
 
void func_8001969C (s32, f32, s32, s16)
 
void func_80019760 (Camera *, UNUSED Player *, s32, s32)
 
void func_80019890 (s32, s32)
 
void func_80019B50 (s32, u16)
 
void func_80019C50 (s32)
 
void func_80019D2C (Camera *, Player *, s32)
 
void func_80019DE4 (void)
 
void func_80019DF4 (void)
 
void func_80019E58 (void)
 
void func_80019ED0 (void)
 
void func_80019FB4 (s32)
 
void func_8001A0A4 (u16 *, Camera *, Player *, s8, s32)
 
void func_8001A0DC (u16 *, Camera *, Player *, s8, s32)
 
void func_8001A124 (s32, s32)
 
s32 func_8001A310 (s32, s32)
 
void func_8001A348 (s32, f32, s32)
 
void func_8001A3D8 (s32, f32, s32)
 
void func_8001A450 (s32, s32, s32)
 
void func_8001A518 (s32, s32, s32)
 
void func_8001A588 (u16 *, Camera *, Player *, s8, s32)
 
void func_8001AAAC (s16, s16, s16)
 
void func_8001AB00 (void)
 
void cpu_decisions_branch_item (s32, s16 *, s32)
 
void func_8001ABE0 (s32, D_801642D8_entry *)
 
void func_8001ABEC (struct struct_801642D8 *)
 
void cpu_use_item_strategy (s32)
 
void func_8001BE78 (void)
 
void func_8001C05C (void)
 
void func_8001C14C (void)
 
void func_8001C3C4 (s32)
 
void func_8001C42C (void)
 

Variables

UnkCommonTextureStruct0D_800DC720 []
 
f32 D_800DCA4C []
 
s16 D_800DCA20 []
 
uintptr_t gCoursePathTable [20][4]
 
uintptr_t D_800DC8D0 [20][4]
 
struct _struct_D_800DD9D0_0x10 D_800DD9D0 []
 
Collision D_80162E70
 
s16 D_80162EB0
 
s16 D_80162EB2
 
UnkCommonTextureStruct0D_80162EB8 []
 
s16 D_80162F10 []
 
s16 D_80162F50 []
 
Vec3f D_80162FA0
 
Vec3f D_80162FB0
 
Vec3f D_80162FC0
 
s16 D_80162FCC
 
s16 D_80162FD0
 
f32 gCourseCompletionPercentByRank []
 
s16 D_80162FF8 []
 
s16 D_80163010 []
 
f32 D_80163028 []
 
s16 D_80163050 []
 
f32 D_80163068 []
 
f32 D_80163090 []
 
s32 D_801630B8 []
 
u16 D_801630E0
 
s16 D_801630E2
 
s16 D_801630E8 []
 
s16 D_801630FC
 
s32 D_80163100 []
 
s32 D_80163128 []
 
s32 D_80163150 []
 
f32 D_80163178 []
 
f32 D_801631A0 []
 
s16 D_801631C8
 
s32 D_801631CC
 
TrackWaypointD_801631D0
 
TrackWaypointD_801631D4
 
s16D_801631D8
 
u16 D_801631E0 []
 
u16 D_801631F8 []
 
f32 D_8016320C
 
f32 D_80163210 []
 
s32 D_80163238
 
u16 D_80163240 []
 
u16 D_80163258 []
 
u16 D_80163270 []
 
s32 D_80163288 []
 
UnkCommonTextureStruct0D_801632B0
 
u16 D_801632B8 []
 
u16 D_801632D0 []
 
u16 D_801632E8 []
 
s16 D_80163300 []
 
u16 D_80163318 []
 
u16 D_80163330 []
 
u16 D_80163344 []
 
u16 D_80163348 []
 
u16 D_8016334C []
 
u16 D_80163350 []
 
s32 D_80163368 []
 
s32 D_80163378
 
s32 D_8016337C
 
s16 D_80163380 []
 
s16 D_80163398 []
 
s16 D_801633B0 []
 
s16 D_801633C8 []
 
s16 D_801633E0 []
 
s16 D_801633F8 []
 
s16 D_80163410 []
 
f32 D_80163418 []
 
f32 D_80163428 []
 
f32 D_80163438 []
 
s32 D_80163448
 
f32 D_8016344C
 
f32 D_80163450 []
 
s16 D_80163478
 
s16 D_8016347A
 
s16 D_8016347C
 
s16 D_8016347E
 
s32 D_80163480
 
s32 D_80163484
 
s32 D_80163488
 
s16 D_8016348C
 
s16 D_80163490 []
 
s16 D_801634A8 []
 
s16 D_801634C0 []
 
s16 D_801634D8 []
 
s16 D_801634EC
 
s32 D_801634F0
 
s32 D_801634F4
 
Test D_801634F8 []
 
PathNoYD_80163598
 
s32 D_8016359C
 
u16 isCrossingTriggeredByIndex []
 
u16 D_801637BC []
 
s32 D_80163DD8 []
 
struct unexpiredActors gUnexpiredActorsList []
 
D_801642D8_entry D_801642D8 []
 
s16 D_80164358
 
s16 D_8016435A
 
s16 D_8016435C
 
s16 gGPCurrentRacePlayerIdByRank []
 
s16 D_80164378 []
 
s32 gLapCountByPlayerId []
 
s32 gGPCurrentRaceRankByPlayerId []
 
s32 D_801643E0 []
 
s32 D_80164408 []
 
u16 D_80164430
 
u16 gNearestWaypointByPlayerId []
 
s32 D_80164450 []
 
s16 D_80164478 []
 
s32 D_8016448C
 
f32 D_80164498 []
 
f32 gLapCompletionPercentByPlayerId []
 
f32 gCourseCompletionPercentByPlayerId []
 
s16 D_801644F8 []
 
f32 D_80164510 []
 
s16 D_80164538 []
 
s32 D_801645D0 []
 
s32 D_801645E8 []
 
f32 D_801645F8 []
 
s32 D_80164608 []
 
f32 D_80164618 []
 
s32 D_80164628 []
 
f32 D_80164638 []
 
f32 D_80164648 []
 
f32 D_80164658 []
 
s16 D_80164670 []
 
s16 D_80164678 []
 
s16 D_80164680 []
 
f32 D_80164688 []
 
f32 D_80164698
 
f32 D_8016469C
 
f32 D_801646A0
 
s16 D_801646C0 []
 
u32 D_801646C8
 
u16 D_801646CC
 
UnkStruct_46D0 D_801646D0 []
 
f32 D_800DCAA0 []
 
u16 D_801637BE
 
u16 D_80163E2A
 
Gfx D_0D0076F8 []
 
s32 D_800DDB20
 

Function Documentation

◆ cpu_decisions_branch_item()

void cpu_decisions_branch_item ( s32 arg0,
s16 * arg1,
s32 arg2 )

◆ cpu_use_item_strategy()

void cpu_use_item_strategy ( s32 )

◆ func_80005FD0()

s16 func_80005FD0 ( Vec3f arg0,
Vec3f arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80006018()

s32 func_80006018 ( f32 arg0,
f32 arg1,
f32 arg2,
f32 arg3,
f32 arg4,
f32 arg5,
f32 arg6,
f32 arg7 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80006114()

void func_80006114 ( Vec3f arg0,
Vec3f arg1,
s16 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800061DC()

s32 func_800061DC ( Vec3f arg0,
f32 arg1,
s32 arg2 )
Here is the caller graph for this function:

◆ func_800065D0()

void func_800065D0 ( s32 playerId,
Player * player )

◆ func_800070F4()

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

◆ func_800074D4()

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

◆ func_80007BF8()

s32 func_80007BF8 ( u16 arg0,
u16 arg1,
u16 arg2,
u16 arg3,
u16 arg4 )
Here is the caller graph for this function:

◆ func_80007D04()

void func_80007D04 ( s32 ,
Player *  )
Here is the caller graph for this function:

◆ func_80007FA4()

void func_80007FA4 ( s32 arg0,
Player * player,
f32 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80008424()

void func_80008424 ( s32 playerId,
f32 arg1,
Player * player )
Here is the call graph for this function:

◆ func_800088D8()

s32 func_800088D8 ( s32 ,
s16 ,
s16  )
Here is the caller graph for this function:

◆ func_80008DC0()

void func_80008DC0 ( s32 pathIndex)
Here is the caller graph for this function:

◆ func_80008E58()

s32 func_80008E58 ( s32 payerId,
s32 pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80008F38()

void func_80008F38 ( s32 playerId)
Here is the caller graph for this function:

◆ func_80009000()

void func_80009000 ( s32 playerId)

◆ func_800090F0()

void func_800090F0 ( s32 playerId,
Player * player )
Here is the call graph for this function:

◆ func_80009258()

f32 func_80009258 ( s32 ,
f32 ,
f32  )

◆ func_8000929C()

void func_8000929C ( s32 ,
Player *  )

◆ func_800097E0()

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

◆ func_800098FC()

void func_800098FC ( s32 arg0,
Player * player )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800099EC()

void func_800099EC ( s32 playerId,
Player * unused )
Here is the call graph for this function:

◆ func_80009B60()

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

◆ func_8000B140()

void func_8000B140 ( s32 )

◆ func_8000B7E4()

s32 func_8000B7E4 ( s32 ,
u16  )

◆ func_8000B820()

s32 func_8000B820 ( s32 playerIndex)
Here is the caller graph for this function:

◆ func_8000B874()

f32 func_8000B874 ( f32 posX,
f32 posZ,
u16 waypointIndex,
s32 pathIndex )
Here is the caller graph for this function:

◆ func_8000B95C()

void func_8000B95C ( s32 playerId,
u16 waypointIndex,
s32 pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8000BA14()

void func_8000BA14 ( u16 waypointIndex,
f32 arg1,
f32 arg2,
s16 pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8000BBD8()

void func_8000BBD8 ( u16 waypointIndex,
f32 arg1,
s16 pathIndex )
Here is the caller graph for this function:

◆ func_8000BD94()

s16 func_8000BD94 ( f32 posX,
f32 posY,
f32 posZ,
s32 pathIndex )
Here is the caller graph for this function:

◆ func_8000C0BC()

s16 func_8000C0BC ( f32 posX,
f32 posY,
f32 posZ,
u16 trackSegment,
s32 * pathIndex )
Here is the caller graph for this function:

◆ func_8000C884()

s16 func_8000C884 ( f32 posX,
f32 posY,
f32 posZ,
s16 waypointIndex,
s32 pathIndex,
u16 trackSegment )

Tries to find the waypoint nearest to (posX, posY, posZ) Only consider waypoints in the same segment as trackSegment Only considers waypoints within 500 units of (posX, posY, posZ) Looks 3 waypoints behind and 6 waypoints ahead of waypointIndex

Here is the caller graph for this function:

◆ func_8000C9DC()

s16 func_8000C9DC ( f32 posX,
f32 posY,
f32 posZ,
s16 waypointIndex,
s32 pathIndex )

Tries to find the waypoint nearest to (posX, posY, posZ) Only considers waypoints within 400 units of (posX, posY, posZ) Looks 3 waypoints behind and 6 waypoints ahead of waypointIndex

This fake match is done to stop the compiler from optimzing out considerWaypoint. Maybe if no waypoint was found some debugging info was printed out, but come production time they removed the debug printing but not the loop?

Here is the caller graph for this function:

◆ func_8000CBA4()

void func_8000CBA4 ( f32 ,
f32 ,
f32 ,
s16 * ,
s32  )

◆ func_8000CBF8()

void func_8000CBF8 ( f32 ,
f32 ,
f32 ,
s16 * ,
s32  )

◆ func_8000CC88()

s16 func_8000CC88 ( f32 posX,
f32 posY,
f32 posZ,
Player * player,
s32 playerId,
s32 * pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8000CD24()

s16 func_8000CD24 ( f32 posX,
f32 posY,
f32 posZ,
s16 waypointIndex,
Player * player,
s32 playerId,
s32 pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8000D100()

s16 func_8000D100 ( f32 xPos,
f32 yPos,
f32 zPos,
s16 arg3 )
Here is the caller graph for this function:

◆ func_8000D24C()

s16 func_8000D24C ( f32 posX,
f32 posY,
f32 posZ,
s32 * pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8000D2B4()

s16 func_8000D2B4 ( f32 posX,
f32 posY,
f32 posZ,
s16 waypointIndex,
s32 pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8000D33C()

s16 func_8000D33C ( f32 posX,
f32 posY,
f32 posZ,
s16 waypointIndex,
s32 pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8000D3B8()

f32 func_8000D3B8 ( s32 playerId)
Here is the caller graph for this function:

◆ func_8000D438()

void func_8000D438 ( s32 arg0,
u16 arg1 )
Here is the call graph for this function:

◆ func_8000D6D0()

s16 func_8000D6D0 ( Vec3f arg0,
s16 * waypointIndex,
f32 arg2,
f32 arg3,
s16 pathIndex,
s16 arg5 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8000D940()

s16 func_8000D940 ( Vec3f ,
s16 * ,
f32 ,
f32 ,
s16  )

◆ func_8000DBAC()

s16 func_8000DBAC ( Vec3f pos,
s16 * waypointIndex,
f32 speed )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8000DF8C()

void func_8000DF8C ( s32 bombKartId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8000ED14()

s32 func_8000ED14 ( s32 actorIndex,
s16 arg1 )
Here is the caller graph for this function:

◆ func_8000ED80()

s32 func_8000ED80 ( s32 actorIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8000EDC8()

s32 func_8000EDC8 ( s32 actorIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8000EE10()

s32 func_8000EE10 ( s32 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8000EE58()

void func_8000EE58 ( s32 actorIndex)
Here is the caller graph for this function:

◆ func_8000EEDC()

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

◆ func_8000EF20()

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

◆ func_8000F0E0()

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

◆ func_8000F124()

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

◆ func_8000F2BC()

void func_8000F2BC ( TrackWaypoint * arg0,
size_t size )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8000F2DC()

void func_8000F2DC ( void )
Warning
does not appear to zero all the above allocated variables.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8000F628()

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

◆ func_800100F0()

void func_800100F0 ( s32 pathIndex)
Todo
Confirm this comment
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80010218()

void func_80010218 ( s32 pathIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80010480()

f32 func_80010480 ( s32 pathIndex,
u16 waypointIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800107C4()

void func_800107C4 ( s32 pathIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80010CB0()

s16 func_80010CB0 ( s32 pathIndex,
s32 waypointIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80010DBC()

void func_80010DBC ( s32 pathIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80010E6C()

void func_80010E6C ( s32 pathIndex)
Here is the caller graph for this function:

◆ func_80010F40()

f32 func_80010F40 ( f32 ,
f32 ,
f32 ,
s32 ,
s32  )

◆ func_80010FA0()

f32 func_80010FA0 ( f32 ,
f32 ,
f32 ,
s32 ,
s32  )

◆ func_80011014()

s32 func_80011014 ( TrackWaypoint * pathDest,
TrackWaypoint * path,
s32 numPathPoints,
s32 pathIndex )
Returns
's the number of items processed.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001168C()

s32 func_8001168C ( PathNoY * pathDest,
TrackWaypoint * pathSrc,
s32 numWaypoints )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80011A5C()

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

◆ func_80011AB8()

void func_80011AB8 ( s32 index)
Here is the caller graph for this function:

◆ func_80011AE4()

void func_80011AE4 ( s32 index)

◆ func_80011B14()

void func_80011B14 ( s32 playerId,
Player * player )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80011D48()

void func_80011D48 ( s32 playerIndex,
Player * player )
Here is the caller graph for this function:

◆ func_80011E38()

void func_80011E38 ( s32 playerIndex)
Here is the call graph for this function:

◆ func_80011EC0()

void func_80011EC0 ( s32 arg0,
Player * player,
s32 arg2,
u16 arg3 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800120C8()

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

◆ func_80012190()

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

◆ func_80012220()

void func_80012220 ( VehicleStuff * vehicle)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80012780()

void func_80012780 ( TrainCarStuff * trainCar,
s16 * arg1,
u16 arg2 )
Here is the caller graph for this function:

◆ func_800127E0()

void func_800127E0 ( void )

Set waypoint spawn locations for each rolling stock The railroad has 465 waypoints

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

◆ func_80012A48()

void func_80012A48 ( TrainCarStuff * trainCar,
s16 arg1 )
Here is the caller graph for this function:

◆ func_80012AC0()

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

◆ func_80012DC0()

void func_80012DC0 ( s32 playerId,
Player * player )
Here is the call graph for this function:

◆ func_80013054()

void func_80013054 ( void )

Appears to check if the train is close to the crossing. Implements D_801637BC as a counter

◆ func_800131DC()

void func_800131DC ( s32 playerId)
Here is the call graph for this function:

◆ func_800132F4()

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

◆ func_800133C4()

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

◆ func_80013854()

void func_80013854 ( Player * player)
Here is the call graph for this function:

◆ func_800139E4()

void func_800139E4 ( f32 arg0,
f32 arg1,
s32 arg2,
s32 arg3,
VehicleStuff * vehicle,
TrackWaypoint * waypointList )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80013C74()

f32 func_80013C74 ( s16 arg0,
s16 arg1 )
Here is the caller graph for this function:

◆ func_80013D20()

void func_80013D20 ( VehicleStuff * vehicle)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80013F7C()

void func_80013F7C ( s32 playerId,
Player * player,
VehicleStuff * vehicle,
f32 arg3,
f32 arg4,
s32 arg5,
u32 soundBits )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800145A8()

f32 func_800145A8 ( s16 arg0,
f32 arg1,
s16 arg2 )
Here is the caller graph for this function:

◆ func_800146B8()

void func_800146B8 ( s32 playerId,
s32 arg1,
VehicleStuff * vehicle )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800147E0()

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

◆ func_8001487C()

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

◆ func_800148C4()

void func_800148C4 ( s32 playerId,
Player * player )
Here is the call graph for this function:

◆ func_8001490C()

void func_8001490C ( s32 playerId)
Here is the call graph for this function:

◆ func_80014934()

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

◆ func_800149D0()

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

◆ func_80014A18()

void func_80014A18 ( s32 playerId,
Player * player )
Here is the call graph for this function:

◆ func_80014A60()

void func_80014A60 ( s32 playerId)
Here is the call graph for this function:

◆ func_80014A88()

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

◆ func_80014B24()

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

◆ func_80014B6C()

void func_80014B6C ( s32 playerId,
Player * player )
Here is the call graph for this function:

◆ func_80014BB4()

void func_80014BB4 ( s32 playerId)
Here is the call graph for this function:

◆ func_80014BDC()

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

◆ func_80014C78()

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

◆ func_80014CC0()

void func_80014CC0 ( s32 playerId,
Player * player )
Here is the call graph for this function:

◆ func_80014D08()

void func_80014D08 ( s32 playerId)
Here is the call graph for this function:

◆ func_80014D30()

void func_80014D30 ( s32 cameraId,
s32 pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80014DE4()

void func_80014DE4 ( s32 arg0)
Here is the caller graph for this function:

◆ func_80014EE4()

f32 func_80014EE4 ( f32 arg0,
s32 arg1 )
Here is the caller graph for this function:

◆ func_800151A4()

void func_800151A4 ( Camera * camera,
s32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001530C()

void func_8001530C ( void )

◆ func_80015314()

void func_80015314 ( s32 ,
f32 ,
s32  )

◆ func_80015390()

void func_80015390 ( Camera * ,
Player * ,
s32  )

◆ func_80015544()

void func_80015544 ( s32 playerId,
f32 arg1,
s32 cameraId,
s32 pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001577C()

void func_8001577C ( Camera * camera,
UNUSED Player * playerArg,
s32 arg2,
s32 cameraId )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80015A9C()

void func_80015A9C ( s32 playerId,
f32 arg1,
s32 cameraId,
s16 pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800162CC()

void func_800162CC ( s32 playerId,
f32 arg1,
s32 cameraId,
s16 pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80016C3C()

void func_80016C3C ( s32 ,
f32 ,
s32  )
Here is the caller graph for this function:

◆ func_80017720()

void func_80017720 ( s32 playerId,
f32 arg1,
s32 cameraId,
s16 pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80017F10()

void func_80017F10 ( s32 playerId,
f32 arg1,
s32 cameraId,
s16 pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80018718()

void func_80018718 ( s32 playerId,
f32 arg1,
s32 cameraId,
s16 pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80019118()

void func_80019118 ( s32 playerId,
f32 arg1,
s32 cameraId,
s16 pathIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001933C()

void func_8001933C ( Camera * camera,
UNUSED Player * playerArg,
s32 arg2,
s32 cameraId )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001968C()

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

◆ func_8001969C()

void func_8001969C ( s32 playerId,
f32 arg1,
s32 cameraId,
s16 pathIndex )
Bug
Adding an (f32) cast changes asm, why?
Here is the caller graph for this function:

◆ func_80019760()

void func_80019760 ( Camera * camera,
UNUSED Player * player,
s32 arg2,
s32 cameraId )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80019890()

void func_80019890 ( s32 playerId,
s32 cameraId )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80019B50()

void func_80019B50 ( s32 arg0,
u16 arg1 )
Here is the caller graph for this function:

◆ func_80019C50()

void func_80019C50 ( s32 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80019D2C()

void func_80019D2C ( Camera * camera,
Player * player,
s32 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80019DE4()

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

◆ func_80019DF4()

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

◆ func_80019E58()

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

◆ func_80019ED0()

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

◆ func_80019FB4()

void func_80019FB4 ( s32 cameraId)
Here is the caller graph for this function:

◆ func_8001A0A4()

void func_8001A0A4 ( u16 * ,
Camera * ,
Player * ,
s8 ,
s32  )

◆ func_8001A0DC()

void func_8001A0DC ( u16 * arg0,
Camera * arg1,
Player * arg2,
s8 arg3,
s32 arg4 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001A124()

void func_8001A124 ( s32 arg0,
s32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001A310()

s32 func_8001A310 ( s32 waypoint,
s32 arg1 )
Here is the caller graph for this function:

◆ func_8001A348()

void func_8001A348 ( s32 cameraId,
f32 arg1,
s32 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001A3D8()

void func_8001A3D8 ( s32 arg0,
f32 arg1,
s32 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001A450()

void func_8001A450 ( s32 playerId,
s32 arg1,
s32 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001A518()

void func_8001A518 ( s32 arg0,
s32 arg1,
s32 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001A588()

void func_8001A588 ( u16 * localD_80152300,
Camera * camera,
Player * player,
s8 index,
s32 cameraIndex )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001AAAC()

void func_8001AAAC ( s16 arg0,
s16 arg1,
s16 arg2 )
Here is the caller graph for this function:

◆ func_8001AB00()

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

◆ func_8001ABE0()

void func_8001ABE0 ( s32 ,
D_801642D8_entry *  )

◆ func_8001ABEC()

void func_8001ABEC ( struct struct_801642D8 * arg0)

◆ func_8001BE78()

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

◆ func_8001C05C()

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

◆ func_8001C14C()

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

◆ func_8001C3C4()

void func_8001C3C4 ( s32 cameraId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8001C42C()

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

◆ init_course_vehicles()

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

◆ process_path_data()

s32 process_path_data ( TrackWaypoint * dest,
TrackWaypoint * src )
Here is the caller graph for this function:

◆ set_bomb_kart_spawn_positions()

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

◆ set_places()

void set_places ( void )

Variable Documentation

◆ D_0D0076F8

Gfx D_0D0076F8[]
extern

◆ D_800DC720

UnkCommonTextureStruct0* D_800DC720[]
extern

◆ D_800DC8D0

uintptr_t D_800DC8D0[20][4]
extern

◆ D_800DCA20

s16 D_800DCA20[]
extern

◆ D_800DCA4C

f32 D_800DCA4C[]
extern

◆ D_800DCAA0

f32 D_800DCAA0[]
extern

◆ D_800DD9D0

struct _struct_D_800DD9D0_0x10 D_800DD9D0[]
extern

◆ D_800DDB20

s32 D_800DDB20
extern

◆ D_80162E70

Collision D_80162E70
extern

◆ D_80162EB0

s16 D_80162EB0
extern

◆ D_80162EB2

s16 D_80162EB2
extern

◆ D_80162EB8

UnkCommonTextureStruct0* D_80162EB8[]
extern

◆ D_80162F10

s16 D_80162F10[]
extern

◆ D_80162F50

s16 D_80162F50[]
extern

◆ D_80162FA0

Vec3f D_80162FA0
extern

◆ D_80162FB0

Vec3f D_80162FB0
extern

◆ D_80162FC0

Vec3f D_80162FC0
extern

◆ D_80162FCC

s16 D_80162FCC
extern

◆ D_80162FD0

s16 D_80162FD0
extern

◆ D_80162FF8

s16 D_80162FF8[]
extern

◆ D_80163010

s16 D_80163010[]
extern

◆ D_80163028

f32 D_80163028[]
extern

◆ D_80163050

s16 D_80163050[]
extern

◆ D_80163068

f32 D_80163068[]
extern

◆ D_80163090

f32 D_80163090[]
extern

◆ D_801630B8

s32 D_801630B8[]
extern

◆ D_801630E0

u16 D_801630E0
extern

◆ D_801630E2

s16 D_801630E2
extern

◆ D_801630E8

s16 D_801630E8[]
extern

◆ D_801630FC

s16 D_801630FC
extern

◆ D_80163100

s32 D_80163100[]
extern

◆ D_80163128

s32 D_80163128[]
extern

◆ D_80163150

s32 D_80163150[]
extern

◆ D_80163178

f32 D_80163178[]
extern

◆ D_801631A0

f32 D_801631A0[]
extern

◆ D_801631C8

s16 D_801631C8
extern

◆ D_801631CC

s32 D_801631CC
extern

◆ D_801631D0

TrackWaypoint* D_801631D0
extern

◆ D_801631D4

TrackWaypoint* D_801631D4
extern

◆ D_801631D8

s16* D_801631D8
extern

◆ D_801631E0

u16 D_801631E0[]
extern

◆ D_801631F8

u16 D_801631F8[]
extern

◆ D_8016320C

f32 D_8016320C
extern

◆ D_80163210

f32 D_80163210[]
extern

◆ D_80163238

s32 D_80163238
extern

◆ D_80163240

u16 D_80163240[]
extern

◆ D_80163258

u16 D_80163258[]
extern

◆ D_80163270

u16 D_80163270[]
extern

◆ D_80163288

s32 D_80163288[]
extern

◆ D_801632B0

UnkCommonTextureStruct0* D_801632B0
extern

◆ D_801632B8

u16 D_801632B8[]
extern

◆ D_801632D0

u16 D_801632D0[]
extern

◆ D_801632E8

u16 D_801632E8[]
extern

◆ D_80163300

s16 D_80163300[]
extern

◆ D_80163318

u16 D_80163318[]
extern

◆ D_80163330

u16 D_80163330[]
extern

◆ D_80163344

u16 D_80163344[]
extern

◆ D_80163348

u16 D_80163348[]
extern

◆ D_8016334C

u16 D_8016334C[]
extern

◆ D_80163350

u16 D_80163350[]
extern

◆ D_80163368

s32 D_80163368[]
extern

◆ D_80163378

s32 D_80163378
extern

◆ D_8016337C

s32 D_8016337C
extern

◆ D_80163380

s16 D_80163380[]
extern

◆ D_80163398

s16 D_80163398[]
extern

◆ D_801633B0

s16 D_801633B0[]
extern

◆ D_801633C8

s16 D_801633C8[]
extern

◆ D_801633E0

s16 D_801633E0[]
extern

◆ D_801633F8

s16 D_801633F8[]
extern

◆ D_80163410

s16 D_80163410[]
extern

◆ D_80163418

f32 D_80163418[]
extern

◆ D_80163428

f32 D_80163428[]
extern

◆ D_80163438

f32 D_80163438[]
extern

◆ D_80163448

s32 D_80163448
extern

◆ D_8016344C

f32 D_8016344C
extern

◆ D_80163450

f32 D_80163450[]
extern

◆ D_80163478

s16 D_80163478
extern

◆ D_8016347A

s16 D_8016347A
extern

◆ D_8016347C

s16 D_8016347C
extern

◆ D_8016347E

s16 D_8016347E
extern

◆ D_80163480

s32 D_80163480
extern

◆ D_80163484

s32 D_80163484
extern

◆ D_80163488

s32 D_80163488
extern

◆ D_8016348C

s16 D_8016348C
extern

◆ D_80163490

s16 D_80163490[]
extern

◆ D_801634A8

s16 D_801634A8[]
extern

◆ D_801634C0

s16 D_801634C0[]
extern

◆ D_801634D8

s16 D_801634D8[]
extern

◆ D_801634EC

s16 D_801634EC
extern

◆ D_801634F0

s32 D_801634F0
extern

◆ D_801634F4

s32 D_801634F4
extern

◆ D_801634F8

Test D_801634F8[]
extern

◆ D_80163598

PathNoY* D_80163598
extern

◆ D_8016359C

s32 D_8016359C
extern

◆ D_801637BC

u16 D_801637BC[]
extern

◆ D_801637BE

u16 D_801637BE
extern

◆ D_80163DD8

s32 D_80163DD8[]
extern

◆ D_80163E2A

u16 D_80163E2A
extern

◆ D_801642D8

D_801642D8_entry D_801642D8[]
extern

◆ D_80164358

s16 D_80164358
extern

◆ D_8016435A

s16 D_8016435A
extern

◆ D_8016435C

s16 D_8016435C
extern

◆ D_80164378

s16 D_80164378[]
extern

◆ D_801643E0

s32 D_801643E0[]
extern

◆ D_80164408

s32 D_80164408[]
extern

◆ D_80164430

u16 D_80164430
extern

◆ D_80164450

s32 D_80164450[]
extern

◆ D_80164478

s16 D_80164478[]
extern

◆ D_8016448C

s32 D_8016448C
extern

◆ D_80164498

f32 D_80164498[]
extern

◆ D_801644F8

s16 D_801644F8[]
extern

◆ D_80164510

f32 D_80164510[]
extern

◆ D_80164538

s16 D_80164538[]
extern

◆ D_801645D0

s32 D_801645D0[]
extern

◆ D_801645E8

s32 D_801645E8[]
extern

◆ D_801645F8

f32 D_801645F8[]
extern

◆ D_80164608

s32 D_80164608[]
extern

◆ D_80164618

f32 D_80164618[]
extern

◆ D_80164628

s32 D_80164628[]
extern

◆ D_80164638

f32 D_80164638[]
extern

◆ D_80164648

f32 D_80164648[]
extern

◆ D_80164658

f32 D_80164658[]
extern

◆ D_80164670

s16 D_80164670[]
extern

◆ D_80164678

s16 D_80164678[]
extern

◆ D_80164680

s16 D_80164680[]
extern

◆ D_80164688

f32 D_80164688[]
extern

◆ D_80164698

f32 D_80164698
extern

◆ D_8016469C

f32 D_8016469C
extern

◆ D_801646A0

f32 D_801646A0
extern

◆ D_801646C0

s16 D_801646C0[]
extern

◆ D_801646C8

u32 D_801646C8
extern

◆ D_801646CC

u16 D_801646CC
extern

◆ D_801646D0

UnkStruct_46D0 D_801646D0[]
extern

◆ gCourseCompletionPercentByPlayerId

f32 gCourseCompletionPercentByPlayerId[]
extern

◆ gCourseCompletionPercentByRank

f32 gCourseCompletionPercentByRank[NUM_PLAYERS]
extern

◆ gCoursePathTable

uintptr_t gCoursePathTable[20][4]
extern

◆ gGPCurrentRacePlayerIdByRank

s16 gGPCurrentRacePlayerIdByRank[]
extern

◆ gGPCurrentRaceRankByPlayerId

s32 gGPCurrentRaceRankByPlayerId[]
extern

◆ gLapCompletionPercentByPlayerId

f32 gLapCompletionPercentByPlayerId[]
extern

◆ gLapCountByPlayerId

s32 gLapCountByPlayerId[]
extern

◆ gNearestWaypointByPlayerId

u16 gNearestWaypointByPlayerId[]
extern

◆ gUnexpiredActorsList

struct unexpiredActors gUnexpiredActorsList[]
extern

◆ isCrossingTriggeredByIndex

u16 isCrossingTriggeredByIndex[]
extern