diff options
Diffstat (limited to 'src/consts.h')
-rw-r--r-- | src/consts.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/consts.h b/src/consts.h new file mode 100644 index 0000000..804c761 --- /dev/null +++ b/src/consts.h | |||
@@ -0,0 +1,14 @@ | |||
1 | #ifndef CONSTS_H | ||
2 | #define CONSTS_H | ||
3 | |||
4 | const int TILE_WIDTH = 8; | ||
5 | const int TILE_HEIGHT = 8; | ||
6 | const int GAME_WIDTH = 320; | ||
7 | const int GAME_HEIGHT = 200; | ||
8 | const int MAP_WIDTH = GAME_WIDTH/TILE_WIDTH; | ||
9 | const int MAP_HEIGHT = GAME_HEIGHT/TILE_HEIGHT - 1; | ||
10 | |||
11 | const int FRAMES_PER_SECOND = 60; | ||
12 | const double SECONDS_PER_FRAME = 1.0 / FRAMES_PER_SECOND; | ||
13 | |||
14 | #endif | ||