summary refs log tree commit diff stats
path: root/src/consts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/consts.h')
-rw-r--r--src/consts.h6
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
6constexpr vec2s TILE_SIZE { 32, 32 }; 6constexpr vec2s TILE_SIZE { 32, 32 };
7constexpr vec2s LEVEL_SIZE { 16, 16 }; 7constexpr vec2s MAP_SIZE { 16, 16 };
8constexpr vec2s WINDOW_SIZE = TILE_SIZE * LEVEL_SIZE; 8constexpr vec2s LEVEL_SIZE = TILE_SIZE * MAP_SIZE;
9constexpr vec2s BORDER_SIZE = TILE_SIZE;
10constexpr 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 */