about summary refs log tree commit diff
path: root/src/game/g_tuning.hpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-06-12 12:09:34 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-06-12 12:09:34 +0000
commit3705064b109580103a3d13f44693503da9927281 (patch)
tree0de409d2c67e74866e2bbe0b53a3791c20dab80d /src/game/g_tuning.hpp
parentf6c67c29cd10d41b877ee1319801edc01b625e72 (diff)
downloadzcatch-3705064b109580103a3d13f44693503da9927281.tar.gz
zcatch-3705064b109580103a3d13f44693503da9927281.zip
renamed .h to .hpp in game because they are c++ headers
Diffstat (limited to 'src/game/g_tuning.hpp')
-rw-r--r--src/game/g_tuning.hpp38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/game/g_tuning.hpp b/src/game/g_tuning.hpp
new file mode 100644
index 00000000..d35ef148
--- /dev/null
+++ b/src/game/g_tuning.hpp
@@ -0,0 +1,38 @@
+/* physics tuning */
+MACRO_TUNING_PARAM(ground_control_speed, 10.0f)
+MACRO_TUNING_PARAM(ground_control_accel, 100.0f / ticks_per_second)
+MACRO_TUNING_PARAM(ground_friction, 0.5f)
+MACRO_TUNING_PARAM(ground_jump_impulse, 12.6f)
+MACRO_TUNING_PARAM(air_jump_impulse, 11.5f)
+MACRO_TUNING_PARAM(air_control_speed, 250.0f / ticks_per_second)
+MACRO_TUNING_PARAM(air_control_accel, 1.5f)
+MACRO_TUNING_PARAM(air_friction, 0.95f)
+MACRO_TUNING_PARAM(hook_length, 380.0f)
+MACRO_TUNING_PARAM(hook_fire_speed, 80.0f)
+MACRO_TUNING_PARAM(hook_drag_accel, 3.0f)
+MACRO_TUNING_PARAM(hook_drag_speed, 15.0f)
+MACRO_TUNING_PARAM(gravity, 0.5f)
+
+MACRO_TUNING_PARAM(velramp_start, 550)
+MACRO_TUNING_PARAM(velramp_range, 2000)
+MACRO_TUNING_PARAM(velramp_curvature, 1.4f)
+
+/* weapon tuning */
+MACRO_TUNING_PARAM(gun_curvature, 1.25f)
+MACRO_TUNING_PARAM(gun_speed, 2200.0f)
+MACRO_TUNING_PARAM(gun_lifetime, 2.0f)
+
+MACRO_TUNING_PARAM(shotgun_curvature, 1.25f)
+MACRO_TUNING_PARAM(shotgun_speed, 2200.0f)
+MACRO_TUNING_PARAM(shotgun_speeddiff, 0.8f)
+MACRO_TUNING_PARAM(shotgun_lifetime, 0.25f)
+
+MACRO_TUNING_PARAM(grenade_curvature, 7.0f)
+MACRO_TUNING_PARAM(grenade_speed, 1000.0f)
+MACRO_TUNING_PARAM(grenade_lifetime, 2.0f)
+
+MACRO_TUNING_PARAM(laser_reach, 800.0f)
+MACRO_TUNING_PARAM(laser_bounce_delay, 150)
+MACRO_TUNING_PARAM(laser_bounce_num, 1)
+MACRO_TUNING_PARAM(laser_bounce_cost, 0)
+MACRO_TUNING_PARAM(laser_damage, 5)