Go to the source code of this file.
|
void | nullify_displaylist (uintptr_t) |
|
void | func_802AAAAC (Collision *) |
|
f32 | func_802AAB4C (Player *) |
|
s32 | func_802AAE4C (Collision *, f32, f32, f32, f32, u16) |
|
s32 | func_802AB288 (Collision *, f32, f32, f32, f32, u16) |
|
s32 | func_802AB6C4 (Collision *, f32, f32, f32, f32, u16) |
|
s8 | get_surface_type (u16) |
|
s16 | func_802ABD40 (u16) |
|
s16 | func_802ABD7C (u16) |
|
s16 | func_802ABDB8 (u16) |
|
s16 | func_802ABDF4 (u16) |
|
f32 | func_802ABE30 (f32, f32, f32, u16) |
|
f32 | func_802ABEAC (Collision *, Vec3f) |
|
void | process_shell_collision (Vec3f, f32, Vec3f, f32) |
|
u16 | process_collision (Player *, KartBoundingBoxCorner *, f32, f32, f32) |
|
void | func_802AC114 (Vec3f, f32, Vec3f, f32) |
|
s32 | func_802AC22C (KartBoundingBoxCorner *) |
|
u16 | func_802AD950 (Collision *, f32, f32, f32, f32, f32, f32, f32) |
|
u16 | func_802ADDC8 (Collision *, f32, f32, f32, f32) |
|
f32 | func_802AE1C0 (f32, f32, f32) |
|
void | set_vtx_buffer (uintptr_t, u32, u32) |
|
s32 | is_line_intersecting_rectangle (s16, s16, s16, s16, s16, s16, s16, s16) |
|
s32 | is_triangle_intersecting_bounding_box (s16, s16, s16, s16, u16) |
|
void | func_802AF314 (void) |
|
void | set_vertex_data_with_defaults (Gfx *) |
|
void | set_vertex_data_with_default_section_id (Gfx *, s8) |
|
void | find_and_set_vertex_data (Gfx *, s8, u16) |
|
void | find_and_set_tile_size (uintptr_t, s32, s32) |
|
void | set_vertex_colours (u32, u32, s32, s8, u8, u8, u8) |
|
void | find_vtx_and_set_colours (uintptr_t, s8, u8, u8, u8) |
|
void | subtract_scaled_vector (Vec3f, f32, Vec3f) |
|
◆ find_and_set_tile_size()
void find_and_set_tile_size |
( |
uintptr_t | addr, |
|
|
s32 | uls, |
|
|
s32 | ult ) |
Search for G_SETTILESIZE and set its args.
◆ find_and_set_vertex_data()
void find_and_set_vertex_data |
( |
Gfx * | addr, |
|
|
s8 | surfaceType, |
|
|
u16 | sectionId ) |
Recursive search and set for vertex data
◆ find_vtx_and_set_colours()
void find_vtx_and_set_colours |
( |
uintptr_t | displayList, |
|
|
s8 | alpha, |
|
|
u8 | red, |
|
|
u8 | green, |
|
|
u8 | blue ) |
Recursive search for vertices and set their colour values.
◆ func_802AAAAC()
◆ func_802AAB4C()
◆ func_802AAE4C()
◆ func_802AB288()
◆ func_802AB6C4()
◆ func_802ABD40()
s16 func_802ABD40 |
( |
u16 | index | ) |
|
◆ func_802ABD7C()
s16 func_802ABD7C |
( |
u16 | index | ) |
|
◆ func_802ABDB8()
s16 func_802ABDB8 |
( |
u16 | index | ) |
|
◆ func_802ABDF4()
s16 func_802ABDF4 |
( |
u16 | index | ) |
|
◆ func_802ABE30()
◆ func_802ABEAC()
◆ func_802AC114()
◆ func_802AC22C()
◆ func_802AD950()
◆ func_802ADDC8()
◆ func_802AE1C0()
◆ func_802AF314()
Appears to initialize some variables and struct members after course displaylists have been parsed.
- Bug
- possibly bug. Allocate memory but not increment the pointer. This is bad, dumb code, and more importantly it's bad dumb code that doesn't make any sense here. It is incremented after this function completes using a different variable. Not good.
◆ get_surface_type()
s8 get_surface_type |
( |
u16 | index | ) |
|
◆ is_line_intersecting_rectangle()
- Returns
- 1 intersecting triangle, 0 not intersecting.
◆ is_triangle_intersecting_bounding_box()
s32 is_triangle_intersecting_bounding_box |
( |
s16 | minX, |
|
|
s16 | maxX, |
|
|
s16 | minZ, |
|
|
s16 | maxZ, |
|
|
u16 | index ) |
◆ nullify_displaylist()
void nullify_displaylist |
( |
uintptr_t | addr | ) |
|
◆ process_collision()
◆ process_shell_collision()
◆ set_vertex_colours()
◆ set_vertex_data_with_default_section_id()
void set_vertex_data_with_default_section_id |
( |
Gfx * | gfx, |
|
|
s8 | surfaceType ) |
Recursive search for vtx and set sectionId's to 0xFF
◆ set_vertex_data_with_defaults()
void set_vertex_data_with_defaults |
( |
Gfx * | gfx | ) |
|
Recursive search for vtx and set surfaceTypes to -1 and sectionId's to 0xFF
◆ set_vtx_buffer()
void set_vtx_buffer |
( |
uintptr_t | addr, |
|
|
u32 | numVertices, |
|
|
u32 | bufferIndex ) |
Generates a list of pointers to course vtx.
◆ subtract_scaled_vector()