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 556834df935b43a11fc4c1814595d029c6851fbb..79ea5265adc3b4117221f26d9f1038cf045bd3d0 100644
(file)
--- a/
common.h
+++ b/
common.h
@@
-15,6
+15,7
@@
#include "submodules/anyascii/impl/c/anyascii.c"
#define RESET_MAX_TIME 45.0
#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
{
enum menu_controller_type
{
@@
-117,7
+118,7
@@
VG_STATIC float
k_pitch_limit = 1.5f,
k_look_speed = 2.0f,
k_pitch_limit = 1.5f,
k_look_speed = 2.0f,
- k_spin_boost =
2.2
f,
+ k_spin_boost =
4.20
f,
k_cog_spring = 0.2f,
k_cog_damp = 0.02f,
k_cog_spring = 0.2f,
k_cog_damp = 0.02f,
@@
-135,13
+136,18
@@
VG_STATIC float
VG_STATIC float
k_walkspeed = 10.0f,
VG_STATIC float
k_walkspeed = 10.0f,
- k_airspeed =
2.0
f,
+ k_airspeed =
1.2
f,
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;
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;
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_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 );