X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_skate.h;h=0a29caa9b9b0f8fc14e9c2eedb7961db3a5b217d;hb=47a76e9a5151ef020e8554d805e313650718981f;hp=915d2aa5a7750b7885df0eebe60f912c85695ba2;hpb=d71f87252be197cec95e0b0458140112f75dc8b2;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_skate.h b/player_skate.h index 915d2aa..0a29caa 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; @@ -99,6 +101,8 @@ struct player_skate blend_airdir, blend_weight; + /* vectors representing the direction of the axels in localspace */ + v3f truckv0[2]; v2f wobble; /* @@ -116,6 +120,8 @@ struct player_skate v3f apex; v3f v; + float gravity; + int log_length; float score, land_dist; @@ -130,7 +136,7 @@ struct player_skate u32 colour; } - predictions[22]; + predictions[32]; u32 prediction_count; float land_dist; v3f land_normal;