Mario Kart 64
Loading...
Searching...
No Matches
code_80086E70.h File Reference
#include <common_structs.h>
#include "camera.h"
#include "objects.h"
Include dependency graph for code_80086E70.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void func_80086E70 (s32)
 
void func_80086EAC (s32, s32, s16)
 
void func_80086EF0 (s32)
 
void func_80086F10 (s32, s32, SplineData *)
 
void func_80086F60 (s32)
 
bool func_80086FA4 (s32)
 
void func_80086FD4 (s32)
 
void func_8008701C (s32, s32)
 
s32 func_80087060 (s32, s32)
 
s32 func_80087104 (s32, u16)
 
s32 func_800871AC (s32, s32)
 
void func_80087258 (s32, s32, f32)
 
s32 get_angle_between_player_object (s32, Player *)
 
s32 angle_between_object_camera (s32, Camera *)
 
u16 get_x_direction_angle (s32)
 
s32 get_y_direction_angle (s32)
 
void func_800873A4 (s32)
 
void func_800873F4 (s32)
 
void func_80087444 (s32)
 
void func_8008748C (s32)
 
void func_800874D4 (s32)
 
void func_8008751C (s32)
 
void func_8008757C (s32)
 
void func_80087620 (s32)
 
void func_800876A0 (s32)
 
void object_add_velocity_offset_xyz (s32)
 
void object_add_velocity_offset_xz (s32)
 
void object_add_velocity_offset_x (s32)
 
void object_add_velocity_offset_y (s32)
 
void object_add_velocity_offset_z (s32)
 
void func_8008781C (s32)
 
void func_80087844 (s32)
 
f32 func_8008786C (f32, f32, f32, f32, f32)
 
s32 func_8008789C (s32, s32)
 
s32 func_80087954 (s32, s32)
 
bool func_80087A0C (s32, s16, s16, s16, s16)
 
s32 func_80087B84 (s32, f32, f32)
 
s32 func_80087C48 (s32, f32, f32, s32)
 
s32 func_80087D24 (s32, f32, f32, f32)
 
bool func_80087E08 (s32, f32, f32, f32, s16, s32)
 
s32 func_80087F14 (s32, f32, f32, f32, s16, s32)
 
void func_80088038 (s32, f32, u16)
 
void func_800880DC (void)
 
void func_800880E4 (s32)
 
void func_80088150 (s32)
 
void func_80088178 (s32, s32)
 
void func_80088228 (s32)
 
s32 func_800882B0 (s32, s32)
 
void func_80088364 (s32)
 
void func_800883FC (s32)
 
s32 func_8008847C (s32)
 
s32 func_80088538 (s32)
 
s32 func_8008861C (s32)
 
void func_800886F4 (s32)
 
void func_800887C0 (s32)
 
s32 get_horizontal_distance_to_player (s32, Player *)
 Returns the distance between the object and the player.
 
s32 get_distance_to_player (s32, Player *)
 Returns the distance between the object and the player.
 
u32 get_horizontal_distance_to_camera (s32, Camera *)
 Returns the distance between the object and the camera.
 
s32 get_distance_to_camera (s32, Camera *)
 Returns the distance between the object and the camera.
 
bool is_within_horizontal_distance_of_player (s32, Player *, f32)
 Returns if the object is closer than the distance to the player.
 
s32 are_between_distance_2d (s32, Player *, f32, f32)
 
bool is_within_distance_to_player (s32, Player *, f32)
 Returns if the object is closer than the distance to the player.
 
bool is_within_horizontal_distance_to_camera (s32, Camera *, f32)
 Returns if the object is between the distance_min and distance_max to the camera.
 
UNUSED bool is_within_bounds_to_camera (s32, Camera *, f32, f32)
 Returns if the object is between the distance_min and distance_max to the camera.
 
bool is_within_distance_to_camera (s32, Camera *, f32)
 Returns if the object is closer than the distance to the camera.
 
bool has_collided_horizontally_with_player (s32, Player *)
 Returns if the object collided with the player.
 
bool has_collided_with_player (s32, Player *)
 Returns if the object collided with the player.
 
bool has_collided_with_player_1d (s32, Player *, f32)
 Returns if the object collided with the player.
 
