diff options
Diffstat (limited to 'src/consts.h')
-rw-r--r-- | src/consts.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/consts.h b/src/consts.h index 804c761..4595719 100644 --- a/src/consts.h +++ b/src/consts.h | |||
@@ -11,4 +11,7 @@ const int MAP_HEIGHT = GAME_HEIGHT/TILE_HEIGHT - 1; | |||
11 | const int FRAMES_PER_SECOND = 60; | 11 | const int FRAMES_PER_SECOND = 60; |
12 | const double SECONDS_PER_FRAME = 1.0 / FRAMES_PER_SECOND; | 12 | const double SECONDS_PER_FRAME = 1.0 / FRAMES_PER_SECOND; |
13 | 13 | ||
14 | #define JUMP_VELOCITY(h, l) (-2 * (h) / (l)) | ||
15 | #define JUMP_GRAVITY(h, l) (2 * ((h) / (l)) / (l)) | ||
16 | |||
14 | #endif | 17 | #endif |