projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
random
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_skate.h
diff --git
a/player_skate.h
b/player_skate.h
index c26e8459f08858b5b25d950fbf1281909a2852d1..0a29caa9b9b0f8fc14e9c2eedb7961db3a5b217d 100644
(file)
--- 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;
trick_euler; /* measured in units of TAU */
float trick_time;
+
+ float gravity_bias;
#if 0
m3x3f velocity_bias,
velocity_bias_pstep;
#if 0
m3x3f velocity_bias,
velocity_bias_pstep;
@@
-96,8
+98,11
@@
struct player_skate
blend_stand,
blend_push,
blend_jump,
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;
/*
v2f wobble;
/*
@@
-115,6
+120,8
@@
struct player_skate
v3f apex;
v3f v;
v3f apex;
v3f v;
+ float gravity;
+
int log_length;
float score,
land_dist;
int log_length;
float score,
land_dist;
@@
-129,7
+136,7
@@
struct player_skate
u32 colour;
}
u32 colour;
}
- predictions[
2
2];
+ predictions[
3
2];
u32 prediction_count;
float land_dist;
v3f land_normal;
u32 prediction_count;
float land_dist;
v3f land_normal;