summary refs log tree commit diff stats
path: root/src/components/player_physics.cpp
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2015-03-18 09:48:43 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2015-03-18 09:48:43 -0400
commit2ec163612042bfa5e4e1bf220b489506f7039677 (patch)
treeead735eb871c3faf813635d08a89ec48195dab35 /src/components/player_physics.cpp
parentdc0f0d6fa178403080658887af3ca1a6c0e41188 (diff)
downloadtherapy-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.cpp1
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))