diff options
Diffstat (limited to 'src/components/player_physics.cpp')
-rw-r--r-- | src/components/player_physics.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/components/player_physics.cpp b/src/components/player_physics.cpp index e366d6e..1d14f35 100644 --- a/src/components/player_physics.cpp +++ b/src/components/player_physics.cpp | |||
@@ -1,6 +1,7 @@ | |||
1 | #include "player_physics.h" | 1 | #include "player_physics.h" |
2 | #include "muxer.h" | 2 | #include "muxer.h" |
3 | #include "game.h" | 3 | #include "game.h" |
4 | #include "consts.h" | ||
4 | 5 | ||
5 | #define JUMP_VELOCITY(h, l) (-2 * (h) / (l)) | 6 | #define JUMP_VELOCITY(h, l) (-2 * (h) / (l)) |
6 | #define JUMP_GRAVITY(h, l) (2 * ((h) / (l)) / (l)) | 7 | #define JUMP_GRAVITY(h, l) (2 * ((h) / (l)) / (l)) |