X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_skate.h;h=4c8bbd4afc83d93fdaf23e6226d41e2dce44fd21;hb=34a8df54eb962f3ad2e036355041f5bc5cabe5a0;hp=e54754e570f5bf61fda3bb6a01066fbf6868c36a;hpb=5057afb71329100ab0cfb8cad3862c364637feb3;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_skate.h b/player_skate.h index e54754e..4c8bbd4 100644 --- a/player_skate.h +++ b/player_skate.h @@ -43,6 +43,8 @@ struct player_skate trick_euler; /* measured in units of TAU */ float trick_time; + + float gravity_bias; #if 0 m3x3f velocity_bias, velocity_bias_pstep; @@ -50,7 +52,6 @@ struct player_skate #endif v3f up_dir; - v3f head_position; int lift_frames; @@ -96,8 +97,11 @@ struct player_skate blend_stand, blend_push, blend_jump, - blend_airdir; + blend_airdir, + blend_weight; + /* vectors representing the direction of the axels in localspace */ + v3f truckv0[2]; v2f wobble; /* @@ -115,6 +119,8 @@ struct player_skate v3f apex; v3f v; + float gravity; + int log_length; float score, land_dist; @@ -129,7 +135,7 @@ struct player_skate u32 colour; } - predictions[22]; + predictions[32]; u32 prediction_count; float land_dist; v3f land_normal; @@ -139,6 +145,8 @@ struct player_skate grind_vec, grind_dir; + u32 frames_since_activity_change; + float grind_strength; struct grind_limit