|
void | init_cinematic_camera (void) |
|
s32 | func_80283648 (Camera *) |
|
void | vec3f_set_dupe (Vec3f, f32, f32, f32) |
|
void | vec3s_set_dupe (Vec3s, s16, s16, s16) |
|
void | vec3f_clear (Vec3f) |
|
void | vec3s_clear (Vec3s) |
|
void | vec3f_copy_return_dupe (Vec3f, Vec3f) |
|
void | vec3s_copy_dupe (Vec3s, Vec3s) |
|
void | func_80282040 (void) |
|
void | func_80282048 (void) |
|
void | rotate_y_vec3f (Vec3f, Vec3f, s16) |
|
void | rotate_x_vec3f (Vec3f, Vec3f, s16) |
|
s32 | f32_lerp (f32 *, f32, f32) |
|
s32 | ease_out_transition (s16 *, s16, s16) |
|
s32 | adjust_f32_value_transition (f32 *, f32, f32) |
|
s32 | adjust_s16_value_transition (s16 *, s16, s16) |
|
void | reset_spline (void) |
|
void | reset_spline_wrap (CinematicCamera *) |
|
void | calculate_distance_angle_y_and_angle_y_to_xz (Vec3f, Vec3f, f32 *, s16 *, s16 *) |
|
void | apply_distance_angle_y_and_angle_y_to_xz (Vec3f, Vec3f, f32, s16, s16) |
|
void | aborting_cinematic_function (Vec3f, Vec3f, Vec3f, Vec3s) |
|
void | evaluate_cubic_spline (f32, Vec3f, f32 *, f32[], f32[], f32[], f32[]) |
|
s32 | move_point_along_spline (Vec3f, f32 *, struct struct_80283430[], s16 *, f32 *) |
|
void | func_80282BE4 (struct struct_80283430 *, s8, u8, s8, Vec3s, s32) |
|
void | func_80282C40 (struct struct_80283430 *, struct struct_80282C40 *, s32) |
|
s32 | move_cinematic_camera_along_spline (CinematicCamera *, struct struct_80286A04 *, struct struct_80286A04 *, s32) |
|
void | func_80282E58 (CinematicCamera *, struct struct_80282C40 *, s32) |
|
void | func_80282EAC (s32, CinematicCamera *, s16, s16, s16) |
|
void | func_80282F00 (s16 *, s16) |
|
void | func_80282F44 (s32, CinematicCamera *, Camera *) |
|
void | func_802830B4 (CinematicCamera *, s16, s16, s16) |
|
void | func_80283100 (CinematicCamera *, f32 *) |
|
void | func_80283240 (s16) |
|
s32 | cutscene_event (CameraEvent event, CinematicCamera *, s16, s16) |
|
s32 | func_80283330 (s32) |
|
s32 | func_8028336C (CinematicCamera *, Camera *) |
|
s32 | cinematic_stub (void) |
|
void | wrap_func_8028100C (CinematicCamera *) |
|
void | wrap_func_80280FFC (CinematicCamera *) |
|
void | animation_apears_sliding_borders (CinematicCamera *) |
|
void | animation_disapears_sliding_borders (CinematicCamera *) |
|
void | wrap_func_80092C80 (CinematicCamera *) |
|
void | play_sound_welcome (CinematicCamera *) |
|
void | wrap_func_800CA0CC (CinematicCamera *) |
|
void | play_sound_congratulation (CinematicCamera *) |
|
void | play_sound_balloon_pop (CinematicCamera *) |
|
void | play_sound_fish (CinematicCamera *) |
|
void | play_sound_fish_2 (CinematicCamera *) |
|
void | play_sound_shoot_trophy (CinematicCamera *) |
|
void | play_sound_podium (CinematicCamera *) |
|
void | play_sound_trophy (CinematicCamera *) |
|
void | func_80283A54 (CinematicCamera *) |
|
void | func_80283A7C (CinematicCamera *) |
|
void | func_80283B6C (CinematicCamera *) |
|
void | func_80283BA4 (CinematicCamera *) |
|
void | func_80283BF0 (CinematicCamera *) |
|
void | func_80283C14 (CinematicCamera *) |
|
void | wrap_func_800CB134 (CinematicCamera *) |
|
void | wrap_func_800CB14C (CinematicCamera *) |
|
void | func_80283C78 (CinematicCamera *) |
|
void | func_80283CA8 (CinematicCamera *) |
|
void | func_80283CD0 (CinematicCamera *) |
|
void | play_sound_farewell (CinematicCamera *) |
|
void | func_80283D2C (CinematicCamera *) |
|
void | func_80283EA0 (CinematicCamera *) |
|
void | copy_player_two_in_camera (CinematicCamera *) |
|
void | lerp_player_two_in_camera (CinematicCamera *) |
|
void | func_80283F6C (CinematicCamera *) |
|
void | copy_player_three_in_camera (CinematicCamera *) |
|
void | lerp_player_three_in_camera (CinematicCamera *) |
|
void | func_80284068 (CinematicCamera *) |
|
void | func_802840C8 (CinematicCamera *) |
|
void | func_80284154 (CinematicCamera *) |
|
void | func_80284184 (CinematicCamera *) |
|
void | func_802841E8 (CinematicCamera *) |
|
void | func_8028422C (CinematicCamera *) |
|
void | func_802842A8 (CinematicCamera *) |
|
void | func_802842D8 (CinematicCamera *) |
|
void | func_80284308 (CinematicCamera *) |
|
void | func_80284418 (CinematicCamera *) |
|
void | func_80284494 (CinematicCamera *) |
|
void | func_802844FC (CinematicCamera *) |
|
void | func_8028454C (CinematicCamera *) |
|
void | func_802845EC (CinematicCamera *) |
|
void | func_8028461C (CinematicCamera *) |
|
void | func_80284648 (CinematicCamera *) |
|
void | func_802846AC (void) |
|
void | func_802846B4 (CinematicCamera *) |
|
void | func_802846E4 (CinematicCamera *) |
|
void | func_802847CC (CinematicCamera *) |
|
void | play_cutscene (CinematicCamera *) |
|
void | ceremony_transition_sliding_borders (void) |
|
Computes the point that is progress
percent of the way through segment splineSegment
of spline
, and stores the result in p
. progress
and splineSegment
are updated if progress
becomes >= 1.0.
When neither of the next two points' speeds == 0, the number of frames is between 1 and 255. Otherwise it's infinite.
To calculate the number of frames it will take to progress through a spline segment: If the next two speeds are the same and nonzero, it's 1.0 / firstSpeed.
s1 and s2 are short hand for first/secondSpeed. The progress at any frame n is defined by a recurrency relation: p(n+1) = (s2 - s1 + 1) * p(n) + s1 Which can be written as p(n) = (s2 * ((s2 - s1 + 1)^(n) - 1)) / (s2 - s1)
Solving for the number of frames: n = log(((s2 - s1) / s1) + 1) / log(s2 - s1 + 1)
- Returns
- 1 if the point has reached the end of the spline, when
progress
reaches 1.0 or greater, and the 4th CutsceneSplinePoint in the current segment away from spline[splineSegment] has an index of -1.