@ -3,35 +3,37 @@
/*
* Eventually move most of these into runtime locations .
*/
const int INV_WALL = 0 ;
const int INV_SPACE = 1 ;
const int WALL_VALUE = 1 ;
const int SPACE_VALUE = 0 ;
const int WALL_PATH_LIMIT = 1000 ;
const int WALL_LIGHT_LEVEL = 3 ;
const int WORLDBUILD_DIVISION = 4 ;
const int WORLDBUILD_SHRINK = 2 ;
const int WORLDBUILD_MAX_PATH = 200 ;
const int VIDEO_WINDOW_X = 1600 ;
const int VIDEO_WINDOW_Y = 900 ;
const int UI_FONT_SIZE = 30 ;
const int BASE_MAP_FONT_SIZE = 90 ;
const int GAME_MAP_PIXEL_POS = 600 ;
const int MAX_FONT_SIZE = 140 ;
const int MIN_FONT_SIZE = 20 ;
const int STATUS_UI_WIDTH = 40 ;
const int STATUS_UI_HEIGHT = 30 ;
const float PERCENT = 0.01f ;
const wchar_t BG_TILE = L ' █ ' ;
const wchar_t UI_BASE_CHAR = L ' █ ' ;
const int BG_BOX_OFFSET = 5 ;
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 ;
constexpr wchar_t BG_TILE = L ' █ ' ;
constexpr wchar_t UI_BASE_CHAR = L ' █ ' ;
constexpr int BG_BOX_OFFSET = 5 ;
// NOTE: max seems to be about x=240, y=120
const int GAME_MAP_X = 80 ;
const int GAME_MAP_Y = 40 ;
const int INVENTORY_PIXEL_X = 50 ;
const int INVENTORY_PIXEL_Y = 50 ;
const int INVENTORY_WIDTH = 99 ;
const int INVENTORY_HEIGHT = STATUS_UI_HEIGHT - 3 ;
# define FONT_FILE_NAME ". / assets / text.otf"
# define TILE_MAP_CONFIG ". / assets / tiles.json"
constexpr int GAME_MAP_X = 80 ;
constexpr int GAME_MAP_Y = 40 ;
constexpr int INVENTORY_PIXEL_X = 50 ;
constexpr int INVENTORY_PIXEL_Y = 50 ;
constexpr int INVENTORY_WIDTH = 99 ;
constexpr int INVENTORY_HEIGHT = STATUS_UI_HEIGHT - 3 ;
constexpr int NEXT_LEVEL_WIDTH = 60 ;
constexpr int NEXT_LEVEL_HEIGHT = 15 ;
constexpr const char * FONT_FILE_NAME = " ./assets/text.otf " ;
constexpr const char * TILE_MAP_CONFIG = " ./assets/tiles.json " ;