fix quality profile water/shadows
[carveJwlIkooP6JGAAIwe30JlM.git] / player_walk.h
index 2e5101c774d767e16552b23ce3079d7c2ee2f91f..95ce2a0414e55ee7976e684933ff97575bac40c8 100644 (file)
@@ -3,7 +3,7 @@
 
 #include "player.h"
 #include "player_api.h"
-#include "rigidbody.h"
+#include "vg/vg_rigidbody.h"
 
 #define PLAYER_JUMP_EPSILON 0.1     /* 100ms jump allowance */
 
@@ -43,6 +43,7 @@ struct player_walk{
 
       f32 walk_timer;
       int step_phase;
+      v3f steer;
    }
    state;
 
@@ -107,8 +108,7 @@ static void player__walk_bind        (void);
 static void player__walk_reset       (void);
 static void player__walk_restore     (void);
 static void player__walk_animator_exchange( bitpack_ctx *ctx, void *data );
-static void player__walk_transition( enum walk_activity activity, 
-                                     f32 board_yaw );
+static void player__walk_transition( bool grounded, f32 board_yaw );
 
 struct player_subsystem_interface static player_subsystem_walk = {
    .system_register = player__walk_register,