diff options
Diffstat (limited to 'src/consts.h')
-rw-r--r-- | src/consts.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/consts.h b/src/consts.h index f3a073c..a6b5094 100644 --- a/src/consts.h +++ b/src/consts.h | |||
@@ -4,7 +4,9 @@ | |||
4 | #include "vector.h" | 4 | #include "vector.h" |
5 | 5 | ||
6 | constexpr vec2s TILE_SIZE { 32, 32 }; | 6 | constexpr vec2s TILE_SIZE { 32, 32 }; |
7 | constexpr vec2s LEVEL_SIZE { 16, 16 }; | 7 | constexpr vec2s MAP_SIZE { 16, 16 }; |
8 | constexpr vec2s WINDOW_SIZE = TILE_SIZE * LEVEL_SIZE; | 8 | constexpr vec2s LEVEL_SIZE = TILE_SIZE * MAP_SIZE; |
9 | constexpr vec2s BORDER_SIZE = TILE_SIZE; | ||
10 | constexpr vec2s WINDOW_SIZE = LEVEL_SIZE * vec2s { 2, 1 } + BORDER_SIZE * 2; | ||
9 | 11 | ||
10 | #endif /* end of include guard: CONSTS_H_8019F1B3 */ | 12 | #endif /* end of include guard: CONSTS_H_8019F1B3 */ |