bool has_collided_with_player_and_within_height (s32, Player *, f32)
 Returns if the object collided with the player and is closer than the distance in the y axis.
 
f32 func_80088F54 (s32, Player *)
 
UNUSED bool func_80088F94 (s32, Player *, f32)
 
void reset_player_speed_and_velocity (Player *)
 
void func_8008900C (Player *)
 
void func_80089020 (s32, f32 *)
 
void func_800892E0 (s32)
 
f32 func_8008933C (Player *, s32, f32, f32)
 
void func_80089474 (s32, s32, f32, f32, u32)
 
void func_80089538 (s32, s32, f32, f32, u32)
 
s32 func_800895E4 (s32)
 
void func_800896D4 (s32, f32, f32)
 
void func_80089820 (s32, f32, f32, u32)
 
void func_80089A04 (s32, f32, f32)
 
s32 func_80089B50 (s32)
 
s32 func_80089CBC (s32, f32)
 
s32 func_80089E18 (s32)
 
s32 func_80089F24 (s32)
 
s32 func_8008A060 (s32, Camera *, u16)
 
s32 func_8008A0B4 (s32, Player *, Camera *, u16)
 
bool is_object_visible_on_camera (s32, Camera *, u16)
 
void func_8008A1D0 (s32, s32, s32, s32)
 
void func_8008A2CC (s32, s32, u16)
 
s32 func_8008A364 (s32, s32, u16, s32)
 
void func_8008A454 (s32, s32, s32)
 
void func_8008A4CC (s32)
 
void func_8008A610 (s32)
 
void func_8008A6DC (s32, f32)
 
void func_8008A810 (s32)
 
void func_8008A830 (s32)
 
void func_8008A850 (s32)
 
s32 func_8008A870 (Player *)
 
s32 func_8008A890 (Camera *)
 
s32 are_players_in_course_section (s16, s16)
 
void func_8008A920 (s32)
 
void func_8008A9B8 (s32)
 
void func_8008AA3C (s32)
 
void func_8008AB10 (s32)
 
void func_8008ABC0 (s32)
 
void func_8008AC40 (s32)
 
void func_8008ACC0 (void)
 
void func_8008ACC8 (void)
 
void func_8008ACD0 (void)
 
void func_8008ACD8 (void)
 
void func_8008ACE0 (f32 *, f32)
 
void func_8008ADC0 (void)
 
void func_8008ADC8 (void)
 
void func_8008AE8C (void)
 
void func_8008AE94 (void)
 
void func_8008AE9C (s32)
 
void func_8008ADD0 (f32 *, f32)
 
void func_8008AFE0 (s32, f32)
 
void func_8008B018 (void)
 
void func_8008B020 (void)
 
void func_8008B028 (void)
 
void func_8008B030 (void)
 
void func_8008B038 (s32)
 
void func_8008B17C (s32, f32)
 
void func_8008B1B4 (void)
 
void func_8008B1BC (void)
 
void func_8008B1C4 (void)
 
void func_8008B1CC (void)
 
void func_8008B1D4 (s32)
 
void func_8008B284 (s32)
 
void func_8008B3E4 (s32)
 
void func_8008B44C (s32)
 
void func_8008B478 (s32, s32)
 
void func_8008B620 (s32)
 
void func_8008B6A4 (s32)
 
void func_8008B724 (s32)
 
void func_8008B78C (s32)
 
void set_obj_origin_pos (s32, f32, f32, f32)
 
void set_obj_origin_offset (s32, f32, f32, f32)
 
void func_8008B844 (s32)
 
void set_obj_direction_angle (s32, u16, u16, u16)
 
void set_obj_orientation (s32, u16, u16, u16)
 
void set_obj_velocity (s32, f32, f32, f32)
 
void func_8008B928 (s32, s16, s16, s16, SplineData *)
 
void object_origin_pos_randomize_around_x (s32, s16, u16)
 
void object_origin_pos_randomize_around_y (s32, s16, u16)
 
void object_origin_pos_randomize_around_z (s32, s16, u16)
 
void object_origin_pos_randomize_around_xy (s32, s16, s16, u16, u16)
 
void object_origin_pos_randomize_around_xz (s32, s16, s16, u16, u16)
 
