2#include "sprite/player.h"
44 f32 posX, posY, posZ, depth;
45 f32 hitRx, hitRy, hitDirX, hitDirZ;
49 playerStatus->
flags &= ~PS_FLAG_ACTION_STATE_CHANGED;
64 posX = playerStatus->
pos.
x;
65 posY = playerStatus->
pos.
y;
66 posZ = playerStatus->
pos.
z;
68 playerStatus->
pos.
x = posX;
69 playerStatus->
pos.
z = posZ;
70 playerStatus->
pos.
y = posY;
79 if (MaxSlideVelocity <= playerStatus->curSpeed) {
82 posX = playerStatus->
pos.
x;
84 posZ = playerStatus->
pos.
z;
94 playerStatus->
pos.
y = posY;
111 posX = playerStatus->
pos.
x;
113 posZ = playerStatus->
pos.
z;
117 speed = playerStatus->
curSpeed / 3.0f;
122 if (playerStatus->
curSpeed <= 0.0f) {
128 playerStatus->
pos.
y = posY;
134 if (playerStatus->
curSpeed <= 0.0f) {
146 if (playerStatus->
curSpeed <= 0.0f) {
159 if (playerStatus->
curSpeed <= 0.0f) {
169 if (playerStatus->
curSpeed <= 0.0f) {
181 if (playerStatus->
curSpeed <= 0.0f) {
189 speed = playerStatus->
curSpeed / 3.0f;
194 if (playerStatus->
curSpeed <= 0.0f) {
void snd_stop_sound(s32 soundID)
SlideParams * slideParams
@ PS_FLAG_ACTION_STATE_CHANGED
@ COLLIDER_FLAGS_SURFACE_TYPE_MASK
@ PA_FLAG_INTERRUPT_USE_PARTNER
forces actions with bow, parakarry, watt, and lakilester to end (sushie not tested)
@ CAMERA_MOVE_IGNORE_PLAYER_Y
HitID player_raycast_below_cam_relative(PlayerStatus *playerStatus, f32 *outX, f32 *outY, f32 *outZ, f32 *outLength, f32 *hitRx, f32 *hitRz, f32 *hitDirX, f32 *hitDirZ)
void suggest_player_anim_always_forward(AnimID anim)
s32 get_collider_flags(s32 colliderID)
f32 player_check_collision_below(f32, s32 *colliderID)
void set_action_state(s32 actionState)
HitID player_test_move_with_slipping(PlayerStatus *playerStatus, f32 *posX, f32 *posY, f32 *posZ, f32 speed, f32 heading)
void suggest_player_anim_allow_backward(AnimID anim)
void sin_cos_rad(f32 rad, f32 *outSinTheta, f32 *outCosTheta)
f32 player_fall_distance(void)
void sfx_play_sound_at_player(s32 soundID, s32 arg1)
#define LOAD_INTEGRATOR_FALL(ptr)
void action_update_sliding(void)
BSS f32 SlideAcceleration
void func_802B6000_E27510(void)
CollisionStatus gCollisionStatus
PlayerStatus gPlayerStatus