|
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 | func_80282050 (Vec3f, Vec3f, s16) |
|
void | func_802820F8 (Vec3f, Vec3f, s16) |
|
s32 | f32_lerp (f32 *, f32, f32) |
|
s32 | func_80282200 (s16 *, s16, s16) |
|
s32 | set_transition_colour_fade_alpha_ending (f32 *, f32, f32) |
|
s32 | func_80282364 (s16 *, s16, s16) |
|
void | reset_spline (void) |
|
void | func_80282434 (struct CinematicCamera *) |
|
void | func_80282454 (Vec3f, Vec3f, f32 *, s16 *, s16 *) |
|
void | func_80282504 (Vec3f, Vec3f, f32, s16, s16) |
|
void | func_802825C8 (Vec3f, Vec3f, Vec3f, Vec3s) |
|
void | func_80282700 (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 | func_80282D90 (struct CinematicCamera *, struct struct_80286A04 *, struct struct_80286A04 *, s32) |
|
void | func_80282E58 (struct CinematicCamera *, struct struct_80282C40 *, s32) |
|
void | func_80282EAC (s32, struct CinematicCamera *, s16, s16, s16) |
|
void | func_80282F00 (s16 *, s16) |
|
void | func_80282F44 (s32, struct CinematicCamera *, Camera *) |
|
void | func_802830B4 (struct CinematicCamera *, s16, s16, s16) |
|
void | func_80283100 (struct CinematicCamera *, f32 *) |
|
void | func_80283240 (s16) |
|
s32 | cutscene_event (CameraEvent event, struct CinematicCamera *, s16, s16) |
|
s32 | func_80283330 (s32) |
|
s32 | func_8028336C (struct CinematicCamera *, Camera *) |
|
s32 | func_80283428 (void) |
|
void | func_80283968 (struct CinematicCamera *) |
|
void | func_80283994 (struct CinematicCamera *) |
|
void | func_802839B4 (struct CinematicCamera *) |
|
void | func_802839CC (struct CinematicCamera *) |
|
void | func_802839E0 (struct CinematicCamera *) |
|
void | play_sound_welcome (struct CinematicCamera *) |
|
void | func_80283A34 (struct CinematicCamera *) |
|
void | play_sound_congratulation (struct CinematicCamera *) |
|
void | play_sound_balloon_pop (struct CinematicCamera *) |
|
void | play_sound_fish (struct CinematicCamera *) |
|
void | play_sound_fish_2 (struct CinematicCamera *) |
|
void | play_sound_shoot_trophy (struct CinematicCamera *) |
|
void | play_sound_podium (struct CinematicCamera *) |
|
void | play_sound_trophy (struct CinematicCamera *) |
|
void | func_80283A54 (struct CinematicCamera *) |
|
void | func_80283A7C (struct CinematicCamera *) |
|
void | func_80283B6C (struct CinematicCamera *) |
|
void | func_80283BA4 (struct CinematicCamera *) |
|
void | func_80283BF0 (struct CinematicCamera *) |
|
void | func_80283C14 (struct CinematicCamera *) |
|
void | func_80283C38 (struct CinematicCamera *) |
|
void | func_80283C58 (struct CinematicCamera *) |
|
void | func_80283C78 (struct CinematicCamera *) |
|
void | func_80283CA8 (struct CinematicCamera *) |
|
void | func_80283CD0 (struct CinematicCamera *) |
|
void | play_sound_farewell (struct CinematicCamera *) |
|
void | func_80283D2C (struct CinematicCamera *) |
|
void | func_80283EA0 (struct CinematicCamera *) |
|
void | func_80283ED0 (struct CinematicCamera *) |
|
void | func_80283EF8 (struct CinematicCamera *) |
|
void | func_80283F6C (struct CinematicCamera *) |
|
void | func_80283FCC (struct CinematicCamera *) |
|
void | func_80283FF4 (struct CinematicCamera *) |
|
void | func_80284068 (struct CinematicCamera *) |
|
void | func_802840C8 (struct CinematicCamera *) |
|
void | func_80284154 (struct CinematicCamera *) |
|
void | func_80284184 (struct CinematicCamera *) |
|
void | func_802841E8 (struct CinematicCamera *) |
|
void | func_8028422C (struct CinematicCamera *) |
|
void | func_802842A8 (struct CinematicCamera *) |
|
void | func_802842D8 (struct CinematicCamera *) |
|
void | func_80284308 (struct CinematicCamera *) |
|
void | func_80284418 (struct CinematicCamera *) |
|
void | func_80284494 (struct CinematicCamera *) |
|
void | func_802844FC (struct CinematicCamera *) |
|
void | func_8028454C (struct CinematicCamera *) |
|
void | func_802845EC (struct CinematicCamera *) |
|
void | func_8028461C (struct CinematicCamera *) |
|
void | func_80284648 (struct CinematicCamera *) |
|
void | func_802846AC (void) |
|
void | func_802846B4 (struct CinematicCamera *) |
|
void | func_802846E4 (struct CinematicCamera *) |
|
void | func_802847CC (struct CinematicCamera *) |
|
void | play_cutscene (struct CinematicCamera *) |
|
void | 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.