projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
server version check
[carveJwlIkooP6JGAAIwe30JlM.git]
/
player_walk.h
diff --git
a/player_walk.h
b/player_walk.h
index 80cf5a9918e581f6c867768d85a709e1125f1af9..a8dd9facd0dc526d2fecf94e1adac836fe37de11 100644
(file)
--- a/
player_walk.h
+++ b/
player_walk.h
@@
-34,7
+34,8
@@
struct player_walk{
k_walk_outro_none,
k_walk_outro_jump_to_air,
k_walk_outro_drop_in,
k_walk_outro_none,
k_walk_outro_jump_to_air,
k_walk_outro_drop_in,
- k_walk_outro_regular
+ k_walk_outro_regular,
+ k_walk_outro_max
}
outro_type;
double outro_start_time;
}
outro_type;
double outro_start_time;
@@
-81,7
+82,10
@@
static f32
k_walk_accel = 10.0f,
k_walk_air_accel = 7.0f,
k_walk_friction = 10.0f,
k_walk_accel = 10.0f,
k_walk_air_accel = 7.0f,
k_walk_friction = 10.0f,
- k_walk_step_height = 0.2f;
+ k_walk_step_height = 0.2f,
+
+ k_sit_yaw_limit = VG_PIf/1.7f,
+ k_sit_pitch_limit = VG_PIf/4.0f;
static void player__walk_register(void){
VG_VAR_F32( k_walkspeed, flags=VG_VAR_CHEAT );
static void player__walk_register(void){
VG_VAR_F32( k_walkspeed, flags=VG_VAR_CHEAT );