Mario Kart 64
Loading...
Searching...
No Matches
render_courses.c File Reference
#include <ultra64.h>
#include <macros.h>
#include <mk64.h>
#include <common_structs.h>
#include <defines.h>
#include <course.h>
#include "render_courses.h"
#include "code_800029B0.h"
#include "main.h"
#include "actors.h"
#include "math_util.h"
#include "memory.h"
#include "code_80281780.h"
#include "collision.h"
#include "skybox_and_splitscreen.h"
#include "courses/all_course_data.h"
#include "courses/all_course_packed.h"
#include "courses/all_course_offsets.h"
Include dependency graph for render_courses.c:

Functions

s32 func_80290C20 (Camera *camera)
 
void parse_course_displaylists (uintptr_t addr)
 
void render_course_segments (uintptr_t addr, struct UnkStruct_800DC5EC *arg1)
 
void func_80291198 (void)
 
void func_802911C4 (void)
 
void func_8029122C (struct UnkStruct_800DC5EC *arg0, s32 playerId)
 
void render_mario_raceway (struct UnkStruct_800DC5EC *arg0)
 
void render_choco_mountain (struct UnkStruct_800DC5EC *arg0)
 
void render_bowsers_castle (struct UnkStruct_800DC5EC *arg0)
 
void render_banshee_boardwalk (struct UnkStruct_800DC5EC *arg0)
 
void render_yoshi_valley (struct UnkStruct_800DC5EC *arg0)
 
void render_frappe_snowland (struct UnkStruct_800DC5EC *arg0)
 
void render_koopa_troopa_beach (struct UnkStruct_800DC5EC *arg0)
 
void render_royal_raceway (struct UnkStruct_800DC5EC *arg0)
 
void render_luigi_raceway (struct UnkStruct_800DC5EC *arg0)
 
void render_moo_moo_farm (struct UnkStruct_800DC5EC *arg0)
 
void render_toads_turnpike (struct UnkStruct_800DC5EC *arg0)
 
void render_kalimari_desert (struct UnkStruct_800DC5EC *arg0)
 
void render_sherbet_land (struct UnkStruct_800DC5EC *arg0)
 
void render_rainbow_road (UNUSED struct UnkStruct_800DC5EC *arg0)
 
void render_wario_stadium (struct UnkStruct_800DC5EC *arg0)
 
void render_block_fort (UNUSED struct UnkStruct_800DC5EC *arg0)
 
void render_skyscraper (UNUSED struct UnkStruct_800DC5EC *arg0)
 
void render_double_deck (UNUSED struct UnkStruct_800DC5EC *arg0)
 
void render_dks_jungle_parkway (struct UnkStruct_800DC5EC *arg0)
 
void render_big_donut (struct UnkStruct_800DC5EC *arg0)
 
void render_course_credits (void)
 The game has two versions of each course. One for normal gameplay and another for credits. The credits version is not split into segments so that the game camera can fly around the whole course.
 
void render_course (struct UnkStruct_800DC5EC *arg0)
 
void func_80295BF8 (s32 playerIndex)
 
void func_80295C6C (void)
 
UNUSED void func_80295D50 (s16 arg0, s16 arg1)
 
void func_80295D6C (void)
 
void course_generate_collision_mesh (void)
 Also sets vertex colours for the course vtx data.
 
void course_update_water (void)
 
void func_802969F8 (void)
 

Variables

s16 D_802B87B0 = 995
 
s16 D_802B87B4 = 1000
 
UNUSED s32 D_802B87B8 = 0
 
s32 D_802B87BC = 0
 
UNUSED s32 D_802B87C0 = 0
 
s32 D_802B87C4 = 0
 
s32 D_802B87C8 = 0
 
s32 D_802B87CC = 0
 
s16 D_802B87D0 = 0
 
s16 D_802B87D4 = 0
 
s16 currentScreenSection = 0
 
u32 isFlycam
 

Function Documentation

◆ course_generate_collision_mesh()

void course_generate_collision_mesh ( void )

Also sets vertex colours for the course vtx data.

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

◆ course_update_water()

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

◆ func_80290C20()

s32 func_80290C20 ( Camera * camera)
Here is the caller graph for this function:

◆ func_80291198()

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

◆ func_802911C4()

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

◆ func_8029122C()

void func_8029122C ( struct UnkStruct_800DC5EC * arg0,
s32 playerId )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80295BF8()

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

◆ func_80295C6C()

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

◆ func_80295D50()

UNUSED void func_80295D50 ( s16 arg0,
s16 arg1 )

◆ func_80295D6C()

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

◆ func_802969F8()

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

◆ parse_course_displaylists()

void parse_course_displaylists ( uintptr_t addr)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_banshee_boardwalk()

void render_banshee_boardwalk ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_big_donut()

void render_big_donut ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_block_fort()

void render_block_fort ( UNUSED struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_bowsers_castle()

void render_bowsers_castle ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_choco_mountain()

void render_choco_mountain ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_course()

void render_course ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_course_credits()

void render_course_credits ( void )

The game has two versions of each course. One for normal gameplay and another for credits. The credits version is not split into segments so that the game camera can fly around the whole course.

Here is the caller graph for this function:

◆ render_course_segments()

void render_course_segments ( uintptr_t addr,
struct UnkStruct_800DC5EC * arg1 )
Todo
Should be Gfx*
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_dks_jungle_parkway()

void render_dks_jungle_parkway ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_double_deck()

void render_double_deck ( UNUSED struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_frappe_snowland()

void render_frappe_snowland ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_kalimari_desert()

void render_kalimari_desert ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_koopa_troopa_beach()

void render_koopa_troopa_beach ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_luigi_raceway()

void render_luigi_raceway ( struct UnkStruct_800DC5EC * arg0)

The jumbo television screen is split into six sections each section is copied one at a time. This is done to fit within the n64's texture size requirements; 64x32

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

◆ render_mario_raceway()

void render_mario_raceway ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_moo_moo_farm()

void render_moo_moo_farm ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_rainbow_road()

void render_rainbow_road ( UNUSED struct UnkStruct_800DC5EC * arg0)
Here is the caller graph for this function:

◆ render_royal_raceway()

void render_royal_raceway ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_sherbet_land()

void render_sherbet_land ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_skyscraper()

void render_skyscraper ( UNUSED struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_toads_turnpike()

void render_toads_turnpike ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_wario_stadium()

void render_wario_stadium ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ render_yoshi_valley()

void render_yoshi_valley ( struct UnkStruct_800DC5EC * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ currentScreenSection

s16 currentScreenSection = 0

◆ D_802B87B0

s16 D_802B87B0 = 995

◆ D_802B87B4

s16 D_802B87B4 = 1000

◆ D_802B87B8

UNUSED s32 D_802B87B8 = 0

◆ D_802B87BC

s32 D_802B87BC = 0

◆ D_802B87C0

UNUSED s32 D_802B87C0 = 0

◆ D_802B87C4

s32 D_802B87C4 = 0

◆ D_802B87C8

s32 D_802B87C8 = 0

◆ D_802B87CC

s32 D_802B87CC = 0

◆ D_802B87D0

s16 D_802B87D0 = 0

◆ D_802B87D4

s16 D_802B87D4 = 0

◆ isFlycam

u32 isFlycam
extern