Mario Kart 64
Loading...
Searching...
No Matches
waypoints.h File Reference
#include <common_structs.h>
Include dependency graph for waypoints.h:

Go to the source code of this file.

Data Structures

struct  TrackWaypoint
 

Variables

TrackWaypointD_80164550 []
 
TrackWaypointD_80164560 []
 
TrackWaypointD_80164570 []
 
s16D_80164580 []
 
s16D_80164590 []
 
s16D_801645A0 []
 
s16 sSomeNearestWaypoint
 
s32 D_80163448
 
TrackWaypointD_801631D0
 
TrackWaypointD_801631D4
 
s16D_801631D8
 
s16D_801631DC
 
u16 D_80164430
 
TrackWaypointD_80164490
 
s16D_801645E0
 
u16 gNearestWaypointByPlayerId []
 
s32 D_80164450 []
 
u16 gPathIndexByPlayerId []
 
u16 gWaypointCountByPathIndex []
 
s16 gNearestWaypointByCameraId []
 
f32 D_80163068 []
 
u16 D_80163318 []
 
s32 D_80163368 []
 
f32 D_8016344C
 
s16 D_80163490 []
 
s16 D_801634A8 []
 
s16 D_801644F8 []
 

Variable Documentation

◆ D_80163068

f32 D_80163068[]
extern

Stuff that may not be directly related to waypoints, but are only referenced in code_80005FD0. So they are at least waypoint adjacent.

◆ D_801631D0

TrackWaypoint* D_801631D0
extern

◆ D_801631D4

TrackWaypoint* D_801631D4
extern

◆ D_801631D8

s16* D_801631D8
extern

◆ D_801631DC

s16* D_801631DC
extern

◆ D_80163318

u16 D_80163318[]
extern

◆ D_80163368

s32 D_80163368[]
extern

◆ D_80163448

s32 D_80163448
extern

◆ D_8016344C

f32 D_8016344C
extern

◆ D_80163490

s16 D_80163490[]
extern

◆ D_801634A8

s16 D_801634A8[]
extern

◆ D_80164430

u16 D_80164430
extern

◆ D_80164450

s32 D_80164450[]
extern

◆ D_80164490

TrackWaypoint* D_80164490
extern

◆ D_801644F8

s16 D_801644F8[]
extern

◆ D_80164550

TrackWaypoint* D_80164550[]
extern

These are per-path arrays that contain some information relating to waypoints The arrays in D_80164550 contain X/Y/Z and track segment information The arrays in D_80164560 and D_80164570 track some other X/Y/Z, but the track segment is always 0 (so, untracked/unused) Its unclear how these arrays relate to each other

◆ D_80164560

TrackWaypoint* D_80164560[]
extern

◆ D_80164570

TrackWaypoint* D_80164570[]
extern

◆ D_80164580

s16* D_80164580[]
extern

Don't know what exactly these are, but like D_80164550, D_80164560, and D_80164570 they track something about the waypoints on a per-path basis

◆ D_80164590

s16* D_80164590[]
extern

◆ D_801645A0

s16* D_801645A0[]
extern

◆ D_801645E0

s16* D_801645E0
extern

◆ gNearestWaypointByCameraId

s16 gNearestWaypointByCameraId[]
extern

◆ gNearestWaypointByPlayerId

u16 gNearestWaypointByPlayerId[]
extern

◆ gPathIndexByPlayerId

u16 gPathIndexByPlayerId[]
extern

◆ gWaypointCountByPathIndex

u16 gWaypointCountByPathIndex[]
extern

◆ sSomeNearestWaypoint

s16 sSomeNearestWaypoint
extern

Certain parts of the waypoint logic will copy some path/player specific data to a temporary variable. For example: D_80164490 is always a value from D_80164550. Depending on which path a given player is on, the specific value may change