Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Functions
mario_actions_airborne.c File Reference
#include <ultra64.h>
#include "sm64.h"
#include "area.h"
#include "level_update.h"
#include "engine/math_util.h"
#include "interaction.h"
#include "mario.h"
#include "mario_step.h"
#include "display.h"
#include "camera.h"
#include "save_file.h"
#include "audio/external.h"
#include "engine/graph_node.h"

Functions

void play_flip_sounds (struct MarioState *m, s16 frame1, s16 frame2, s16 frame3)
 
void play_far_fall_sound (struct MarioState *m)
 
void func_u_8026A090 (struct MarioState *m)
 
s32 lava_boost_on_wall (struct MarioState *m)
 
s32 check_fall_damage (struct MarioState *m, u32 hardFallAction)
 
s32 check_kick_or_dive_in_air (struct MarioState *m)
 
s32 should_get_stuck_in_ground (struct MarioState *m)
 
s32 check_fall_damage_or_get_stuck (struct MarioState *m, u32 hardFallAction)
 
s32 check_horizontal_wind (struct MarioState *m)
 
void update_air_with_turn (struct MarioState *m)
 
void update_air_without_turn (struct MarioState *m)
 
void update_lava_boost_or_twirling (struct MarioState *m)
 
void update_flying_yaw (struct MarioState *m)
 
void update_flying_pitch (struct MarioState *m)
 
void update_flying (struct MarioState *m)
 
u32 common_air_action_step (struct MarioState *m, u32 landAction, s32 animation, u32 stepArg)
 
s32 act_jump (struct MarioState *m)
 
s32 act_double_jump (struct MarioState *m)
 
s32 act_triple_jump (struct MarioState *m)
 
s32 act_backflip (struct MarioState *m)
 
s32 act_freefall (struct MarioState *m)
 
s32 act_hold_jump (struct MarioState *m)
 
s32 act_hold_freefall (struct MarioState *m)
 
s32 act_side_flip (struct MarioState *m)
 
s32 act_wall_kick_air (struct MarioState *m)
 
s32 act_long_jump (struct MarioState *m)
 
s32 act_riding_shell_air (struct MarioState *m)
 
s32 act_twirling (struct MarioState *m)
 
s32 act_dive (struct MarioState *m)
 
s32 act_air_throw (struct MarioState *m)
 
s32 act_water_jump (struct MarioState *m)
 
s32 act_hold_water_jump (struct MarioState *m)
 
s32 act_steep_jump (struct MarioState *m)
 
s32 act_ground_pound (struct MarioState *m)
 
s32 act_burning_jump (struct MarioState *m)
 
s32 act_burning_fall (struct MarioState *m)
 
s32 act_crazy_box_bounce (struct MarioState *m)
 
u32 common_air_knockback_step (struct MarioState *m, u32 landAction, u32 hardFallAction, s32 animation, f32 speed)
 
s32 func_8026CDFC (struct MarioState *m)
 
s32 act_backward_air_kb (struct MarioState *m)
 
s32 act_forward_air_kb (struct MarioState *m)
 
s32 act_hard_backward_air_kb (struct MarioState *m)
 
s32 act_hard_forward_air_kb (struct MarioState *m)
 
s32 act_thrown_backward (struct MarioState *m)
 
s32 act_thrown_forward (struct MarioState *m)
 
s32 act_soft_bonk (struct MarioState *m)
 
s32 act_getting_blown (struct MarioState *m)
 
s32 act_air_hit_wall (struct MarioState *m)
 
s32 act_forward_rollout (struct MarioState *m)
 
s32 act_backward_rollout (struct MarioState *m)
 
s32 act_butt_slide_air (struct MarioState *m)
 
s32 act_hold_butt_slide_air (struct MarioState *m)
 
s32 act_lava_boost (struct MarioState *m)
 
s32 act_slide_kick (struct MarioState *m)
 
s32 act_jump_kick (struct MarioState *m)
 
s32 act_shot_from_cannon (struct MarioState *m)
 
s32 act_flying (struct MarioState *m)
 
s32 act_riding_hoot (struct MarioState *m)
 
s32 act_flying_triple_jump (struct MarioState *m)
 
s32 act_top_of_pole_jump (struct MarioState *m)
 
s32 act_vertical_wind (struct MarioState *m)
 
s32 act_special_triple_jump (struct MarioState *m)
 
s32 check_common_airborne_cancels (struct MarioState *m)
 
s32 mario_execute_airborne_action (struct MarioState *m)
 

Function Documentation

◆ act_air_hit_wall()

s32 act_air_hit_wall ( struct MarioState m)

Missing return statement. The returned value is the result of the call

◆ act_air_throw()

s32 act_air_throw ( struct MarioState m)

◆ act_backflip()

s32 act_backflip ( struct MarioState m)

◆ act_backward_air_kb()

s32 act_backward_air_kb ( struct MarioState m)

◆ act_backward_rollout()

s32 act_backward_rollout ( struct MarioState m)

◆ act_burning_fall()

s32 act_burning_fall ( struct MarioState m)

◆ act_burning_jump()

s32 act_burning_jump ( struct MarioState m)

◆ act_butt_slide_air()

s32 act_butt_slide_air ( struct MarioState m)

◆ act_crazy_box_bounce()

s32 act_crazy_box_bounce ( struct MarioState m)

