X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=common.h;h=79ea5265adc3b4117221f26d9f1038cf045bd3d0;hb=76042e561d89b232f04cac8a431b5cd7b30a6b9d;hp=ff522676c82083b4b1de77a19333bebbe95d57af;hpb=23ef4d7f6bfe6a5a91c78822b081a9ea63cb74a6;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/common.h b/common.h index ff52267..79ea526 100644 --- a/common.h +++ b/common.h @@ -118,7 +118,7 @@ VG_STATIC float k_pitch_limit = 1.5f, k_look_speed = 2.0f, - k_spin_boost = 2.2f, + k_spin_boost = 4.20f, k_cog_spring = 0.2f, k_cog_damp = 0.02f, @@ -136,13 +136,18 @@ VG_STATIC float VG_STATIC float k_walkspeed = 10.0f, - k_airspeed = 2.0f, + k_airspeed = 1.2f, k_stopspeed = 4.0f, k_walk_accel = 10.0f, k_walk_air_accel = 7.0f, 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; @@ -160,6 +165,10 @@ VG_STATIC int cl_thirdperson = 0; 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 );