diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-18 09:48:43 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2015-03-18 09:48:43 -0400 |
commit | 2ec163612042bfa5e4e1bf220b489506f7039677 (patch) | |
tree | ead735eb871c3faf813635d08a89ec48195dab35 /src/components/player_physics.cpp | |
parent | dc0f0d6fa178403080658887af3ca1a6c0e41188 (diff) | |
download | therapy-2ec163612042bfa5e4e1bf220b489506f7039677.tar.gz therapy-2ec163612042bfa5e4e1bf220b489506f7039677.tar.bz2 therapy-2ec163612042bfa5e4e1bf220b489506f7039677.zip |
Game can now read map file from map editor (also added new map)
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)) |