shits fucked
[carveJwlIkooP6JGAAIwe30JlM.git] / player_skate.h
index 1833062d0bef5939966d2878f461c13cd30031c6..11c66e9d203ccc2c4493613cf289664eae8328e2 100644 (file)
@@ -3,6 +3,8 @@
 
 #include "player_api.h"
 
+#define SKATE_CCD
+
 struct player_skate
 {
    struct
@@ -16,13 +18,15 @@ struct player_skate
       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,
@@ -35,6 +39,9 @@ struct player_skate
       m3x3f velocity_bias,
             velocity_bias_pstep;
       v3f apex;
+      v3f up_dir;
+
+      v3f head_position;
 
       int lift_frames;
 
@@ -86,7 +93,6 @@ struct player_skate
                         *anim_push,  *anim_push_reverse,
                         *anim_ollie, *anim_ollie_reverse,
                         *anim_grabs, *anim_stop;
-   rb_sphere sphere_front, sphere_back;
    v3f board_offset,
        board_trick_residualv,
        board_trick_residuald;
@@ -101,6 +107,9 @@ struct player_skate
          blend_jump,
          blend_airdir;
 
+   float substep,
+         substep_delta;
+
    v2f wobble;
 
    float debug_normal_pressure;