◆ act_dive()

s32 act_dive ( struct MarioState m)

◆ act_double_jump()

s32 act_double_jump ( struct MarioState m)

◆ act_flying()

s32 act_flying ( struct MarioState m)

◆ act_flying_triple_jump()

s32 act_flying_triple_jump ( struct MarioState m)

◆ act_forward_air_kb()

s32 act_forward_air_kb ( struct MarioState m)

◆ act_forward_rollout()

s32 act_forward_rollout ( struct MarioState m)

◆ act_freefall()

s32 act_freefall ( struct MarioState m)

◆ act_getting_blown()

s32 act_getting_blown ( struct MarioState m)

◆ act_ground_pound()

s32 act_ground_pound ( struct MarioState m)

◆ act_hard_backward_air_kb()

s32 act_hard_backward_air_kb ( struct MarioState m)

◆ act_hard_forward_air_kb()

s32 act_hard_forward_air_kb ( struct MarioState m)

◆ act_hold_butt_slide_air()

s32 act_hold_butt_slide_air ( struct MarioState m)

◆ act_hold_freefall()

s32 act_hold_freefall ( struct MarioState m)

◆ act_hold_jump()

s32 act_hold_jump ( struct MarioState m)

◆ act_hold_water_jump()

s32 act_hold_water_jump ( struct MarioState m)

◆ act_jump()

s32 act_jump ( struct MarioState m)

◆ act_jump_kick()

s32 act_jump_kick ( struct MarioState m)

◆ act_lava_boost()

s32 act_lava_boost ( struct MarioState m)

◆ act_long_jump()

s32 act_long_jump ( struct MarioState m)

◆ act_riding_hoot()

s32 act_riding_hoot ( struct MarioState m)

◆ act_riding_shell_air()

s32 act_riding_shell_air ( struct MarioState m)

◆ act_shot_from_cannon()

s32 act_shot_from_cannon ( struct MarioState m)

◆ act_side_flip()

s32 act_side_flip ( struct MarioState m)

◆ act_slide_kick()

s32 act_slide_kick ( struct MarioState m)

◆ act_soft_bonk()

s32 act_soft_bonk ( struct MarioState m)

◆ act_special_triple_jump()

s32 act_special_triple_jump ( struct MarioState m)

◆ act_steep_jump()

s32 act_steep_jump ( struct MarioState m)

◆ act_thrown_backward()

s32 act_thrown_backward ( struct MarioState m)

◆ act_thrown_forward()

s32 act_thrown_forward ( struct MarioState m)

◆ act_top_of_pole_jump()

s32 act_top_of_pole_jump ( struct MarioState m)

◆ act_triple_jump()

s32 act_triple_jump ( struct MarioState m)

◆ act_twirling()

s32 act_twirling ( struct MarioState m)

◆ act_vertical_wind()

s32 act_vertical_wind ( struct MarioState m)

◆ act_wall_kick_air()

s32 act_wall_kick_air ( struct MarioState m)

◆ act_water_jump()

s32 act_water_jump ( struct MarioState m)

◆ check_common_airborne_cancels()

s32 check_common_airborne_cancels ( struct MarioState m)

◆ check_fall_damage()

s32 check_fall_damage ( struct MarioState m,
u32  hardFallAction 
)

Never true

◆ check_fall_damage_or_get_stuck()

s32 check_fall_damage_or_get_stuck ( struct MarioState m,
u32  hardFallAction 
)

◆ check_horizontal_wind()

s32 check_horizontal_wind ( struct MarioState m)

This was meant to be 48?

◆ check_kick_or_dive_in_air()

s32 check_kick_or_dive_in_air ( struct MarioState m)

◆ common_air_action_step()

u32 common_air_action_step ( struct MarioState m,
u32  landAction,
s32  animation,
u32  stepArg 
)

◆ common_air_knockback_step()

u32 common_air_knockback_step ( struct MarioState m,
u32  landAction,
u32  hardFallAction,
s32  animation,
f32  speed 
)

◆ func_8026CDFC()

s32 func_8026CDFC ( struct MarioState m)

◆ func_u_8026A090()

void func_u_8026A090 ( struct MarioState m)

◆ lava_boost_on_wall()

s32 lava_boost_on_wall ( struct MarioState m)

◆ mario_execute_airborne_action()

s32 mario_execute_airborne_action ( struct MarioState m)

◆ play_far_fall_sound()

void play_far_fall_sound ( struct MarioState m)

◆ play_flip_sounds()

void play_flip_sounds ( struct MarioState m,
s16  frame1,
s16  frame2,
s16  frame3 
)

◆ should_get_stuck_in_ground()

s32 should_get_stuck_in_ground ( struct MarioState m)

◆ update_air_with_turn()

void update_air_with_turn ( struct MarioState m)

Uncapped air speed. Net positive when moving forward.

◆ update_air_without_turn()

void update_air_without_turn ( struct MarioState m)

Uncapped air speed. Net positive when moving forward.

◆ update_flying()

void update_flying ( struct MarioState m)

◆ update_flying_pitch()

void update_flying_pitch ( struct MarioState m)

◆ update_flying_yaw()

void update_flying_yaw ( struct MarioState m)

◆ update_lava_boost_or_twirling()

void update_lava_boost_or_twirling ( struct MarioState m)