void object_origin_pos_randomize_around_xyz (s32, s16, s16, s16, u16, u16, u16)
 
void object_origin_pos_around_player_one (s32, s16, u16)
 
void func_8008BEA4 (s32, u16, u16)
 
void func_8008BFC0 (s32)
 
void object_calculate_new_pos_offset (s32)
 
void func_8008BF64 (s32)
 
void func_8008BFFC (s32)
 
void func_8008C1B8 (s32)
 
void func_8008C1C0 (s32)
 

Variables

s16 gCurrentCourseId
 

Function Documentation

◆ angle_between_object_camera()

s32 angle_between_object_camera ( s32 objectIndex,
Camera * camera )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ are_between_distance_2d()

s32 are_between_distance_2d ( s32 ,
Player * ,
f32 ,
f32  )

◆ are_players_in_course_section()

s32 are_players_in_course_section ( s16 arg0,
s16 arg1 )

This function is used to avoid hefty collision checks if players are not near the actor

Todo
This is the easiest solution otherwise actors would not collide on custom courses.
Here is the caller graph for this function:

◆ func_80086E70()

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

◆ func_80086EAC()

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

◆ func_80086EF0()

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

◆ func_80086F10()

void func_80086F10 ( s32 objectIndex,
s32 arg1,
SplineData * spline )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80086F60()

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

◆ func_80086FA4()

bool func_80086FA4 ( s32 objectIndex)
Here is the caller graph for this function:

◆ func_80086FD4()

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

◆ func_8008701C()

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

◆ func_80087060()

