summary refs log tree commit diff stats
path: root/src/map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map.h b/src/map.h index 2faac85..de74b14 100644 --- a/src/map.h +++ b/src/map.h
@@ -8,8 +8,7 @@
8#include <map> 8#include <map>
9#include <random> 9#include <random>
10#include "consts.h" 10#include "consts.h"
11 11#include "direction.h"
12using coord = std::tuple<int, int>;
13 12
14enum class Tile { 13enum class Tile {
15 Floor, 14 Floor,
@@ -35,6 +34,8 @@ struct MapData {
35 std::set<coord> litTiles; 34 std::set<coord> litTiles;
36 int renderId = -1; 35 int renderId = -1;
37 bool dirtyRender = true; 36 bool dirtyRender = true;
37 bool sign = false;
38 std::string text;
38}; 39};
39 40
40struct Chunk { 41struct Chunk {