projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add jumping
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player.h
diff --git
a/player.h
b/player.h
index 25054e03f38db5040af9c9437364e99d9a4adc71..57a862817038bb5bf798118617d42a3ed45d2589 100644
(file)
--- a/
player.h
+++ b/
player.h
@@
-27,6
+27,7
@@
static float
k_steer_air_lerp = 0.3f,
k_pump_force = 0.0f,
k_downforce = 5.0f,
k_steer_air_lerp = 0.3f,
k_pump_force = 0.0f,
k_downforce = 5.0f,
+ k_walk_downforce = 8.0f,
k_jump_charge_speed = (1.0f/1.0f),
k_jump_force = 5.0f,
k_pitch_limit = 1.5f,
k_jump_charge_speed = (1.0f/1.0f),
k_jump_force = 5.0f,
k_pitch_limit = 1.5f,
@@
-113,7
+114,8
@@
static struct gplayer
*anim_push, *anim_push_reverse,
*anim_ollie, *anim_ollie_reverse,
*anim_grabs, *anim_stop,
*anim_push, *anim_push_reverse,
*anim_ollie, *anim_ollie_reverse,
*anim_grabs, *anim_stop,
- *anim_walk, *anim_run, *anim_idle;
+ *anim_walk, *anim_run, *anim_idle,
+ *anim_jump;
u32 id_hip,
id_ik_hand_l,
u32 id_hip,
id_ik_hand_l,