s32 func_80087060 ( s32 objectIndex,
s32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80087104()

s32 func_80087104 ( s32 objectIndex,
u16 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800871AC()

s32 func_800871AC ( s32 objectIndex,
s32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80087258()

void func_80087258 ( s32 ,
s32 ,
f32  )

◆ func_800873A4()

void func_800873A4 ( s32 objectIndex)
Here is the call graph for this function:

◆ func_800873F4()

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

◆ func_80087444()

void func_80087444 ( s32 objectIndex)
Here is the call graph for this function:

◆ func_8008748C()

void func_8008748C ( s32 objectIndex)
Here is the call graph for this function:

◆ func_800874D4()

void func_800874D4 ( s32 objectIndex)
Here is the call graph for this function:

◆ func_8008751C()

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

◆ func_8008757C()

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

◆ func_80087620()

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

◆ func_800876A0()

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

◆ func_8008781C()

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

◆ func_80087844()

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

◆ func_8008786C()

f32 func_8008786C ( f32 arg0,
f32 arg1,
f32 arg2,
f32 arg3,
f32 arg4 )

◆ func_8008789C()

s32 func_8008789C ( s32 objectIndex,
s32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80087954()

s32 func_80087954 ( s32 objectIndex,
s32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80087A0C()

bool func_80087A0C ( s32 objectIndex,
s16 arg1,
s16 arg2,
s16 arg3,
s16 arg4 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80087B84()

s32 func_80087B84 ( s32 objectIndex,
f32 arg1,
f32 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80087C48()

s32 func_80087C48 ( s32 objectIndex,
f32 arg1,
f32 arg2,
s32 arg3 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80087D24()

s32 func_80087D24 ( s32 objectIndex,
f32 arg1,
f32 arg2,
f32 arg3 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80087E08()

bool func_80087E08 ( s32 objectIndex,
f32 arg1,
f32 arg2,
f32 arg3,
s16 arg4,
s32 arg5 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80087F14()

s32 func_80087F14 ( s32 objectIndex,
f32 arg1,
f32 arg2,
f32 arg3,
s16 arg4,
s32 arg5 )
Here is the call graph for this function:

◆ func_80088038()

void func_80088038 ( s32 objectIndex,
f32 arg1,
u16 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800880DC()

void func_800880DC ( void )

◆ func_800880E4()

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

◆ func_80088150()

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

◆ func_80088178()

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

◆ func_80088228()

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

◆ func_800882B0()

s32 func_800882B0 ( s32 objectIndex,
s32 arg1 )
Here is the caller graph for this function:

◆ func_80088364()

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

◆ func_800883FC()

void func_800883FC ( s32 objectIndex)
Here is the call graph for this function:

◆ func_8008847C()

s32 func_8008847C ( s32 objectIndex)
Here is the call graph for this function:

◆ func_80088538()

s32 func_80088538 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008861C()

s32 func_8008861C ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800886F4()

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

◆ func_800887C0()

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

◆ func_80088F54()

f32 func_80088F54 ( s32 objectIndex,
Player * player )
Here is the caller graph for this function:

◆ func_80088F94()

UNUSED bool func_80088F94 ( s32 objectIndex,
Player * player,
f32 arg2 )

◆ func_8008900C()

void func_8008900C ( Player * player)

◆ func_80089020()

void func_80089020 ( s32 playerId,
f32 * arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800892E0()

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

◆ func_8008933C()

f32 func_8008933C ( Player * player,
s32 objectIndex,
f32 arg2,
f32 arg3 )
Here is the caller graph for this function:

◆ func_80089474()

void func_80089474 ( s32 objectIndex,
s32 playerId,
f32 arg2,
f32 arg3,
u32 soundBits )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80089538()

void func_80089538 ( s32 objectIndex,
s32 playerId,
f32 arg2,
f32 arg3,
u32 soundBits )
Here is the call graph for this function:

◆ func_800895E4()

s32 func_800895E4 ( s32 objectIndex)
Here is the call graph for this function:

◆ func_800896D4()

void func_800896D4 ( s32 objectIndex,
f32 arg1,
f32 arg2 )
Here is the call graph for this function:

◆ func_80089820()

void func_80089820 ( s32 objectIndex,
f32 arg1,
f32 arg2,
u32 arg3 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80089A04()

void func_80089A04 ( s32 ,
f32 ,
f32  )

◆ func_80089B50()

s32 func_80089B50 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80089CBC()

s32 func_80089CBC ( s32 objectIndex,
f32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_80089E18()

s32 func_80089E18 ( s32 objectIndex)
Here is the call graph for this function:

◆ func_80089F24()

s32 func_80089F24 ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008A060()

s32 func_8008A060 ( s32 objectIndex,
Camera * camera,
u16 arg2 )
Warning
Always true
Here is the caller graph for this function:

◆ func_8008A0B4()

s32 func_8008A0B4 ( s32 objectIndex,
Player * player,
Camera * camera,
u16 arg3 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008A1D0()

void func_8008A1D0 ( s32 objectIndex,
s32 cameraId,
s32 arg2,
s32 arg3 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008A2CC()

void func_8008A2CC ( s32 objectIndex,
s32 cameraId,
u16 arg2 )
Here is the call graph for this function:

◆ func_8008A364()

s32 func_8008A364 ( s32 objectIndex,
s32 cameraId,
u16 arg2,
s32 arg3 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008A454()

void func_8008A454 ( s32 objectIndex,
s32 cameraId,
s32 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008A4CC()

void func_8008A4CC ( s32 )

◆ func_8008A610()

void func_8008A610 ( s32 objectIndex)
Here is the call graph for this function:

◆ func_8008A6DC()

void func_8008A6DC ( s32 objectIndex,
f32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008A810()

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

◆ func_8008A830()

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

◆ func_8008A850()

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

◆ func_8008A870()

s32 func_8008A870 ( Player * player)
Here is the call graph for this function:

◆ func_8008A890()

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

◆ func_8008A920()

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

◆ func_8008A9B8()

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

◆ func_8008AA3C()

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

◆ func_8008AB10()

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

◆ func_8008ABC0()

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

◆ func_8008AC40()

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

◆ func_8008ACC0()

void func_8008ACC0 ( void )

◆ func_8008ACC8()

void func_8008ACC8 ( void )

◆ func_8008ACD0()

void func_8008ACD0 ( void )

◆ func_8008ACD8()

void func_8008ACD8 ( void )

◆ func_8008ACE0()

void func_8008ACE0 ( f32 * ,
f32  )

◆ func_8008ADC0()

void func_8008ADC0 ( void )

◆ func_8008ADC8()

void func_8008ADC8 ( void )

◆ func_8008ADD0()

void func_8008ADD0 ( f32 * ,
f32  )

◆ func_8008AE8C()

void func_8008AE8C ( void )

◆ func_8008AE94()

void func_8008AE94 ( void )

◆ func_8008AE9C()

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

◆ func_8008AFE0()

void func_8008AFE0 ( s32 objectIndex,
f32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008B018()

void func_8008B018 ( void )

◆ func_8008B020()

void func_8008B020 ( void )

◆ func_8008B028()

void func_8008B028 ( void )

◆ func_8008B030()

void func_8008B030 ( void )

◆ func_8008B038()

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

◆ func_8008B17C()

void func_8008B17C ( s32 objectIndex,
f32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_8008B1B4()

void func_8008B1B4 ( void )

◆ func_8008B1BC()

void func_8008B1BC ( void )

◆ func_8008B1C4()

void func_8008B1C4 ( void )

◆ func_8008B1CC()

void func_8008B1CC ( void )

◆ func_8008B1D4()

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

◆ func_8008B284()

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

◆ func_8008B3E4()

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

◆ func_8008B44C()

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

◆ func_8008B478()

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

◆ func_8008B620()

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

◆ func_8008B6A4()

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

◆ func_8008B724()

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

◆ func_8008B78C()

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

◆ func_8008B844()

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

◆ func_8008B928()

void func_8008B928 ( s32 objectIndex,
s16 arg1,
s16 arg2,
s16 arg3,
SplineData * spline )
Here is the call graph for this function:

◆ func_8008BEA4()

void func_8008BEA4 ( s32 objectIndex,
u16 arg1,
u16 arg2 )
Here is the call graph for this function:

◆ func_8008BF64()

void func_8008BF64 ( s32 objectIndex)

◆ func_8008BFC0()

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

◆ func_8008BFFC()

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

◆ func_8008C1B8()

void func_8008C1B8 ( s32 )

◆ func_8008C1C0()

void func_8008C1C0 ( s32 )

◆ get_angle_between_player_object()

s32 get_angle_between_player_object ( s32 objectIndex,
Player * player )
Here is the call graph for this function:

◆ get_distance_to_camera()

s32 get_distance_to_camera ( s32 objectIndex,
Camera * camera )

Returns the distance between the object and the camera.

Parameters
objectIndex
camera
Returns
UNUSED

◆ get_distance_to_player()

s32 get_distance_to_player ( s32 objectIndex,
Player * player )

Returns the distance between the object and the player.

Parameters
objectIndex
player
Returns
UNUSED

◆ get_horizontal_distance_to_camera()

u32 get_horizontal_distance_to_camera ( s32 objectIndex,
Camera * camera )

Returns the distance between the object and the camera.

Parameters
objectIndex
camera
Returns
UNUSED
Here is the caller graph for this function:

◆ get_horizontal_distance_to_player()

s32 get_horizontal_distance_to_player ( s32 objectIndex,
Player * player )

Returns the distance between the object and the player.

Parameters
objectIndex
player
Returns
UNUSED

◆ get_x_direction_angle()

u16 get_x_direction_angle ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_y_direction_angle()

s32 get_y_direction_angle ( s32 objectIndex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ has_collided_horizontally_with_player()

bool has_collided_horizontally_with_player ( s32 objectIndex,
Player * player )

Returns if the object collided with the player.

Parameters
objectIndex
player
Returns
true
false
Here is the caller graph for this function:

◆ has_collided_with_player()

bool has_collided_with_player ( s32 objectIndex,
Player * player )

Returns if the object collided with the player.

Parameters
objectIndex
player
Returns
true
false
Here is the caller graph for this function:

◆ has_collided_with_player_1d()

bool has_collided_with_player_1d ( s32 objectIndex,
Player * player,
f32 distance )

Returns if the object collided with the player.

Parameters
objectIndex
player
distance
Returns
UNUSED

◆ has_collided_with_player_and_within_height()

bool has_collided_with_player_and_within_height ( s32 objectIndex,
Player * player,
f32 distance_y )

Returns if the object collided with the player and is closer than the distance in the y axis.

Parameters
objectIndex
player
distance_y
Returns
true
false
Here is the caller graph for this function:

◆ is_object_visible_on_camera()

bool is_object_visible_on_camera ( s32 objectIndex,
Camera * camera,
u16 angle )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_within_bounds_to_camera()

UNUSED bool is_within_bounds_to_camera ( s32 objectIndex,
Camera * camera,
f32 distance_min,
f32 distance_max )

Returns if the object is between the distance_min and distance_max to the camera.

Parameters
objectIndex
camera
distance_min
distance_max
Returns
UNUSED

◆ is_within_distance_to_camera()

bool is_within_distance_to_camera ( s32 objectIndex,
Camera * camera,
f32 distance )

Returns if the object is closer than the distance to the camera.

Parameters
objectIndex
camera
distance
Returns
UNUSED

◆ is_within_distance_to_player()

bool is_within_distance_to_player ( s32 objectIndex,
Player * player,
f32 distance )

Returns if the object is closer than the distance to the player.

Parameters
objectIndex
player
distance
Returns
true
false

◆ is_within_horizontal_distance_of_player()

bool is_within_horizontal_distance_of_player ( s32 objectIndex,
Player * player,
f32 distance )

Returns if the object is closer than the distance to the player.

Parameters
objectIndex
player
distance
Returns
true
false
Here is the caller graph for this function:

◆ is_within_horizontal_distance_to_camera()

bool is_within_horizontal_distance_to_camera ( s32 objectIndex,
Camera * camera,
f32 distance )

Returns if the object is between the distance_min and distance_max to the camera.

Parameters
objectIndex
camera
distance
Returns
true
false
Here is the caller graph for this function:

◆ object_add_velocity_offset_x()

void object_add_velocity_offset_x ( s32 objectIndex)

◆ object_add_velocity_offset_xyz()

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

◆ object_add_velocity_offset_xz()

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

◆ object_add_velocity_offset_y()

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

◆ object_add_velocity_offset_z()

void object_add_velocity_offset_z ( s32 objectIndex)

◆ object_calculate_new_pos_offset()

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

◆ object_origin_pos_around_player_one()

void object_origin_pos_around_player_one ( s32 objectIndex,
s16 dist,
u16 angle )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ object_origin_pos_randomize_around_x()

void object_origin_pos_randomize_around_x ( s32 objectIndex,
s16 x,
u16 arg2 )
Here is the call graph for this function:

◆ object_origin_pos_randomize_around_xy()

void object_origin_pos_randomize_around_xy ( s32 objectIndex,
s16 x,
s16 y,
u16 arg3,
u16 arg4 )
Here is the call graph for this function:

◆ object_origin_pos_randomize_around_xyz()

void object_origin_pos_randomize_around_xyz ( s32 objectIndex,
s16 x,
s16 y,
s16 z,
u16 arg4,
u16 arg5,
u16 arg6 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ object_origin_pos_randomize_around_xz()

void object_origin_pos_randomize_around_xz ( s32 objectIndex,
s16 x,
s16 z,
u16 arg3,
u16 arg4 )
Here is the call graph for this function:

◆ object_origin_pos_randomize_around_y()

void object_origin_pos_randomize_around_y ( s32 objectIndex,
s16 y,
u16 arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ object_origin_pos_randomize_around_z()

void object_origin_pos_randomize_around_z ( s32 objectIndex,
s16 z,
u16 arg2 )
Here is the call graph for this function:

◆ reset_player_speed_and_velocity()

void reset_player_speed_and_velocity ( Player * player)
Here is the caller graph for this function:

◆ set_obj_direction_angle()

void set_obj_direction_angle ( s32 objectIndex,
u16 arg1,
u16 arg2,
u16 arg3 )
Here is the caller graph for this function:

◆ set_obj_orientation()

void set_obj_orientation ( s32 objectIndex,
u16 arg1,
u16 arg2,
u16 arg3 )
Here is the caller graph for this function:

◆ set_obj_origin_offset()

void set_obj_origin_offset ( s32 objectIndex,
f32 arg1,
f32 arg2,
f32 arg3 )
Here is the caller graph for this function:

◆ set_obj_origin_pos()

void set_obj_origin_pos ( s32 objectIndex,
f32 arg1,
f32 arg2,
f32 arg3 )
Here is the caller graph for this function:

◆ set_obj_velocity()

void set_obj_velocity ( s32 objectIndex,
f32 arg1,
f32 arg2,
f32 arg3 )
Here is the caller graph for this function:

Variable Documentation

◆ gCurrentCourseId

s16 gCurrentCourseId
extern