X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=common.h;h=79ea5265adc3b4117221f26d9f1038cf045bd3d0;hb=76042e561d89b232f04cac8a431b5cd7b30a6b9d;hp=556834df935b43a11fc4c1814595d029c6851fbb;hpb=9edcce70acf6cf8fbb2449bf54d797e212ebb2c2;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/common.h b/common.h index 556834d..79ea526 100644 --- a/common.h +++ b/common.h @@ -15,6 +15,7 @@ #include "submodules/anyascii/impl/c/anyascii.c" #define RESET_MAX_TIME 45.0 +VG_STATIC v3f TEMP_BOARD_0, TEMP_BOARD_1; enum menu_controller_type { @@ -117,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, @@ -135,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; @@ -159,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 );