about summary refs log tree commit diff
path: root/src/game/game_protocol.h
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-09 09:48:53 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-12-09 09:48:53 +0000
commit0aea326dcaeb30e0a32d27c6c59aed0b60606cf4 (patch)
treecb08fdf473fab552f15d33ab848f1c6e50d5aec9 /src/game/game_protocol.h
parent33ac1646f7a2d55bad0f5924ae4cea89b10d395e (diff)
downloadzcatch-0aea326dcaeb30e0a32d27c6c59aed0b60606cf4.tar.gz
zcatch-0aea326dcaeb30e0a32d27c6c59aed0b60606cf4.zip
added double jump
Diffstat (limited to 'src/game/game_protocol.h')
-rw-r--r--src/game/game_protocol.h4
1 files changed, 3 insertions, 1 deletions
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;