From 1fe3202f0b7e2f52e50c430caa744b029fd5bcef Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sat, 2 Feb 2008 12:38:36 +0000 Subject: cleaned up the console code. added the ability to tune the game in runtime. --- src/game/g_tuning.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/game/g_tuning.h (limited to 'src/game/g_tuning.h') diff --git a/src/game/g_tuning.h b/src/game/g_tuning.h new file mode 100644 index 00000000..9f7ffb80 --- /dev/null +++ b/src/game/g_tuning.h @@ -0,0 +1,17 @@ +/* physics tuning */ +MACRO_TUNING_PARAM(ground_control_speed, 350.0f / ticks_per_second) +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, 34*10.0f) +MACRO_TUNING_PARAM(hook_fire_speed, 45.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(terminal_velocity, 1000.0f / ticks_per_second) + +/* weapon tuning */ -- cgit 1.4.1