|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
constexpr const int TEXTURE_WIDTH=256;
|
|
|
|
constexpr const int TEXTURE_HEIGHT=256;
|
|
|
|
constexpr const int RAY_VIEW_WIDTH=900;
|
|
|
|
constexpr const int RAY_VIEW_HEIGHT=600;
|
|
|
|
constexpr const int SCREEN_WIDTH=1280;
|
|
|
|
constexpr const int SCREEN_HEIGHT=720;
|
|
|
|
constexpr const int RAY_VIEW_X=(SCREEN_WIDTH - RAY_VIEW_WIDTH);
|
|
|
|
constexpr const int RAY_VIEW_Y=0;
|
|
|
|
constexpr const bool VSYNC=false;
|
|
|
|
constexpr const int FRAME_LIMIT=60;
|
|
|
|
constexpr const int NUM_SPRITES=1;
|
|
|
|
|
|
|
|
#ifdef NDEBUG
|
|
|
|
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 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;
|
|
|
|
|
|
|
|
|
|
|
|
// for the panels/renderer
|
|
|
|
constexpr wchar_t BG_TILE = L'█';
|
|
|
|
constexpr wchar_t UI_BASE_CHAR = L'█';
|
|
|
|
constexpr int BG_BOX_OFFSET=5;
|
|
|
|
constexpr const char *FONT_FILE_NAME="./assets/text.otf";
|