diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-16 11:53:46 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-03-16 11:53:46 -0400 |
| commit | 8713d03831226dcd559c6a1e2b1c7b0d7c660bac (patch) | |
| tree | fd0c1e7ff253e3c69646d727bc49a112a71f5ca9 /src/map.h | |
| parent | 4b52f51404aca45a7d5d8e5998649ff67df97bbd (diff) | |
| download | ether-8713d03831226dcd559c6a1e2b1c7b0d7c660bac.tar.gz ether-8713d03831226dcd559c6a1e2b1c7b0d7c660bac.tar.bz2 ether-8713d03831226dcd559c6a1e2b1c7b0d7c660bac.zip | |
added signs (which can't be read yet)
Diffstat (limited to 'src/map.h')
| -rw-r--r-- | src/map.h | 5 |
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" | |
| 12 | using coord = std::tuple<int, int>; | ||
| 13 | 12 | ||
| 14 | enum class Tile { | 13 | enum 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 | ||
| 40 | struct Chunk { | 41 | struct Chunk { |
