Hengband
2.2.1
|
関数 | |
TERM_COLOR | mh_attr (int max) |
万色表現用にランダムな色を選択する関数 / Get a legal "multi-hued" color for drawing "spells" [詳解] | |
TERM_COLOR | spell_color (EFFECT_ID type) |
魔法属性に応じたエフェクトの色を返す / Return a color to use for the bolt/ball spells [詳解] | |
u16b | bolt_pict (POSITION y, POSITION x, POSITION ny, POSITION nx, EFFECT_ID typ) |
始点から終点にかけた方向毎にボルトのキャラクタを返す / Find the attr/char pair to use for a spell effect [詳解] | |
TERM_COLOR | color_char_to_attr (SYMBOL_CODE c) |
シンボル1文字をカラーIDに変更する / Convert a "color letter" into an "actual" color The colors are: dwsorgbuDWvyRGBU, as shown below [詳解] | |
変数 | |
const char | angband_term_name [8][16] |
byte | angband_color_table [256][4] |
const concptr | color_names [16] |
色名称テーブル / Hack – the "basic" color names (see "TERM_xxx") [詳解] | |
const concptr | window_flag_desc [32] |
サブウィンドウ名称テーブル [詳解] | |
const concptr | ident_info [] |
シンボル解説テーブル / The table of "symbol info" – each entry is a string of the form "X:desc" where "X" is the trigger, and "desc" is the "info". [詳解] | |
term * | angband_term [8] |
const concptr | color_char = "dwsorgbuDWvyRGBU" |
スクリーン表示色キャラクタ / Encode the screen colors [詳解] | |
TERM_COLOR | misc_to_attr [256] |
SYMBOL_CODE | misc_to_char [256] |
TERM_COLOR | tval_to_attr [128] |
SYMBOL_CODE | tval_to_char [128] |
TERM_COLOR | gf_color [MAX_GF] |
始点から終点にかけた方向毎にボルトのキャラクタを返す / Find the attr/char pair to use for a spell effect
y | 始点Y座標 |
x | 始点X座標 |
ny | 終点Y座標 |
nx | 終点X座標 |
typ | 魔法の効果属性 |
It is moving (or has moved) from (x,y) to (nx,ny). If the distance is not "one", we (may) return "*".
TERM_COLOR color_char_to_attr | ( | SYMBOL_CODE | c | ) |
シンボル1文字をカラーIDに変更する / Convert a "color letter" into an "actual" color The colors are: dwsorgbuDWvyRGBU, as shown below
c | シンボル文字 |
TERM_COLOR mh_attr | ( | int | max | ) |
万色表現用にランダムな色を選択する関数 / Get a legal "multi-hued" color for drawing "spells"
max | 色IDの最大値 |
TERM_COLOR spell_color | ( | EFFECT_ID | type | ) |
魔法属性に応じたエフェクトの色を返す / Return a color to use for the bolt/ball spells
type | 魔法属性 |
byte angband_color_table[256][4] |
term* angband_term[8] |
const char angband_term_name[8][16] |
const concptr color_char = "dwsorgbuDWvyRGBU" |
スクリーン表示色キャラクタ / Encode the screen colors
const concptr color_names[16] |
色名称テーブル / Hack – the "basic" color names (see "TERM_xxx")
TERM_COLOR gf_color[MAX_GF] |
const concptr ident_info[] |
シンボル解説テーブル / The table of "symbol info" – each entry is a string of the form "X:desc" where "X" is the trigger, and "desc" is the "info".
TERM_COLOR misc_to_attr[256] |
SYMBOL_CODE misc_to_char[256] |
TERM_COLOR tval_to_attr[128] |
SYMBOL_CODE tval_to_char[128] |
const concptr window_flag_desc[32] |
サブウィンドウ名称テーブル
Certain "screens" always use the main screen, including News, Birth, Dungeon, Tomb-stone, High-scores, Macros, Colors, Visuals, Options.
Later, special flags may allow sub-windows to "steal" stuff from the main window, including File dump (help), File dump (artifacts, uniques), Character screen, Small scale map, Previous Messages, Store screen, etc.
The "ctrl-i" (tab) command flips the "Display inven/equip" and "Display equip/inven" flags for all windows.
The "ctrl-g" command (or pseudo-command) should perhaps grab a snapshot of the main screen into any interested windows.