projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
foot animation for ticks
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_skate.h
diff --git
a/player_skate.h
b/player_skate.h
index b529a4811cb31fb151fdc531abf3db2e4f76c7f0..1429ff04a04c7a16c7b17c5a9c12ac7b4d045060 100644
(file)
--- 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;
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;
float gravity_bias;
v3f up_dir;
@@
-89,6
+96,7
@@
struct player_skate{
blend_jump,
blend_airdir,
blend_weight,
blend_jump,
blend_airdir,
blend_weight,
+ blend_trick_foot,
subslap;
/* vectors representing the direction of the axels in localspace */
subslap;
/* vectors representing the direction of the axels in localspace */