diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-02-02 12:38:36 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-02-02 12:38:36 +0000 |
| commit | 1fe3202f0b7e2f52e50c430caa744b029fd5bcef (patch) | |
| tree | e238b0f211badb35fecdc3f87fe32978fd512b5e /src/game/g_protocol.h | |
| parent | 307c2cfae8fd678b10235bdc0c1a8cfc7da6adae (diff) | |
| download | zcatch-1fe3202f0b7e2f52e50c430caa744b029fd5bcef.tar.gz zcatch-1fe3202f0b7e2f52e50c430caa744b029fd5bcef.zip | |
cleaned up the console code. added the ability to tune the game in runtime.
Diffstat (limited to 'src/game/g_protocol.h')
| -rw-r--r-- | src/game/g_protocol.h | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/src/game/g_protocol.h b/src/game/g_protocol.h index e63da143..b0d84916 100644 --- a/src/game/g_protocol.h +++ b/src/game/g_protocol.h @@ -4,27 +4,6 @@ #ifndef GAME_PROTOCOL_H #define GAME_PROTOCOL_H -// --------- PHYSICS TWEAK! -------- -const float ticks_per_second = 50.0f; -const float ground_control_speed = 350.0f / ticks_per_second; -const float ground_control_accel = 100.0f / ticks_per_second; -const float ground_friction = 0.5f; -const float ground_jump_speed = 12.6f; -const float ground_air_speed = 11.5f; -const float air_control_speed = 250.0f / ticks_per_second; -const float air_control_accel = 1.5f; -const float air_friction = 0.95f; -const float hook_length = 34*10.0f; -const float hook_fire_speed = 45.0f; -const float hook_drag_accel = 3.0f; -const float hook_drag_speed = 15.0f; -const float gravity = 0.5f; -const float terminal_velocity = 20.0f; - -const float wall_friction = 0.80f; -const float wall_jump_speed_up = ground_jump_speed*0.8f; -const float wall_jump_speed_out = ground_jump_speed*0.8f; - // Network stuff enum { @@ -62,6 +41,7 @@ enum MSG_READY_TO_ENTER, // server -> client MSG_WEAPON_PICKUP, MSG_SOUND_GLOBAL, + MSG_TUNE_PARAMS, }; enum |