X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=player_skate.h;h=1429ff04a04c7a16c7b17c5a9c12ac7b4d045060;hb=1e62339d8fb24596eed19b75bde2ef452bd37938;hp=b529a4811cb31fb151fdc531abf3db2e4f76c7f0;hpb=fdb2376a03749b901ff83f28be54b6dd6caf4b72;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/player_skate.h b/player_skate.h index b529a48..1429ff0 100644 --- a/player_skate.h +++ b/player_skate.h @@ -37,6 +37,13 @@ struct player_skate{ v3f trick_vel, /* measured in units of TAU/s */ trick_euler; /* measured in units of TAU */ float trick_time; + enum trick_type{ + k_trick_type_none, + k_trick_type_kickflip, + k_trick_type_shuvit, + k_trick_type_treflip + } + trick_type; float gravity_bias; v3f up_dir; @@ -89,6 +96,7 @@ struct player_skate{ blend_jump, blend_airdir, blend_weight, + blend_trick_foot, subslap; /* vectors representing the direction of the axels in localspace */