Brought over a bunch of code from the roguelike and now will use it to generate a random map.
This commit is contained in:
parent
8d3d3b4ec3
commit
2daa1c9bd5
59 changed files with 4303 additions and 411 deletions
|
@ -17,3 +17,27 @@ constexpr const bool DEBUG_BUILD=false;
|
|||
#else
|
||||
constexpr const bool DEBUG_BUILD=true;
|
||||
#endif
|
||||
|
||||
|
||||
////////// copied from roguish
|
||||
|
||||
|
||||
constexpr int INV_WALL = 0;
|
||||
constexpr int INV_SPACE = 1;
|
||||
constexpr int WALL_VALUE = 1;
|
||||
constexpr int SPACE_VALUE = 0;
|
||||
constexpr int WALL_PATH_LIMIT = 1000;
|
||||
constexpr int WALL_LIGHT_LEVEL = 3;
|
||||
constexpr int WORLDBUILD_DIVISION = 4;
|
||||
constexpr int WORLDBUILD_SHRINK = 2;
|
||||
constexpr int WORLDBUILD_MAX_PATH = 200;
|
||||
constexpr int VIDEO_WINDOW_X=1600;
|
||||
constexpr int VIDEO_WINDOW_Y=900;
|
||||
constexpr int UI_FONT_SIZE=30;
|
||||
constexpr int BASE_MAP_FONT_SIZE=90;
|
||||
constexpr int GAME_MAP_PIXEL_POS = 600;
|
||||
constexpr int MAX_FONT_SIZE = 140;
|
||||
constexpr int MIN_FONT_SIZE = 20;
|
||||
constexpr int STATUS_UI_WIDTH = 40;
|
||||
constexpr int STATUS_UI_HEIGHT = 30;
|
||||
constexpr float PERCENT = 0.01f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue