fixed the map generator doing paths that hit the edge which made it look like the map was out of bounds.
This commit is contained in:
parent
194cc6664b
commit
6b4bc6cc11
5 changed files with 23 additions and 4 deletions
2
map.hpp
2
map.hpp
|
@ -67,6 +67,8 @@ public:
|
|||
Point map_to_camera(const Point &loc, const Point &cam_orig);
|
||||
Point center_camera(const Point &around, size_t view_x, size_t view_y);
|
||||
|
||||
void expand();
|
||||
|
||||
void dump(int show_x=-1, int show_y=-1);
|
||||
bool INVARIANT();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue