diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-09 09:48:53 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-12-09 09:48:53 +0000 |
| commit | 0aea326dcaeb30e0a32d27c6c59aed0b60606cf4 (patch) | |
| tree | cb08fdf473fab552f15d33ab848f1c6e50d5aec9 /src/game/game_protocol.h | |
| parent | 33ac1646f7a2d55bad0f5924ae4cea89b10d395e (diff) | |
| download | zcatch-0aea326dcaeb30e0a32d27c6c59aed0b60606cf4.tar.gz zcatch-0aea326dcaeb30e0a32d27c6c59aed0b60606cf4.zip | |
added double jump
Diffstat (limited to 'src/game/game_protocol.h')
| -rw-r--r-- | src/game/game_protocol.h | 4 |
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; |