Fixed up the map generator so that it's placing entities in non-overlapping tiles and adapting the style for the size. It can also deal with maps that have no rooms better and places the stairs better.
This commit is contained in:
parent
5f1a453fb4
commit
4eaf3c35d6
11 changed files with 55 additions and 45 deletions
|
@ -60,6 +60,8 @@ constexpr int COMBAT_UI_Y = RAY_VIEW_HEIGHT;
|
|||
constexpr int COMBAT_UI_WIDTH = RAY_VIEW_WIDTH ;
|
||||
constexpr int COMBAT_UI_HEIGHT = SCREEN_HEIGHT - RAY_VIEW_HEIGHT;
|
||||
|
||||
constexpr int INITIAL_MAP_W = 17;
|
||||
constexpr int INITIAL_MAP_H = 15;
|
||||
|
||||
// for the panels/renderer
|
||||
constexpr wchar_t BG_TILE = L'█';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue