X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_walk.h;h=d422e752b44c008a4c9ce9c9419c870ae8363f18;hb=4b8fc63f926737ca0593a4e471550f9f4995c538;hp=3dcdbd8001bbbe14a2fe634ac3431eba81ee6d54;hpb=3e59ac7081ea3005060b56449bc77c8f73cdc6b6;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_walk.h b/player_walk.h index 3dcdbd8..d422e75 100644 --- a/player_walk.h +++ b/player_walk.h @@ -38,13 +38,13 @@ struct player_walk{ int jump_queued; f64 jump_input_time; + + f32 walk_timer; + int step_phase; } state; - f32 move_speed, - walk_timer; - - int step_phase; + f32 move_speed; enum mdl_surface_prop surface; struct skeleton_anim *anim_walk, *anim_run, *anim_idle, *anim_jump, @@ -57,6 +57,8 @@ struct player_walk{ run, walk; + f32 walk_timer; + v3f foot_anchor; enum walk_outro outro_type; f32 outro_t,