From 0aea326dcaeb30e0a32d27c6c59aed0b60606cf4 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 9 Dec 2007 09:48:53 +0000 Subject: added double jump --- src/game/game_protocol.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/game/game_protocol.h') diff --git a/src/game/game_protocol.h b/src/game/game_protocol.h index 5e536bba..b89eb239 100644 --- a/src/game/game_protocol.h +++ b/src/game/game_protocol.h @@ -5,7 +5,8 @@ const float ground_control_speed = 7.0f; const float ground_control_accel = 2.0f; const float ground_friction = 0.5f; -const float ground_jump_speed = 13.5f; +const float ground_jump_speed = 12.6f; +const float ground_air_speed = 11.5f; const float air_control_speed = 5.0f; const float air_control_accel = 1.5f; const float air_friction = 0.95f; @@ -174,6 +175,7 @@ struct obj_player_core int x, y; int vx, vy; int angle; + int jumped; int hooked_player; int hook_state; -- cgit 1.4.1