Prior to deleting the TileMap to see if I can just replace it with new features in Map and textures::.
This commit is contained in:
parent
f45dbe8c48
commit
ea9f6bf383
5 changed files with 15 additions and 8 deletions
1
map.cpp
1
map.cpp
|
@ -149,6 +149,7 @@ void Map::load_tiles() {
|
|||
}
|
||||
|
||||
void Map::enclose() {
|
||||
// wraps the outside edge with solid walls
|
||||
std::array<Point, 4> starts{{
|
||||
{0,0}, {$width-1, 0}, {$width-1, $height-1}, {0, $height-1}
|
||||
}};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue