3 #include "system/angband.h"
7 #include <unordered_map>
10 constexpr auto TERM_DEFAULT_COLS = 80;
11 constexpr auto TERM_DEFAULT_ROWS = 24;
12 constexpr auto MAIN_TERM_MIN_COLS = TERM_DEFAULT_COLS;
13 constexpr auto MAIN_TERM_MIN_ROWS = TERM_DEFAULT_ROWS;
15 extern const concptr color_names[16];
16 extern const concptr window_flag_desc[32];
17 extern const concptr ident_info[];
19 extern std::array<term_type *, 8> angband_terms;
20 #define term_screen (angband_terms[0])
22 extern TERM_COLOR misc_to_attr[256];
23 extern char misc_to_char[256];
24 extern TERM_COLOR tval_to_attr[128];
25 extern const char angband_term_name[8][16];
26 extern byte angband_color_table[256][4];
28 enum class AttributeType : int;
29 extern std::map<AttributeType, std::string> gf_colors;
30 extern TERM_COLOR color_char_to_attr(char c);
32 extern const std::unordered_map<std::string_view, TERM_COLOR> color_list;
35 DisplaySymbol bolt_pict(POSITION y, POSITION x, POSITION ny, POSITION nx, AttributeType typ);