summary refs log tree commit diff stats
path: root/src/consts.h
blob: a6b509415512acb0f428684d432dac5f2999e063 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef CONSTS_H_8019F1B3
#define CONSTS_H_8019F1B3

#include "vector.h"

constexpr vec2s TILE_SIZE { 32, 32 };
constexpr vec2s MAP_SIZE { 16, 16 };
constexpr vec2s LEVEL_SIZE = TILE_SIZE * MAP_SIZE;
constexpr vec2s BORDER_SIZE = TILE_SIZE;
constexpr vec2s WINDOW_SIZE = LEVEL_SIZE * vec2s { 2, 1 } + BORDER_SIZE * 2;

#endif /* end of include guard: CONSTS_H_8019F1B3 */