projects
/
carveJwlIkooP6JGAAIwe30JlM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
plish
[carveJwlIkooP6JGAAIwe30JlM.git]
/
common.h
diff --git
a/common.h
b/common.h
index d70ae0308b4667539e4ce5854402044ef3be39b8..79ea5265adc3b4117221f26d9f1038cf045bd3d0 100644
(file)
--- a/
common.h
+++ b/
common.h
@@
-143,6
+143,11
@@
VG_STATIC float
k_walk_friction = 10.0f,
k_walk_step_height = 0.2f;
k_walk_friction = 10.0f,
k_walk_step_height = 0.2f;
+VG_STATIC float
+ k_cam_punch = -0.1f,
+ k_cam_spring = 20.0f,
+ k_cam_damp = 6.7f;
+
VG_STATIC float k_ragdoll_floatyiness = 20.0f,
k_ragdoll_floatydrag = 1.0f,
k_ragdoll_limit_scale = 1.0f;
VG_STATIC float k_ragdoll_floatyiness = 20.0f,
k_ragdoll_floatydrag = 1.0f,
k_ragdoll_limit_scale = 1.0f;
@@
-160,6
+165,10
@@
VG_STATIC int cl_thirdperson = 0;
VG_STATIC void common_var_temp(void)
{
VG_STATIC void common_var_temp(void)
{
+ VG_VAR_F32( k_cam_punch );
+ VG_VAR_F32( k_cam_damp );
+ VG_VAR_F32( k_cam_spring );
+
VG_VAR_F32( k_walkspeed );
VG_VAR_F32( k_stopspeed );
VG_VAR_F32( k_airspeed );
VG_VAR_F32( k_walkspeed );
VG_VAR_F32( k_stopspeed );
VG_VAR_F32( k_airspeed );