4 #include "player_api.h"
15 k_skate_activity_ground
,
16 k_skate_activity_undefined
,
17 k_skate_activity_grind_any
,
18 k_skate_activity_grind_boardslide
,
19 k_skate_activity_grind_noseslide
,
20 k_skate_activity_grind_tailslide
,
21 k_skate_activity_grind_back50
,
22 k_skate_activity_grind_front50
,
23 k_skate_activity_grind_5050
42 v3f trick_vel
, /* measured in units of TAU/s */
43 trick_euler
; /* measured in units of TAU */
65 int charging_jump
, jump_dir
;
74 /* initial launch conditions */
84 struct skeleton_anim
*anim_stand
, *anim_highg
, *anim_slide
,
86 *anim_push
, *anim_push_reverse
,
87 *anim_ollie
, *anim_ollie_reverse
,
88 *anim_grabs
, *anim_stop
;
90 board_trick_residualv
,
91 board_trick_residuald
;
103 /* vectors representing the direction of the axels in localspace */
107 audio_channel
*aud_main
, *aud_slide
, *aud_air
;
108 enum mdl_surface_prop surface
, audio_surface
;
112 * ----------------------------------------------------
118 struct land_prediction
142 u32 prediction_count
;
151 u32 frames_since_activity_change
;
153 float grind_strength
;
164 VG_STATIC
void player__skate_bind ( player_instance
*player
);
165 VG_STATIC
void player__skate_pre_update ( player_instance
*player
);
166 VG_STATIC
void player__skate_update ( player_instance
*player
);
167 VG_STATIC
void player__skate_post_update ( player_instance
*player
);
168 VG_STATIC
void player__skate_im_gui ( player_instance
*player
);
169 VG_STATIC
void player__skate_animate ( player_instance
*player
,
170 player_animation
*anim
);
171 VG_STATIC
void player__skate_post_animate ( player_instance
*player
);
172 VG_STATIC
void player__skate_reset ( player_instance
*player
,
175 VG_STATIC
void player__skate_clear_mechanics( player_instance
*player
);
176 VG_STATIC
void player__skate_reset_animator( player_instance
*player
);
177 VG_STATIC
void player__approximate_best_trajectory( player_instance
*player
);
178 #endif /* PLAYER_SKATE_H */