#include "player_api.h"
+#define SKATE_CCD
+
struct player_skate
{
struct
activity,
activity_prev;
- float steery,
+ float /* steery,
steerx,
steery_s,
- steerx_s,
+ steerx_s, */
reverse,
slip;
+ int manual_direction;
+
+ /* tricks */
v3f flip_axis;
float flip_time,
flip_rate;
+ v3f trick_vel, /* measured in units of TAU/s */
+ trick_euler; /* measured in units of TAU */
+ float trick_time;
+
m3x3f velocity_bias,
velocity_bias_pstep;
v3f apex;
*anim_push, *anim_push_reverse,
*anim_ollie, *anim_ollie_reverse,
*anim_grabs, *anim_stop;
- rb_sphere sphere_front, sphere_back;
- v3f board_offset;
+ v3f board_offset,
+ board_trick_residualv,
+ board_trick_residuald;
v4f board_rotation;
float blend_slide,
blend_jump,
blend_airdir;
+ float substep,
+ substep_delta;
+
v2f wobble;
float debug_normal_pressure;