OSDN Git Service

Merge remote-tracking branch 'remotes/hengbandosx/english-_ptr-in-message' into featu...
[hengband/hengband.git] / src / term / gameterm.h
1 #pragma once
2
3 #include "system/angband.h"
4 #include "spell/spell-types.h"
5
6 /*
7  * Convert a "pict" (P) into an "attr" (A)
8  */
9 #define PICT_A(P) \
10         ((byte)((P) >> 8))
11
12 /*
13  * Convert a "pict" (P) into an "char" (C)
14  */
15 #define PICT_C(P) \
16         ((char)((byte)(P)))
17
18 extern const concptr color_names[16];
19 extern const concptr window_flag_desc[32];
20 extern const concptr ident_info[];
21
22 extern term_type *angband_term[8];
23 #define term_screen (angband_term[0])
24
25 extern TERM_COLOR misc_to_attr[256];
26 extern SYMBOL_CODE misc_to_char[256];
27 extern TERM_COLOR tval_to_attr[128];
28 extern const char angband_term_name[8][16];
29 extern byte angband_color_table[256][4];
30
31 extern TERM_COLOR gf_color[MAX_GF];
32 extern TERM_COLOR color_char_to_attr(SYMBOL_CODE c);
33
34 u16b bolt_pict(POSITION y, POSITION x, POSITION ny, POSITION nx, EFFECT_ID typ);