X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=src%2Ftables.c;h=e46071825b4f5ac0d6bb9e62f38874cf555d5f6e;hb=refs%2Fheads%2Fmaster;hp=b176e61c6bb50030c923ef5bf0c07c715288c22f;hpb=1097b1ea7a4c56178b2059a9355537635ee49e38;p=hengband%2Fhengband.git diff --git a/src/tables.c b/src/tables.c deleted file mode 100644 index b176e61c6..000000000 --- a/src/tables.c +++ /dev/null @@ -1,2656 +0,0 @@ -/*! - * @file tables.c - * @brief ã²ã¼ã æ å ±ãã¼ãã« / Angband Tables - * @date 2014/07/23 - * @author - *
- * Copyright (c) 1997 Ben Harrison, James E. Wilson, Robert A. Koeneke - * This software may be copied and distributed for educational, research, - * and not for profit purposes provided that this copyright and statement - * are included in all such copies. Other copyrights may also apply. - *- */ - - -#include "angband.h" -#include "spells.h" - -/*! - * ãã¼ãããã®æ¹åãåããåæè¨åãé ã«åæ / Global array for looping through the "keypad directions" - */ -const POSITION ddd[9] = -{ 2, 8, 6, 4, 3, 1, 9, 7, 5 }; - -/*! - * dddã§å®ç¾©ããé ã«ãã¯ãã«ã®X軸æåãå®ç¾© / Global arrays for converting "keypad direction" into offsets - */ -const POSITION ddx[10] = -{ 0, -1, 0, 1, -1, 0, 1, -1, 0, 1 }; - -/*! - * dddã§å®ç¾©ããé ã«ãã¯ãã«ã®Y軸æåãå®ç¾© / Global arrays for converting "keypad direction" into offsets - */ -const POSITION ddy[10] = -{ 0, 1, 1, 1, 0, 0, 0, -1, -1, -1 }; - -/*! - * dddè¶ãã«ãã¯ãã«ã®X軸æåãå®ç¾© / Global arrays for optimizing "ddx[ddd[i]]" and "ddy[ddd[i]]" - */ -const POSITION ddx_ddd[9] = -{ 0, 0, 1, -1, 1, -1, 1, -1, 0 }; - -/*! - * dddè¶ãã«ãã¯ãã«ã®Y軸æåãå®ç¾© / Global arrays for optimizing "ddx[ddd[i]]" and "ddy[ddd[i]]" - */ -const POSITION ddy_ddd[9] = -{ 1, -1, 0, 0, 1, 1, -1, -1, 0 }; - - -/*! - * ãã¼ãããã®åç°ç¶æ¹åé å / Circular keypad direction array - */ -const POSITION cdd[8] = -{ 2, 3, 6, 9, 8, 7, 4, 1 }; - -/*! - * cddè¶ãã«ãã¯ãã«ã®X軸æåãå®ç¾© / Global arrays for optimizing "ddx[cdd[i]]" and "ddy[cdd[i]]" - */ -const POSITION ddx_cdd[8] = -{ 0, 1, 1, 1, 0, -1, -1, -1 }; - -/*! - * cddè¶ãã«ãã¯ãã«ã®Y軸æåãå®ç¾© / Global arrays for optimizing "ddx[cdd[i]]" and "ddy[cdd[i]]" - */ -const POSITION ddy_cdd[8] = -{ 1, 1, 0, -1, -1, -1, 0, 1 }; - - - -/*! - * 10é²æ°ãã16é²æ°ã¸ã®å¤æãã¼ãã« / - * Global array for converting numbers to uppercase hecidecimal digit - * This array can also be used to convert a number to an octal digit - */ -const char hexsym[16] = -{ - '0', '1', '2', '3', '4', '5', '6', '7', - '8', '9', 'A', 'B', 'C', 'D', 'E', 'F' -}; - - -/*! - * é¸æå¦çç¨ãã¼ã³ã¼ã / - * Global array for converting numbers to a logical list symbol - */ -const char listsym[] = -{ - '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', - 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', - 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', - 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', - 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', - '\0' -}; - - -/*! - * ã¹ã¯ãªã¼ã³è¡¨ç¤ºè²ãã£ã©ã¯ã¿ / - * Encode the screen colors - */ -const concptr color_char = "dwsorgbuDWvyRGBU"; - - -/*! - * ç¥å/è³¢ãã«ããã¬ãã«æ¯ã®ç¿å¾å¯è½éæ³æ°ãã¼ãã« - * Stat Table (INT/WIS) -- Number of half-spells per level - */ -const byte adj_mag_study[] = -{ - 0 /* 3 */, - 0 /* 4 */, - 0 /* 5 */, - 0 /* 6 */, - 0 /* 7 */, - 1 /* 8 */, - 1 /* 9 */, - 1 /* 10 */, - 1 /* 11 */, - 2 /* 12 */, - 2 /* 13 */, - 2 /* 14 */, - 2 /* 15 */, - 2 /* 16 */, - 2 /* 17 */, - 2 /* 18/00-18/09 */, - 2 /* 18/10-18/19 */, - 2 /* 18/20-18/29 */, - 2 /* 18/30-18/39 */, - 2 /* 18/40-18/49 */, - 3 /* 18/50-18/59 */, - 3 /* 18/60-18/69 */, - 3 /* 18/70-18/79 */, - 3 /* 18/80-18/89 */, - 4 /* 18/90-18/99 */, - 4 /* 18/100-18/109 */, - 4 /* 18/110-18/119 */, - 5 /* 18/120-18/129 */, - 5 /* 18/130-18/139 */, - 5 /* 18/140-18/149 */, - 5 /* 18/150-18/159 */, - 5 /* 18/160-18/169 */, - 5 /* 18/170-18/179 */, - 5 /* 18/180-18/189 */, - 5 /* 18/190-18/199 */, - 5 /* 18/200-18/209 */, - 6 /* 18/210-18/219 */, - 6 /* 18/220+ */ -}; - - -/*! - * ç¥å/è³¢ãã«ããMPä¿®æ£ãã¼ãã« - * Stat Table (INT/WIS) -- extra 1/4-mana-points per level - */ -const byte adj_mag_mana[] = -{ - 0 /* 3 */, - 0 /* 4 */, - 0 /* 5 */, - 0 /* 6 */, - 0 /* 7 */, - 1 /* 8 */, - 2 /* 9 */, - 3 /* 10 */, - 4 /* 11 */, - 5 /* 12 */, - 5 /* 13 */, - 6 /* 14 */, - 7 /* 15 */, - 8 /* 16 */, - 9 /* 17 */, - 10 /* 18/00-18/09 */, - 11 /* 18/10-18/19 */, - 11 /* 18/20-18/29 */, - 12 /* 18/30-18/39 */, - 12 /* 18/40-18/49 */, - 13 /* 18/50-18/59 */, - 14 /* 18/60-18/69 */, - 15 /* 18/70-18/79 */, - 16 /* 18/80-18/89 */, - 17 /* 18/90-18/99 */, - 18 /* 18/100-18/109 */, - 19 /* 18/110-18/119 */, - 20 /* 18/120-18/129 */, - 21 /* 18/130-18/139 */, - 22 /* 18/140-18/149 */, - 23 /* 18/150-18/159 */, - 24 /* 18/160-18/169 */, - 25 /* 18/170-18/179 */, - 26 /* 18/180-18/189 */, - 27 /* 18/190-18/199 */, - 28 /* 18/200-18/209 */, - 29 /* 18/210-18/219 */, - 30 /* 18/220+ */ -}; - - -/*! - * ç¥å/è³¢ãã«ããæä½éæ³å¤±æçãã¼ãã« - * Stat Table (INT/WIS) -- Minimum failure rate (percentage) - */ -const byte adj_mag_fail[] = -{ - 99 /* 3 */, - 99 /* 4 */, - 99 /* 5 */, - 99 /* 6 */, - 99 /* 7 */, - 50 /* 8 */, - 30 /* 9 */, - 20 /* 10 */, - 15 /* 11 */, - 12 /* 12 */, - 11 /* 13 */, - 10 /* 14 */, - 9 /* 15 */, - 8 /* 16 */, - 7 /* 17 */, - 6 /* 18/00-18/09 */, - 6 /* 18/10-18/19 */, - 5 /* 18/20-18/29 */, - 5 /* 18/30-18/39 */, - 5 /* 18/40-18/49 */, - 4 /* 18/50-18/59 */, - 4 /* 18/60-18/69 */, - 4 /* 18/70-18/79 */, - 4 /* 18/80-18/89 */, - 3 /* 18/90-18/99 */, - 3 /* 18/100-18/109 */, - 2 /* 18/110-18/119 */, - 2 /* 18/120-18/129 */, - 2 /* 18/130-18/139 */, - 2 /* 18/140-18/149 */, - 1 /* 18/150-18/159 */, - 1 /* 18/160-18/169 */, - 1 /* 18/170-18/179 */, - 1 /* 18/180-18/189 */, - 1 /* 18/190-18/199 */, - 0 /* 18/200-18/209 */, - 0 /* 18/210-18/219 */, - 0 /* 18/220+ */ -}; - - -/*! - * ç¥å/è³¢ãã«ããéæ³å¤±æçä¿®æ£ãã¼ãã« - * Stat Table (INT/WIS) -- Various things - */ -const byte adj_mag_stat[] = -{ - 0 /* 3 */, - 0 /* 4 */, - 0 /* 5 */, - 0 /* 6 */, - 0 /* 7 */, - 1 /* 8 */, - 1 /* 9 */, - 1 /* 10 */, - 1 /* 11 */, - 1 /* 12 */, - 1 /* 13 */, - 1 /* 14 */, - 2 /* 15 */, - 2 /* 16 */, - 2 /* 17 */, - 3 /* 18/00-18/09 */, - 3 /* 18/10-18/19 */, - 3 /* 18/20-18/29 */, - 3 /* 18/30-18/39 */, - 3 /* 18/40-18/49 */, - 4 /* 18/50-18/59 */, - 4 /* 18/60-18/69 */, - 5 /* 18/70-18/79 */, - 6 /* 18/80-18/89 */, - 7 /* 18/90-18/99 */, - 8 /* 18/100-18/109 */, - 9 /* 18/110-18/119 */, - 10 /* 18/120-18/129 */, - 11 /* 18/130-18/139 */, - 12 /* 18/140-18/149 */, - 13 /* 18/150-18/159 */, - 14 /* 18/160-18/169 */, - 15 /* 18/170-18/179 */, - 16 /* 18/180-18/189 */, - 17 /* 18/190-18/199 */, - 18 /* 18/200-18/209 */, - 19 /* 18/210-18/219 */, - 20 /* 18/220+ */ -}; - - -/*! - * é åã«ããåºã§ã®åå¼ä¿®æ£ãã¼ãã« - * Stat Table (CHR) -- payment percentages - */ -const byte adj_chr_gold[] = -{ - 130 /* 3 */, - 125 /* 4 */, - 122 /* 5 */, - 120 /* 6 */, - 118 /* 7 */, - 116 /* 8 */, - 114 /* 9 */, - 112 /* 10 */, - 110 /* 11 */, - 108 /* 12 */, - 106 /* 13 */, - 104 /* 14 */, - 103 /* 15 */, - 102 /* 16 */, - 101 /* 17 */, - 100 /* 18/00-18/09 */, - 99 /* 18/10-18/19 */, - 98 /* 18/20-18/29 */, - 97 /* 18/30-18/39 */, - 96 /* 18/40-18/49 */, - 95 /* 18/50-18/59 */, - 94 /* 18/60-18/69 */, - 93 /* 18/70-18/79 */, - 92 /* 18/80-18/89 */, - 91 /* 18/90-18/99 */, - 90 /* 18/100-18/109 */, - 89 /* 18/110-18/119 */, - 88 /* 18/120-18/129 */, - 87 /* 18/130-18/139 */, - 86 /* 18/140-18/149 */, - 85 /* 18/150-18/159 */, - 84 /* 18/160-18/169 */, - 83 /* 18/170-18/179 */, - 82 /* 18/180-18/189 */, - 81 /* 18/190-18/199 */, - 80 /* 18/200-18/209 */, - 79 /* 18/210-18/219 */, - 78 /* 18/220+ */ -}; - - -/*! - * ç¥åã«ããééå ·ä½¿ç¨ä¿®æ£ãã¼ãã« - * Stat Table (INT) -- Magic devices - */ -const byte adj_int_dev[] = -{ - 0 /* 3 */, - 0 /* 4 */, - 0 /* 5 */, - 0 /* 6 */, - 0 /* 7 */, - 1 /* 8 */, - 1 /* 9 */, - 1 /* 10 */, - 1 /* 11 */, - 1 /* 12 */, - 1 /* 13 */, - 1 /* 14 */, - 2 /* 15 */, - 2 /* 16 */, - 2 /* 17 */, - 3 /* 18/00-18/09 */, - 3 /* 18/10-18/19 */, - 4 /* 18/20-18/29 */, - 4 /* 18/30-18/39 */, - 5 /* 18/40-18/49 */, - 5 /* 18/50-18/59 */, - 6 /* 18/60-18/69 */, - 6 /* 18/70-18/79 */, - 7 /* 18/80-18/89 */, - 7 /* 18/90-18/99 */, - 8 /* 18/100-18/109 */, - 9 /* 18/110-18/119 */, - 10 /* 18/120-18/129 */, - 11 /* 18/130-18/139 */, - 12 /* 18/140-18/149 */, - 13 /* 18/150-18/159 */, - 14 /* 18/160-18/169 */, - 15 /* 18/170-18/179 */, - 16 /* 18/180-18/189 */, - 17 /* 18/190-18/199 */, - 18 /* 18/200-18/209 */, - 19 /* 18/210-18/219 */, - 20 /* 18/220+ */ -}; - - -/*! - * è³¢ãã«ããéæ³é²å¾¡ä¿®æ£ãã¼ãã« - * Stat Table (WIS) -- Saving throw - */ -const byte adj_wis_sav[] = -{ - 0 /* 3 */, - 0 /* 4 */, - 0 /* 5 */, - 0 /* 6 */, - 0 /* 7 */, - 1 /* 8 */, - 1 /* 9 */, - 1 /* 10 */, - 1 /* 11 */, - 1 /* 12 */, - 1 /* 13 */, - 1 /* 14 */, - 2 /* 15 */, - 2 /* 16 */, - 2 /* 17 */, - 3 /* 18/00-18/09 */, - 3 /* 18/10-18/19 */, - 3 /* 18/20-18/29 */, - 3 /* 18/30-18/39 */, - 3 /* 18/40-18/49 */, - 4 /* 18/50-18/59 */, - 4 /* 18/60-18/69 */, - 5 /* 18/70-18/79 */, - 5 /* 18/80-18/89 */, - 6 /* 18/90-18/99 */, - 7 /* 18/100-18/109 */, - 8 /* 18/110-18/119 */, - 9 /* 18/120-18/129 */, - 10 /* 18/130-18/139 */, - 11 /* 18/140-18/149 */, - 12 /* 18/150-18/159 */, - 13 /* 18/160-18/169 */, - 14 /* 18/170-18/179 */, - 15 /* 18/180-18/189 */, - 16 /* 18/190-18/199 */, - 17 /* 18/200-18/209 */, - 18 /* 18/210-18/219 */, - 19 /* 18/220+ */ -}; - - -/*! - * å¨ç¨ãã«ãããã©ãã解é¤ä¿®æ£ãã¼ãã« - * Stat Table (DEX) -- disarming - */ -const byte adj_dex_dis[] = -{ - 0 /* 3 */, - 0 /* 4 */, - 0 /* 5 */, - 0 /* 6 */, - 0 /* 7 */, - 0 /* 8 */, - 0 /* 9 */, - 0 /* 10 */, - 0 /* 11 */, - 0 /* 12 */, - 1 /* 13 */, - 1 /* 14 */, - 1 /* 15 */, - 2 /* 16 */, - 2 /* 17 */, - 4 /* 18/00-18/09 */, - 4 /* 18/10-18/19 */, - 4 /* 18/20-18/29 */, - 4 /* 18/30-18/39 */, - 5 /* 18/40-18/49 */, - 5 /* 18/50-18/59 */, - 5 /* 18/60-18/69 */, - 6 /* 18/70-18/79 */, - 6 /* 18/80-18/89 */, - 7 /* 18/90-18/99 */, - 8 /* 18/100-18/109 */, - 8 /* 18/110-18/119 */, - 8 /* 18/120-18/129 */, - 8 /* 18/130-18/139 */, - 8 /* 18/140-18/149 */, - 9 /* 18/150-18/159 */, - 9 /* 18/160-18/169 */, - 9 /* 18/170-18/179 */, - 9 /* 18/180-18/189 */, - 9 /* 18/190-18/199 */, - 10 /* 18/200-18/209 */, - 10 /* 18/210-18/219 */, - 10 /* 18/220+ */ -}; - - -/*! - * ç¥åã«ãããã©ãã解é¤ä¿®æ£ãã¼ãã« - * Stat Table (INT) -- disarming - */ -const byte adj_int_dis[] = -{ - 0 /* 3 */, - 0 /* 4 */, - 0 /* 5 */, - 0 /* 6 */, - 0 /* 7 */, - 1 /* 8 */, - 1 /* 9 */, - 1 /* 10 */, - 1 /* 11 */, - 1 /* 12 */, - 1 /* 13 */, - 1 /* 14 */, - 2 /* 15 */, - 2 /* 16 */, - 2 /* 17 */, - 3 /* 18/00-18/09 */, - 3 /* 18/10-18/19 */, - 3 /* 18/20-18/29 */, - 4 /* 18/30-18/39 */, - 4 /* 18/40-18/49 */, - 5 /* 18/50-18/59 */, - 6 /* 18/60-18/69 */, - 7 /* 18/70-18/79 */, - 8 /* 18/80-18/89 */, - 9 /* 18/90-18/99 */, - 10 /* 18/100-18/109 */, - 10 /* 18/110-18/119 */, - 11 /* 18/120-18/129 */, - 12 /* 18/130-18/139 */, - 13 /* 18/140-18/149 */, - 14 /* 18/150-18/159 */, - 15 /* 18/160-18/169 */, - 16 /* 18/170-18/179 */, - 17 /* 18/180-18/189 */, - 18 /* 18/190-18/199 */, - 19 /* 18/200-18/209 */, - 19 /* 18/210-18/219 */, - 20 /* 18/220+ */ -}; - - -/*! - * å¨ç¨ãã«ããACä¿®æ£ãã¼ãã« - * Stat Table (DEX) -- bonus to ac (plus 128) - */ -const byte adj_dex_ta[] = -{ - 128 + -4 /* 3 */, - 128 + -3 /* 4 */, - 128 + -2 /* 5 */, - 128 + -1 /* 6 */, - 128 + 0 /* 7 */, - 128 + 0 /* 8 */, - 128 + 0 /* 9 */, - 128 + 0 /* 10 */, - 128 + 0 /* 11 */, - 128 + 0 /* 12 */, - 128 + 0 /* 13 */, - 128 + 0 /* 14 */, - 128 + 1 /* 15 */, - 128 + 1 /* 16 */, - 128 + 1 /* 17 */, - 128 + 2 /* 18/00-18/09 */, - 128 + 2 /* 18/10-18/19 */, - 128 + 2 /* 18/20-18/29 */, - 128 + 2 /* 18/30-18/39 */, - 128 + 2 /* 18/40-18/49 */, - 128 + 3 /* 18/50-18/59 */, - 128 + 3 /* 18/60-18/69 */, - 128 + 3 /* 18/70-18/79 */, - 128 + 4 /* 18/80-18/89 */, - 128 + 5 /* 18/90-18/99 */, - 128 + 6 /* 18/100-18/109 */, - 128 + 7 /* 18/110-18/119 */, - 128 + 8 /* 18/120-18/129 */, - 128 + 9 /* 18/130-18/139 */, - 128 + 9 /* 18/140-18/149 */, - 128 + 10 /* 18/150-18/159 */, - 128 + 11 /* 18/160-18/169 */, - 128 + 12 /* 18/170-18/179 */, - 128 + 13 /* 18/180-18/189 */, - 128 + 14 /* 18/190-18/199 */, - 128 + 15 /* 18/200-18/209 */, - 128 + 15 /* 18/210-18/219 */, - 128 + 16 /* 18/220+ */ -}; - - -/*! - * è åã«ãããã¡ã¼ã¸ä¿®æ£ãã¼ãã« - * Stat Table (STR) -- bonus to dam (plus 128) - */ -const byte adj_str_td[] = -{ - 128 + -2 /* 3 */, - 128 + -2 /* 4 */, - 128 + -1 /* 5 */, - 128 + -1 /* 6 */, - 128 + 0 /* 7 */, - 128 + 0 /* 8 */, - 128 + 0 /* 9 */, - 128 + 0 /* 10 */, - 128 + 0 /* 11 */, - 128 + 0 /* 12 */, - 128 + 0 /* 13 */, - 128 + 0 /* 14 */, - 128 + 0 /* 15 */, - 128 + 1 /* 16 */, - 128 + 2 /* 17 */, - 128 + 2 /* 18/00-18/09 */, - 128 + 2 /* 18/10-18/19 */, - 128 + 3 /* 18/20-18/29 */, - 128 + 3 /* 18/30-18/39 */, - 128 + 3 /* 18/40-18/49 */, - 128 + 3 /* 18/50-18/59 */, - 128 + 3 /* 18/60-18/69 */, - 128 + 4 /* 18/70-18/79 */, - 128 + 5 /* 18/80-18/89 */, - 128 + 5 /* 18/90-18/99 */, - 128 + 6 /* 18/100-18/109 */, - 128 + 7 /* 18/110-18/119 */, - 128 + 8 /* 18/120-18/129 */, - 128 + 9 /* 18/130-18/139 */, - 128 + 10 /* 18/140-18/149 */, - 128 + 11 /* 18/150-18/159 */, - 128 + 12 /* 18/160-18/169 */, - 128 + 13 /* 18/170-18/179 */, - 128 + 14 /* 18/180-18/189 */, - 128 + 15 /* 18/190-18/199 */, - 128 + 16 /* 18/200-18/209 */, - 128 + 18 /* 18/210-18/219 */, - 128 + 20 /* 18/220+ */ -}; - - -/*! - * å¨ç¨åº¦ã«ããå½ä¸ä¿®æ£ãã¼ãã« - * Stat Table (DEX) -- bonus to hit (plus 128) - */ -const byte adj_dex_th[] = -{ - 128 + -3 /* 3 */, - 128 + -2 /* 4 */, - 128 + -2 /* 5 */, - 128 + -1 /* 6 */, - 128 + -1 /* 7 */, - 128 + 0 /* 8 */, - 128 + 0 /* 9 */, - 128 + 0 /* 10 */, - 128 + 0 /* 11 */, - 128 + 0 /* 12 */, - 128 + 0 /* 13 */, - 128 + 0 /* 14 */, - 128 + 0 /* 15 */, - 128 + 1 /* 16 */, - 128 + 2 /* 17 */, - 128 + 3 /* 18/00-18/09 */, - 128 + 3 /* 18/10-18/19 */, - 128 + 3 /* 18/20-18/29 */, - 128 + 3 /* 18/30-18/39 */, - 128 + 3 /* 18/40-18/49 */, - 128 + 4 /* 18/50-18/59 */, - 128 + 4 /* 18/60-18/69 */, - 128 + 4 /* 18/70-18/79 */, - 128 + 4 /* 18/80-18/89 */, - 128 + 5 /* 18/90-18/99 */, - 128 + 6 /* 18/100-18/109 */, - 128 + 7 /* 18/110-18/119 */, - 128 + 8 /* 18/120-18/129 */, - 128 + 9 /* 18/130-18/139 */, - 128 + 9 /* 18/140-18/149 */, - 128 + 10 /* 18/150-18/159 */, - 128 + 11 /* 18/160-18/169 */, - 128 + 12 /* 18/170-18/179 */, - 128 + 13 /* 18/180-18/189 */, - 128 + 14 /* 18/190-18/199 */, - 128 + 15 /* 18/200-18/209 */, - 128 + 15 /* 18/210-18/219 */, - 128 + 16 /* 18/220+ */ -}; - - -/*! - * è åã«ããå½ä¸ä¿®æ£ãã¼ãã« - * Stat Table (STR) -- bonus to hit (plus 128) - */ -const byte adj_str_th[] = -{ - 128 + -3 /* 3 */, - 128 + -2 /* 4 */, - 128 + -1 /* 5 */, - 128 + -1 /* 6 */, - 128 + 0 /* 7 */, - 128 + 0 /* 8 */, - 128 + 0 /* 9 */, - 128 + 0 /* 10 */, - 128 + 0 /* 11 */, - 128 + 0 /* 12 */, - 128 + 0 /* 13 */, - 128 + 0 /* 14 */, - 128 + 0 /* 15 */, - 128 + 0 /* 16 */, - 128 + 0 /* 17 */, - 128 + 1 /* 18/00-18/09 */, - 128 + 1 /* 18/10-18/19 */, - 128 + 1 /* 18/20-18/29 */, - 128 + 1 /* 18/30-18/39 */, - 128 + 1 /* 18/40-18/49 */, - 128 + 1 /* 18/50-18/59 */, - 128 + 1 /* 18/60-18/69 */, - 128 + 2 /* 18/70-18/79 */, - 128 + 3 /* 18/80-18/89 */, - 128 + 4 /* 18/90-18/99 */, - 128 + 5 /* 18/100-18/109 */, - 128 + 6 /* 18/110-18/119 */, - 128 + 7 /* 18/120-18/129 */, - 128 + 8 /* 18/130-18/139 */, - 128 + 9 /* 18/140-18/149 */, - 128 + 10 /* 18/150-18/159 */, - 128 + 11 /* 18/160-18/169 */, - 128 + 12 /* 18/170-18/179 */, - 128 + 13 /* 18/180-18/189 */, - 128 + 14 /* 18/190-18/199 */, - 128 + 15 /* 18/200-18/209 */, - 128 + 15 /* 18/210-18/219 */, - 128 + 16 /* 18/220+ */ -}; - - -/*! - * è åã«ããåºæ¬ææééå¤ãã¼ãã« - * Stat Table (STR) -- weight limit in deca-pounds - */ -const byte adj_str_wgt[] = -{ - 10 /* 3 */, - 11 /* 4 */, - 12 /* 5 */, - 13 /* 6 */, - 14 /* 7 */, - 15 /* 8 */, - 16 /* 9 */, - 17 /* 10 */, - 18 /* 11 */, - 19 /* 12 */, - 20 /* 13 */, - 21 /* 14 */, - 22 /* 15 */, - 23 /* 16 */, - 24 /* 17 */, - 25 /* 18/00-18/09 */, - 26 /* 18/10-18/19 */, - 27 /* 18/20-18/29 */, - 28 /* 18/30-18/39 */, - 29 /* 18/40-18/49 */, - 30 /* 18/50-18/59 */, - 31 /* 18/60-18/69 */, - 31 /* 18/70-18/79 */, - 32 /* 18/80-18/89 */, - 32 /* 18/90-18/99 */, - 33 /* 18/100-18/109 */, - 33 /* 18/110-18/119 */, - 34 /* 18/120-18/129 */, - 34 /* 18/130-18/139 */, - 35 /* 18/140-18/149 */, - 35 /* 18/150-18/159 */, - 36 /* 18/160-18/169 */, - 36 /* 18/170-18/179 */, - 37 /* 18/180-18/189 */, - 37 /* 18/190-18/199 */, - 38 /* 18/200-18/209 */, - 38 /* 18/210-18/219 */, - 39 /* 18/220+ */ -}; - - -/*! - * è åã«ããæ¦å¨éééçå¤ãã¼ãã« - * Stat Table (STR) -- weapon weight limit in pounds - */ -const byte adj_str_hold[] = -{ - 4 /* 3 */, - 5 /* 4 */, - 6 /* 5 */, - 7 /* 6 */, - 8 /* 7 */, - 9 /* 8 */, - 10 /* 9 */, - 11 /* 10 */, - 12 /* 11 */, - 13 /* 12 */, - 14 /* 13 */, - 15 /* 14 */, - 16 /* 15 */, - 17 /* 16 */, - 18 /* 17 */, - 19 /* 18/00-18/09 */, - 20 /* 18/10-18/19 */, - 21 /* 18/20-18/29 */, - 22 /* 18/30-18/39 */, - 23 /* 18/40-18/49 */, - 24 /* 18/50-18/59 */, - 25 /* 18/60-18/69 */, - 26 /* 18/70-18/79 */, - 27 /* 18/80-18/89 */, - 28 /* 18/90-18/99 */, - 30 /* 18/100-18/109 */, - 31 /* 18/110-18/119 */, - 32 /* 18/120-18/129 */, - 33 /* 18/130-18/139 */, - 34 /* 18/140-18/149 */, - 35 /* 18/150-18/159 */, - 37 /* 18/160-18/169 */, - 40 /* 18/170-18/179 */, - 44 /* 18/180-18/189 */, - 48 /* 18/190-18/199 */, - 50 /* 18/200-18/209 */, - 50 /* 18/210-18/219 */, - 50 /* 18/220+ */ -}; - - -/*! - * è åã«ããæ¡æè½åä¿®æ£å¤ãã¼ãã« - * Stat Table (STR) -- digging value - */ -const byte adj_str_dig[] = -{ - 0 /* 3 */, - 0 /* 4 */, - 1 /* 5 */, - 2 /* 6 */, - 3 /* 7 */, - 4 /* 8 */, - 4 /* 9 */, - 5 /* 10 */, - 5 /* 11 */, - 6 /* 12 */, - 6 /* 13 */, - 7 /* 14 */, - 7 /* 15 */, - 8 /* 16 */, - 8 /* 17 */, - 9 /* 18/00-18/09 */, - 10 /* 18/10-18/19 */, - 12 /* 18/20-18/29 */, - 15 /* 18/30-18/39 */, - 20 /* 18/40-18/49 */, - 25 /* 18/50-18/59 */, - 30 /* 18/60-18/69 */, - 35 /* 18/70-18/79 */, - 40 /* 18/80-18/89 */, - 45 /* 18/90-18/99 */, - 50 /* 18/100-18/109 */, - 55 /* 18/110-18/119 */, - 60 /* 18/120-18/129 */, - 65 /* 18/130-18/139 */, - 70 /* 18/140-18/149 */, - 75 /* 18/150-18/159 */, - 80 /* 18/160-18/169 */, - 85 /* 18/170-18/179 */, - 90 /* 18/180-18/189 */, - 95 /* 18/190-18/199 */, - 100 /* 18/200-18/209 */, - 100 /* 18/210-18/219 */, - 100 /* 18/220+ */ -}; - - -/*! - * è åã«ããæ»æåæ°ç®å®å¤ãã¼ãã« - * Stat Table (STR) -- help index into the "blow" table - */ -const byte adj_str_blow[] = -{ - 3 /* 3 */, - 4 /* 4 */, - 5 /* 5 */, - 6 /* 6 */, - 7 /* 7 */, - 8 /* 8 */, - 9 /* 9 */, - 10 /* 10 */, - 11 /* 11 */, - 12 /* 12 */, - 13 /* 13 */, - 14 /* 14 */, - 15 /* 15 */, - 16 /* 16 */, - 17 /* 17 */, - 20 /* 18/00-18/09 */, - 30 /* 18/10-18/19 */, - 40 /* 18/20-18/29 */, - 50 /* 18/30-18/39 */, - 60 /* 18/40-18/49 */, - 70 /* 18/50-18/59 */, - 80 /* 18/60-18/69 */, - 90 /* 18/70-18/79 */, - 100 /* 18/80-18/89 */, - 110 /* 18/90-18/99 */, - 120 /* 18/100-18/109 */, - 130 /* 18/110-18/119 */, - 140 /* 18/120-18/129 */, - 150 /* 18/130-18/139 */, - 160 /* 18/140-18/149 */, - 170 /* 18/150-18/159 */, - 180 /* 18/160-18/169 */, - 190 /* 18/170-18/179 */, - 200 /* 18/180-18/189 */, - 210 /* 18/190-18/199 */, - 220 /* 18/200-18/209 */, - 230 /* 18/210-18/219 */, - 240 /* 18/220+ */ -}; - - -/*! - * å¨ç¨ãã«ããæ»æåæ°ã¤ã³ããã¯ã¹ãã¼ãã« - * Stat Table (DEX) -- index into the "blow" table - */ -const byte adj_dex_blow[] = -{ - 0 /* 3 */, - 0 /* 4 */, - 0 /* 5 */, - 0 /* 6 */, - 0 /* 7 */, - 0 /* 8 */, - 0 /* 9 */, - 1 /* 10 */, - 1 /* 11 */, - 1 /* 12 */, - 1 /* 13 */, - 1 /* 14 */, - 2 /* 15 */, - 2 /* 16 */, - 2 /* 17 */, - 2 /* 18/00-18/09 */, - 3 /* 18/10-18/19 */, - 3 /* 18/20-18/29 */, - 3 /* 18/30-18/39 */, - 4 /* 18/40-18/49 */, - 4 /* 18/50-18/59 */, - 5 /* 18/60-18/69 */, - 5 /* 18/70-18/79 */, - 6 /* 18/80-18/89 */, - 6 /* 18/90-18/99 */, - 7 /* 18/100-18/109 */, - 7 /* 18/110-18/119 */, - 8 /* 18/120-18/129 */, - 8 /* 18/130-18/139 */, - 9 /* 18/140-18/149 */, - 9 /* 18/150-18/159 */, - 10 /* 18/160-18/169 */, - 10 /* 18/170-18/179 */, - 11 /* 18/180-18/189 */, - 11 /* 18/190-18/199 */, - 12 /* 18/200-18/209 */, - 12 /* 18/210-18/219 */, - 13 /* 18/220+ */ -}; - - -/*! - * å¨ç¨ãã«ããçé£é²æ¢ï¼ä½å½ããæåå¤å®ä¿®æ£ãã¼ãã« - * Stat Table (DEX) -- chance of avoiding "theft" and "falling" - */ -const byte adj_dex_safe[] = -{ - 0 /* 3 */, - 1 /* 4 */, - 2 /* 5 */, - 3 /* 6 */, - 4 /* 7 */, - 5 /* 8 */, - 5 /* 9 */, - 6 /* 10 */, - 6 /* 11 */, - 7 /* 12 */, - 7 /* 13 */, - 8 /* 14 */, - 8 /* 15 */, - 9 /* 16 */, - 9 /* 17 */, - 10 /* 18/00-18/09 */, - 10 /* 18/10-18/19 */, - 15 /* 18/20-18/29 */, - 15 /* 18/30-18/39 */, - 20 /* 18/40-18/49 */, - 25 /* 18/50-18/59 */, - 30 /* 18/60-18/69 */, - 35 /* 18/70-18/79 */, - 40 /* 18/80-18/89 */, - 45 /* 18/90-18/99 */, - 50 /* 18/100-18/109 */, - 60 /* 18/110-18/119 */, - 70 /* 18/120-18/129 */, - 80 /* 18/130-18/139 */, - 90 /* 18/140-18/149 */, - 100 /* 18/150-18/159 */, - 100 /* 18/160-18/169 */, - 100 /* 18/170-18/179 */, - 100 /* 18/180-18/189 */, - 100 /* 18/190-18/199 */, - 100 /* 18/200-18/209 */, - 100 /* 18/210-18/219 */, - 100 /* 18/220+ */ -}; - - -/*! - * èä¹ ã«ããåºæ¬HPèªç¶æ²»çå¤ãã¼ãã« / - * Stat Table (CON) -- base regeneration rate - */ -const byte adj_con_fix[] = -{ - 0 /* 3 */, - 0 /* 4 */, - 0 /* 5 */, - 0 /* 6 */, - 0 /* 7 */, - 0 /* 8 */, - 0 /* 9 */, - 0 /* 10 */, - 0 /* 11 */, - 0 /* 12 */, - 0 /* 13 */, - 1 /* 14 */, - 1 /* 15 */, - 1 /* 16 */, - 1 /* 17 */, - 2 /* 18/00-18/09 */, - 2 /* 18/10-18/19 */, - 2 /* 18/20-18/29 */, - 2 /* 18/30-18/39 */, - 2 /* 18/40-18/49 */, - 3 /* 18/50-18/59 */, - 3 /* 18/60-18/69 */, - 3 /* 18/70-18/79 */, - 3 /* 18/80-18/89 */, - 3 /* 18/90-18/99 */, - 4 /* 18/100-18/109 */, - 4 /* 18/110-18/119 */, - 5 /* 18/120-18/129 */, - 6 /* 18/130-18/139 */, - 6 /* 18/140-18/149 */, - 7 /* 18/150-18/159 */, - 7 /* 18/160-18/169 */, - 8 /* 18/170-18/179 */, - 8 /* 18/180-18/189 */, - 8 /* 18/190-18/199 */, - 9 /* 18/200-18/209 */, - 9 /* 18/210-18/219 */, - 9 /* 18/220+ */ -}; - - -/*! - * èä¹ ã«ããåºæ¬HPèªç¶æ²»çå¤ãã¼ãã« / - * Stat Table (CON) -- extra 1/4-hitpoints per level (plus 128) - */ -const byte adj_con_mhp[] = -{ - 128 + -8 /* 3 */, - 128 + -6 /* 4 */, - 128 + -4 /* 5 */, - 128 + -2 /* 6 */, - 128 + -1 /* 7 */, - 128 + 0 /* 8 */, - 128 + 0 /* 9 */, - 128 + 0 /* 10 */, - 128 + 0 /* 11 */, - 128 + 0 /* 12 */, - 128 + 0 /* 13 */, - 128 + 1 /* 14 */, - 128 + 1 /* 15 */, - 128 + 2 /* 16 */, - 128 + 3 /* 17 */, - 128 + 4 /* 18/00-18/09 */, - 128 + 5 /* 18/10-18/19 */, - 128 + 6 /* 18/20-18/29 */, - 128 + 7 /* 18/30-18/39 */, - 128 + 8 /* 18/40-18/49 */, - 128 + 9 /* 18/50-18/59 */, - 128 + 10 /* 18/60-18/69 */, - 128 + 11 /* 18/70-18/79 */, - 128 + 12 /* 18/80-18/89 */, - 128 + 14 /* 18/90-18/99 */, - 128 + 17 /* 18/100-18/109 */, - 128 + 20 /* 18/110-18/119 */, - 128 + 23 /* 18/120-18/129 */, - 128 + 26 /* 18/130-18/139 */, - 128 + 29 /* 18/140-18/149 */, - 128 + 32 /* 18/150-18/159 */, - 128 + 35 /* 18/160-18/169 */, - 128 + 38 /* 18/170-18/179 */, - 128 + 40 /* 18/180-18/189 */, - 128 + 42 /* 18/190-18/199 */, - 128 + 44 /* 18/200-18/209 */, - 128 + 46 /* 18/210-18/219 */, - 128 + 48 /* 18/220+ */ -}; - - -/*! - * é åã«ããé äºè½åä¿®æ£ãã¼ãã« / - * Stat Table (CHR) -- charm - */ -const byte adj_chr_chm[] = -{ - 0 /* 3 */, - 0 /* 4 */, - 1 /* 5 */, - 2 /* 6 */, - 3 /* 7 */, - 4 /* 8 */, - 4 /* 9 */, - 5 /* 10 */, - 5 /* 11 */, - 6 /* 12 */, - 6 /* 13 */, - 7 /* 14 */, - 7 /* 15 */, - 8 /* 16 */, - 8 /* 17 */, - 9 /* 18/00-18/09 */, - 10 /* 18/10-18/19 */, - 12 /* 18/20-18/29 */, - 15 /* 18/30-18/39 */, - 18 /* 18/40-18/49 */, - 21 /* 18/50-18/59 */, - 24 /* 18/60-18/69 */, - 28 /* 18/70-18/79 */, - 32 /* 18/80-18/89 */, - 36 /* 18/90-18/99 */, - 39 /* 18/100-18/109 */, - 42 /* 18/110-18/119 */, - 45 /* 18/120-18/129 */, - 49 /* 18/130-18/139 */, - 53 /* 18/140-18/149 */, - 57 /* 18/150-18/159 */, - 61 /* 18/160-18/169 */, - 65 /* 18/170-18/179 */, - 69 /* 18/180-18/189 */, - 73 /* 18/190-18/199 */, - 77 /* 18/200-18/209 */, - 81 /* 18/210-18/219 */, - 85 /* 18/220+ */ -}; - - -/*! - * @brief - * é åã«ããé äºè½åä¿®æ£ãã¼ãã« / - * This table is used to help calculate the number of blows the player can - * make in a single round of attacks (one player current_world_ptr->game_turn) with a normal weapon. - * @details - *
- * This number ranges from a single blow/round for weak players to up to six - * blows/round for powerful warriors. - * - * Note that certain artifacts and ego-items give "bonus" blows/round. - * - * First, from the player class, we extract some values: - * - * Warrior num = 6; mul = 5; div = MAX(70, weapon_weight); - * Berserker num = 6; mul = 7; div = MAX(70, weapon_weight); - * Mage num = 3; mul = 2; div = MAX(100, weapon_weight); - * Priest num = 5; mul = 3; div = MAX(100, weapon_weight); - * Mindcrafter num = 5; mul = 3; div = MAX(100, weapon_weight); - * Rogue num = 5; mul = 3; div = MAX(40, weapon_weight); - * Ranger num = 5; mul = 4; div = MAX(70, weapon_weight); - * Paladin num = 5; mul = 4; div = MAX(70, weapon_weight); - * Weaponsmith num = 5; mul = 5; div = MAX(150, weapon_weight); - * Warrior-Mage num = 5; mul = 3; div = MAX(70, weapon_weight); - * Chaos Warrior num = 5; mul = 4; div = MAX(70, weapon_weight); - * Monk num = 5; mul = 3; div = MAX(60, weapon_weight); - * Tourist num = 4; mul = 3; div = MAX(100, weapon_weight); - * Imitator num = 5; mul = 4; div = MAX(70, weapon_weight); - * Beastmaster num = 5; mul = 3; div = MAX(70, weapon_weight); - * Cavalry(Ride) num = 5; mul = 4; div = MAX(70, weapon_weight); - * Cavalry(Walk) num = 5; mul = 3; div = MAX(100, weapon_weight); - * Sorcerer num = 1; mul = 1; div = MAX(1, weapon_weight); - * Archer num = 4; mul = 2; div = MAX(70, weapon_weight); - * Magic eater num = 4; mul = 2; div = MAX(70, weapon_weight); - * ForceTrainer num = 4; mul = 2; div = MAX(60, weapon_weight); - * Mirror Master num = 3; mul = 3; div = MAX(100, weapon_weight); - * Ninja num = 4; mul = 1; div = MAX(20, weapon_weight); - * - * To get "P", we look up the relevant "adj_str_blow[]" (see above), - * multiply it by "mul", and then divide it by "div". - * Increase P by 1 if you wield a weapon two-handed. - * Decrease P by 1 if you are a Ninja. - * - * To get "D", we look up the relevant "adj_dex_blow[]" (see above), - * - * The player gets "blows_table[P][D]" blows/round, as shown below, - * up to a maximum of "num" blows/round, plus any "bonus" blows/round. - *- */ -const byte blows_table[12][12] = -{ - /* P/D */ - /* 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11+ */ - /* 3 10 15 /10 /40 /60 /80 /100 /120 /140 /160 /180 */ -/* 0 */{ 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 4 }, -/* 1 */{ 1, 1, 1, 2, 2, 2, 3, 3, 3, 4, 4, 4 }, -/* 2 */{ 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 5 }, -/* 3 */{ 1, 1, 2, 3, 3, 4, 4, 4, 5, 5, 5, 5 }, -/* 4 */{ 1, 1, 2, 3, 3, 4, 4, 5, 5, 5, 5, 5 }, -/* 5 */{ 1, 1, 2, 3, 4, 4, 4, 5, 5, 5, 5, 6 }, -/* 6 */{ 1, 1, 2, 3, 4, 4, 4, 5, 5, 5, 5, 6 }, -/* 7 */{ 1, 2, 2, 3, 4, 4, 4, 5, 5, 5, 5, 6 }, -/* 8 */{ 1, 2, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6 }, -/* 9 */{ 1, 2, 3, 4, 4, 4, 5, 5, 5, 5, 6, 6 }, -/* 10*/{ 2, 2, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6 }, -/*11+*/{ 2, 2, 3, 4, 4, 4, 5, 5, 6, 6, 6, 6 }, - -}; - - -/*! - * @brief å éå¤ã«ããå®è³ªé度修æ£åçãã¼ãã« / - * This table allows quick conversion from "speed" to "energy" - * @details - *
- * The basic function WAS ((S>=110) ? (S-110) : (100 / (120-S))) - * Note that table access is *much* quicker than computation. - * - * Note that the table has been changed at high speeds. From - * "Slow (-40)" to "Fast (+30)" is pretty much unchanged, but - * at speeds above "Fast (+30)", one approaches an asymptotic - * effective limit of 50 energy per current_world_ptr->game_turn. This means that it - * is relatively easy to reach "Fast (+30)" and get about 40 - * energy per current_world_ptr->game_turn, but then speed becomes very "expensive", - * and you must get all the way to "Fast (+50)" to reach the - * point of getting 45 energy per current_world_ptr->game_turn. After that point, - * furthur increases in speed are more or less pointless, - * except to balance out heavy p_ptr->inventory_list. - * - * Note that currently the fastest monster is "Fast (+30)". - * - * It should be possible to lower the energy threshhold from - * 100 units to 50 units, though this may interact badly with - * the (compiled out) small random energy boost code. It may - * also tend to cause more "clumping" at high speeds. - *- */ -const byte extract_energy[200] = -{ - /* Slow */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - /* Slow */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - /* Slow */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - /* Slow */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - /* Slow */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - /* Slow */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - /* S-50 */ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - /* S-40 */ 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, - /* S-30 */ 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, - /* S-20 */ 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, - /* S-10 */ 5, 5, 5, 5, 6, 6, 7, 7, 8, 9, - /* Norm */ 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, - /* F+10 */ 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, - /* F+20 */ 30, 31, 32, 33, 34, 35, 36, 36, 37, 37, - /* F+30 */ 38, 38, 39, 39, 40, 40, 40, 41, 41, 41, - /* F+40 */ 42, 42, 42, 43, 43, 43, 44, 44, 44, 44, - /* F+50 */ 45, 45, 45, 45, 45, 46, 46, 46, 46, 46, - /* F+60 */ 47, 47, 47, 47, 47, 48, 48, 48, 48, 48, - /* F+70 */ 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, - /* Fast */ 49, 49, 49, 49, 49, 49, 49, 49, 49, 49, -}; - -/*! - * éæ³é åãã©ã°ç®¡çãã¼ãã« / - * Zangband uses this array instead of the spell flags table, as there - * are 5 realms of magic, each with 4 spellbooks and 8 spells per book -- TY - */ -const u32b fake_spell_flags[4]= -{ - 0x000000ff, - 0x0000ff00, - 0x00ff0000, - 0xff000000 -}; - -#ifdef JP -/*! - * é åéæ³å称 - */ -const concptr realm_names[] = -{ - "éæ³ãªã", - "çå½", - "ä»è¡", - "èªç¶", - "ã«ãªã¹", - "æé»", - "ãã©ã³ã", - "ç§è¡", - "å ", - "æªé", - "ç ´éª", - "ä¸æ", - "ä¸æ", - "ä¸æ", - "ä¸æ", - "ä¸æ", - "æ", - "æ¦è¸", - "åªè¡", - "ä¸æ" -}; -#endif - -#ifdef JP -const concptr E_realm_names[] -#else -const concptr realm_names[] -#endif -= { - "none", - "Life", - "Sorcery", - "Nature", - "Chaos", - "Death", - "Trump", - "Arcane", - "Craft", - "Daemon", - "Crusade", - "unknown", - "unknown", - "unknown", - "unknown", - "unknown", - "Music", - "Kendo", - "Hex", - "unknown" -}; - - -/*! - * @brief è·æ¥ã¨ã¬ãã«æ¯ã®ãã¬ã¤ã¤ã¼ç§°å·ãã¼ãã« / Class titles for the player. - *
- * The player gets a new title every five levels, so each class - * needs only ten titles total. - *- */ -#ifdef JP -const concptr player_title[MAX_CLASS][PY_MAX_LEVEL / 5] = -{ - /* Warrior */ - { - "æ°åå µ", - "å µå£«", - "åå µ", - "å¤åå µ", - "å£å£«", - "é士", - "è±é", - "ç·çµ", - "伯çµ", - "å主", - }, - - /* Mage */ - { - /*"è¦ç¿ã",*/ - "ç·´ç¿ç", /*ä¸ç¨ãç·´ç¿ç */ - "å¥è¡å¸«", /*è©æ¬ºå¸«ãããã³å¸« */ - "å¹»è¡å¸«", - "åªè¡å¸«", - "å¬é師", - "å¬é師", - "éè¡å¸«", - "éé師", - "ã¤ãã·ã·ãã¹", - "大éé師", - }, - - /* Priest */ - { - "ä¿¡è ", /*ä¿¡å¾ */ - "ä¾å§", /*æä¼å¥ä»è ãè¦ç¿ãå§ãä¼´å§ãå¾è */ - "çç·´å§", - "èè·è ", /*èè·è */ - "ä¼é師", /*å¸ç¥è©è°å¡ãä¿®éä¼ä¼å¡ */ - "ç§å¸«", /*ã©ãæã®å§ */ - "è人", /*大å¸æãç·ä¸»æãç·å¤§å¸æ */ - "ç¥å¸", /*ç¥å¸ãå¸ç¥ */ - "ç¥å¸é·", /*大ç¥å¸ãç¥å¸é· */ - "æç", - }, - - /* Rogues */ - { - /* "ããã¤ã",*/ /*ããã¤ãã風æ¥åã浮浪è */ - "ãã", - "追ãã¯ã", /*追ãå¥ããå¼·çãæ³¥æ£ */ - "å¤ç", /*å¼·çãå¤çãæ³¥æ£ */ - "ããæ³¥", /*ããæ³¥ãå°æ³¥æ£ */ - "ããã³å¸«", /*åå¾ãããã³å¸«ãè©æ¬ºå¸« */ - "ãã¦ã·ã¼ã", - "ãã¤ã·ã¼ã", - "ãã¹ã¿ã¼", /* "ãã¹ã¿ã¼ã·ã¼ã", */ - "ã¢ãµã·ã³", /* æ殺è */ - "é é ", /*"ã®ã«ããã¹ã¿ã¼",*/ - }, - - /* Rangers */ - { - "使ãèµ°ã", - "馳夫", - "æ¥å", /*æ¥åãè¦å¼µããåµå¯å µ */ - "ç©äºº", - "追跡è ", - "å å°è ", - "æ¢éºè ", /*éæè ãæ¢éºè */ - "éä¼", - "éä¼é ", - "éä¼ã®ç·é ", - }, - - /* Paladins */ - { - "å士", /*è²ç·ãæ人ããããè ãåæ¢ãªäºº */ - "è¡å£«", - "ä¿è·è ", - "é²è¡è ", - "è·è¡è ", - "é¨å£«", - "éé¨å£«", - "èé¨å£«", - "ä¸ç´èé¨å£«", - "èé¨å£«å£é·", - }, - - /* Warrior-Mage */ - { - "è¦ç¿ã", - "å¾å¼", /*ä¸ç¨ãç·´ç¿ç */ - "ä¸äººå", - "å¤åå µ", - "éè¡å µå£«", - "éè¡é士", - "éè¡ã®è±é", /* Mage-Hero */ - "éç·çµ", - /* "éå ¬çµ", */ - "æ¦ééè¡å£«", - "ç¥èã®å®è·è ", /* "ã¦ã£ã¶ã¼ããã¼ã", */ - }, - - /* Chaos Warrior */ - { - "æ°åå µ", - "å µå£«", - "åå µ", - "å¤åå µ", - "å£å£«", - "é士", - "æ··æ²ã®è±é", - "æ··æ²ã®ç·çµ", - "æ··æ²ã®å ¬çµ", - "æ··æ²ã®çè ", - }, - - /* Monk */ - { - "å ¥éè ", - "å¼å", - "ç´å¼å", - "師ç¯ä»£", - "師ç¯", - "éå ´ä¸»", - "å人", - "大å人", - "æ³è", - "æ³ç¥", - }, - - /* Mindcrafter */ - { - "ç·´ç¿ç", - "è¦ç¿ã", - "ç練士", - "çé士", - "é»æ³å£«", - "å¿è¡å£«", - "ãµã¤ããã¯", - "ãµã¤ãªããã¯", - "è¶ è½åè ", - "ç²¾ç¥ã®æ¯é è ", /* "ãã¤ã³ããã¹ã¿ã¼", */ - }, - - /* High Mage; same as Mage */ - { - /*"è¦ç¿ã",*/ - "ç·´ç¿ç", /*ä¸ç¨ãç·´ç¿ç */ - "å¥è¡å¸«", /*è©æ¬ºå¸«ãããã³å¸« */ - "å¹»è¡å¸«", - "åªè¡å¸«", - "å¬é師", - "å¬é師", - "éè¡å¸«", - "éé師", - "ã¤ãã·ã·ãã¹", - "大éé師", - }, - - /* Tourist */ - { - "ãã¼å¤ªé", - "観å 客", - "å¨éæ è¡è ", - "éæ´è ", - "æ è¡è ", - "æ¾æµªè ", /* "æ 人", */ - "èªæµ·è ", - "æ¢æ¤å®¶", - "åéºå®¶", - "ã¹ãã©ã³ã«ã¼", - }, - - /* Imitator */ - { - "ãããã", - "ãã¾ãã¡", - "ã¾ã ã¾ã ", - "ã¼ã¡ã¼ã¡", - "ãããã", - "ã¾ãã¾ã", - "ãªããªã", - "ãããã", - "ããã¨ã", - "ããã", - }, - - /* Beastmaster */ - { - "ã¤ã¢ãªä½¿ã", - "ãã使ã", - "ã¯ã¢ä½¿ã", - "ç¼ä½¿ã", - "ãã©ä½¿ã", - "ç²è«ä½¿ã", - "ããã©ä½¿ã", - "ãã¦ã³ã使ã", - "ã ã¼ãã¯ä½¿ã", - "ãã©ã´ã³ä½¿ã", - }, - - /* Sorcerer; same as Mage */ - { - /*"è¦ç¿ã",*/ - "ç·´ç¿ç", /*ä¸ç¨ãç·´ç¿ç */ - "å¥è¡å¸«", /*è©æ¬ºå¸«ãããã³å¸« */ - "å¹»è¡å¸«", - "åªè¡å¸«", - "å¬é師", - "å¬é師", - "éè¡å¸«", - "éé師", - "ã¤ãã·ã·ãã¹", - "大éé師", - }, - - /* Archer */ - { - "æ°åå µ", - "å µå£«", - "åå µ", - "å¤åå µ", - "å£å£«", - "é士", - "è±é", - "ç·çµ", - "伯çµ", - "é 主", - }, - - /* Magic eater */ - { - "ç¡ç¥ãªãè ", - "å ¥éè ", - "å¥è¡å¸«", - "ç§è¡å¸«", - "ç§è¡å¸«", - "çç·´è ", - "é人", - "é人", - "éé師", - "å ¨ã¦ãç¥ãè ", - }, - - /* Bard */ - { - "è¦ç¿ã", /*"Apprentice"*/ - "ä½æ²å®¶", /*"Songsmith"*/ - "åé詩人", /*"Bard"*/ - "ã³ã³ãããªã³", /*"Companion"*/ - "å¿ã®çãæ", /*"Minstrel"*/ - "竪ç´å¸«", /*"Harper"*/ - "ä¼æ¿ã®ç´¡ãæ", /*"Loreweaver"*/ - "è©©ç¥ã®ç³ãå", /*"Muse"*/ - "夢紡ã", /*"Dreamweaver"*/ - "ãã¹ã¿ã¼", /*"Master Harper"*/ - }, - - /* Red Mage; same as Warrior-Mage */ - { - "è¦ç¿ã", - "å¾å¼", /*ä¸ç¨ãç·´ç¿ç */ - "ä¸äººå", - "å¤åå µ", - "éè¡å µå£«", - "éè¡é士", - "éè¡ã®è±é", /* Mage-Hero */ - "éç·çµ", - /* "éå ¬çµ", */ - "æ¦ééè¡å£«", - "ç¥èã®å®è·è ", /* "ã¦ã£ã¶ã¼ããã¼ã", */ - }, - - /* Samurai */ - { - "å ¥éè ", - "å¼å", - "ç´å¼å", - "師ç¯ä»£", - "師ç¯", - "éå ´ä¸»", - "å人", - "大å人", - "å£è", - "å£ç¥", - }, - - /* ForceTrainer; same as Monk(?) */ - { - "å ¥éè ", - "å¼å", - "ç´å¼å", - "師ç¯ä»£", - "師ç¯", - "éå ´ä¸»", - "å人", - "大å人", - "æ³è", - "æ³ç¥", - }, - - /* Blue Mage; same as Mage */ - { - /*"è¦ç¿ã",*/ - "ç·´ç¿ç", /*ä¸ç¨ãç·´ç¿ç */ - "å¥è¡å¸«", /*è©æ¬ºå¸«ãããã³å¸« */ - "å¹»è¡å¸«", - "åªè¡å¸«", - "å¬é師", - "å¬é師", - "éè¡å¸«", - "éé師", - "ã¤ãã·ã·ãã¹", - "大éé師", - }, - - /* Cavalry */ - { - "æ°åå µ", - "å µå£«", - "åå µ", - "å¤åå µ", - "å£å£«", - "é士", - "è±é", - "ç·çµ", - "伯çµ", - "é 主", - }, - - /* Berserker */ - { - "ãã¼ãµã¼ã«ã¼", - "ãã¼ãµã¼ã«ã¼", - "ãã¼ãµã¼ã«ã¼", - "æãã®å ¬çµ", - "æãã®å ¬çµ", - "æãã®å ¬çµ", - "æãã®ç", - "æãã®ç", - "æãã®ç", - "æãã®å身", - }, - - /* Weaponsmith */ - { - "é ãéããè ", - "éãéããè ", - "é¼ãéããè ", - "éãéããè ", - "ç«ãéããè ", - "éãéããè ", - "éãéããè ", - "éãéããè ", - "ç¥ãéããè ", - "å ¨ãéããè ", - }, - - /* Mirror Master */ - { - "é¡ãè¦ã人", - "é¡ç£¨ã", - "é¡è·äºº", - "é¡è¡å¸«", - "é¡å°å¸«", - "é¡ã®è³¢è ", - "é¡ã®ç", - "é¡ã®çå¸", - "é¡ã®å身", - "ã©ããã¼ã«ç", - }, - /* Ninja */ - { - "è¨ç·´ç", - "ä»æ", - "çéè ", - "çå使ã", - "åãè£ã", - "åè ", - "æ¼é»ã®å", - "éã®ä¸æ", - "æ殺è ", - "æ»ã®é·ãè ", - }, - - /* Sniper */ - { - "æ°åå µ", - "å µå£«", - "åå µ", - "å¤åå µ", - "å£å£«", - "é士", - "è±é", - "ç·çµ", - "伯çµ", - "é 主", - }, -}; - -#else -const concptr player_title[MAX_CLASS][PY_MAX_LEVEL / 5] = -{ - /* Warrior */ - { - "Rookie", - "Soldier", - "Mercenary", - "Veteran", - "Swordsman", - "Champion", - "Hero", - "Baron", - "Duke", - "Lord", - }, - - /* Mage */ - { - "Apprentice", - "Trickster", - "Illusionist", - "Spellbinder", - "Evoker", - "Conjurer", - "Warlock", - "Sorcerer", - "Ipsissimus", - "Archimage", - }, - - /* Priest */ - { - "Believer", - "Acolyte", - "Adept", - "Curate", - "Canon", - "Priest", - "High Priest", - "Cardinal", - "Inquisitor", - "Pope", - }, - - /* Rogues */ - { - "Cutpurse", - "Robber", - "Burglar", - "Filcher", - "Sharper", - "Low Thief", - "High Thief", - "Master Thief", - "Assassin", - "Guildmaster", - }, - - /* Rangers */ - { - "Runner", - "Strider", - "Scout", - "Courser", - "Tracker", - "Guide", - "Pathfinder", - "Low Ranger", - "High Ranger", - "Ranger Lord", - }, - - /* Paladins */ - { - "Gallant", - "Keeper", - "Protector", - "Defender", - "Warder", - "Knight", - "Guardian", - "Low Paladin", - "High Paladin", - "Paladin Lord", - }, - - /* Warrior-Mage */ - { - "Novice", - "Apprentice", - "Journeyman", - "Veteran", - "Enchanter", - "Champion", - "Mage-Hero", - "Baron Mage", - "Battlemage", - "Wizard Lord", - }, - - /* Chaos Warrior */ - { - "Rookie", - "Soldier", - "Mercenary", - "Veteran", - "Swordsman", - "Champion", - "Chaos Hero", - "Chaos Baron", - "Chaos Duke", - "Chaos Lord", - }, - - /* Monk */ - { - "Initiate", - "Brother", - "Disciple", - "Immaculate", - "Master", - "Soft Master", - "Hard Master", - "Flower Master", - "Dragon Master", - "Grand Master", - }, - - /* Mindcrafter */ - { - "Trainee", - "Acolyte", - "Adept", - "Immaculate", - "Contemplator", - "Mentalist", - "Psychic", - "Psionicist", - "Esper", - "Mindmaster", - }, - - /* High Mage; same as Mage */ - { - "Apprentice", - "Trickster", - "Illusionist", - "Spellbinder", - "Evoker", - "Conjurer", - "Warlock", - "Sorcerer", - "Ipsissimus", - "Archimage", - }, - - /* Tourist */ - { - "Rambler", - "Sightseer", - "Excursionist", - "Peregrinator", - "Traveler", - "Journeyer", - "Voyager", - "Explorer", - "Adventurer", - "Spelunker", - }, - - /* Imitator */ - { - "Yet", - "Lacks", - "Still more", - "So so", - "All right", - "Not bad", - "Considerable", - "Go go", - "Sizable", - "Great man", - }, - - /* BeastMaster */ - { - "Newt Master", - "Snake Master", - "Spider Master", - "Wolf Master", - "Tiger Master", - "Beetle Master", - "Hydra Master", - "Hound Master", - "Mumak Master", - "Dragon Master", - }, - - /* Sorcerer */ - { - "Apprentice", - "Trickster", - "Illusionist", - "Spellbinder", - "Evoker", - "Conjurer", - "Warlock", - "Sorcerer", - "Ipsissimus", - "Archimage", - }, - - /* Archer */ - { - "Rookie", - "Soldier", - "Mercenary", - "Veteran", - "Bowman", - "Champion", - "Hero", - "Baron", - "Duke", - "Lord", - }, - - /* Magic eater */ - { - "Apprentice", - "Beginner", - "Jagguler", - "Skilled", - "Conjurer", - "Magician", - "Master", - "Master", - "Wizard", - "Almighty", - }, - - /* Bard */ - { - "Apprentice", /*"Apprentice"*/ - "Songsmith", /*"Songsmith"*/ - "Bard", /*"Bard"*/ - "Companion", /*"Companion"*/ - "Minstrel", /*"Minstrel"*/ - "Harper", /*"Harper"*/ - "Loreweaver", /*"Loreweaver"*/ - "Muse", /*"Muse"*/ - "Dreamweaver", /*"Dreamweaver"*/ - "Master Harper", /*"Master Harper"*/ - }, - - /* Red Mage */ - { - "Novice", - "Apprentice", - "Journeyman", - "Veteran", - "Enchanter", - "Champion", - "Mage-Hero", - "Baron Mage", - "Battlemage", - "Wizard Lord", - }, - - /* Samurai */ - { - "Initiate", - "Brother", - "Disciple", - "Immaculate", - "Master", - "Soft Master", - "Hard Master", - "Flower Master", - "Dragon Master", - "Grand Master", - }, - - /* ForceTrainer */ - { - "Initiate", - "Brother", - "Disciple", - "Immaculate", - "Master", - "Soft Master", - "Hard Master", - "Flower Master", - "Dragon Master", - "Grand Master", - }, - - /* Blue Mage */ - { - "Apprentice", - "Trickster", - "Illusionist", - "Spellbinder", - "Evoker", - "Conjurer", - "Warlock", - "Sorcerer", - "Ipsissimus", - "Archimage", - }, - - /* Warrior */ - { - "Rookie", - "Soldier", - "Mercenary", - "Veteran", - "Swordsman", - "Champion", - "Hero", - "Baron", - "Duke", - "Lord", - }, - - /* Berserker */ - { - "Berserker", - "Berserker", - "Berserker", - "Rage Prince", - "Rage Prince", - "Rage Prince", - "Rage King", - "Rage King", - "Rage King", - "God of Rage", - }, - - /* Weaponsmith */ - { - "Copper smith", - "Iron smith", - "Steel smith", - "Silver smith", - "Dragon smith", - "Spirit smith", - "Magic smith", - "Soul smith", - "God smith", - "AlmightySmith", - }, - - /* Mirror Master */ - { - "Mirrorstarer", - "Mirrorcleaner", - "Mirrormaker", - "Mirrormagician", - "Mirror Guru", - "Mirror Mage", - "Mirror King", - "Mirror Emperor", - "Mirror Avatar", - "Ruffnor King", - }, - - /* Ninja */ - { - "Trainee", - "Myrmidon", - "Initiate", - "Knifer", - "Bladesman", - "Hashishin", - "Black Dagger", - "Shadowstrike", - "Assassinator", - "Death Lord", - }, - - /* Sniper */ - { - "Rookie", - "Soldier", - "Mercenary", - "Veteran", - "Swordsman", - "Champion", - "Hero", - "Baron", - "Duke", - "Lord", - }, -}; -#endif - -/*! - * @brief è²å称ãã¼ãã« / Hack -- the "basic" color names (see "TERM_xxx") - */ -const concptr color_names[16] = -{ -#ifdef JP - "é»", - "ç½", - "éç°è²", - "ãªã¬ã³ã¸", - "赤", - "ç·", - "é", - "ç¥çè²", - "ç°è²", - "æéç°è²", - "ç´«", - "é»", - "æãã赤", - "æããç·", - "æããé", - "æç¥çè²", -#else - "Dark", - "White", - "Slate", - "Orange", - "Red", - "Green", - "Blue", - "Umber", - "Light Dark", - "Light Slate", - "Violet", - "Yellow", - "Light Red", - "Light Green", - "Light Blue", - "Light Umber", -#endif - -}; - - -/*! - * @brief è½åå¤ãã¼ãã« / Abbreviations of healthy stats - */ -const concptr stat_names[6] = -{ -#ifdef JP - "è å :", "ç¥è½ :", "è³¢ã :", "å¨ç¨ :", "èä¹ :", "é å :" -#else - "STR : ", "INT : ", "WIS : ", "DEX : ", "CON : ", "CHR : " -#endif - -}; - -/*! - * @brief è½åå¤ãã¼ãã«(è½åä½ä¸æ) / Abbreviations of damaged stats - */ -const concptr stat_names_reduced[6] = -{ -#ifdef JP - "è åx:", "ç¥è½x:", "è³¢ãx:", "å¨ç¨x:", "èä¹ x:", "é åx:" -#else - "Str : ", "Int : ", "Wis : ", "Dex : ", "Con : ", "Chr : " -#endif - -}; - - -/*! - * @brief ãµãã¦ã£ã³ãã¦å称ãã¼ãã« - * @details - *
- * 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. - *- */ -const concptr window_flag_desc[32] = -{ - _("æã¡ç©/è£ åä¸è¦§", "Display inven/equip"), - _("è£ å/æã¡ç©ä¸è¦§", "Display equip/inven"), - _("åªæä¸è¦§", "Display spell list"), - _("ãã£ã©ã¯ã¿æ å ±", "Display character"), - _("è¦çå ã®ã¢ã³ã¹ã¿ã¼è¡¨ç¤º", "Display monsters in sight"), - NULL, - _("ã¡ãã»ã¼ã¸", "Display messages"), - _("ãã³ã¸ã§ã³å ¨ä½å³", "Display overhead view"), - _("ã¢ã³ã¹ã¿ã¼ã®æãåº", "Display monster recall"), - _("ã¢ã¤ãã ã®è©³ç´°", "Display object recall"), - _("èªåã®å¨å²ã表示", "Display dungeon view"), - _("è¨å¿µæ®å½±", "Display snap-shot"), - NULL, - NULL, - _("ãã¼ã°ã»ã¡ãã»ã¼ã¸", "Display borg messages"), - _("ãã¼ã°ã»ã¹ãã¼ã¿ã¹", "Display borg status"), - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL, - NULL -}; - - -/*! - * @brief ã¢ã¤ãã ã®ä¾¡å¤è¨è¿°ãã¼ãã« / - * Table of game-generated inscriptions (indexed by the defines in defines.h). -- RG - */ -const concptr game_inscriptions[] = -{ - NULL, /* FEEL_NONE */ -#ifdef JP - "å£ãã¦ãã", /* FEEL_BROKEN */ - "æããã", /* FEEL_TERRIBLE */ - "ç¡ä¾¡å¤", /* FEEL_WORTHLESS */ - "åªããã¦ãã", /* FEEL_CURSED */ - "ä¸è³ªä»¥ä¸", /* FEEL_UNCURSED */ - "並", /* FEEL_AVERAGE */ - "ä¸è³ª", /* FEEL_GOOD */ - "é«ç´å", /* FEEL_EXCELLENT */ - "ç¹å¥è£½", /* FEEL_SPECIAL */ -#else - "broken", /* FEEL_BROKEN */ - "terrible", /* FEEL_TERRIBLE */ - "worthless", /* FEEL_WORTHLESS */ - "cursed", /* FEEL_CURSED */ - "uncursed", /* FEEL_UNCURSED */ - "average", /* FEEL_AVERAGE */ - "good", /* FEEL_GOOD */ - "excellent", /* FEEL_EXCELLENT */ - "special", /* FEEL_SPECIAL */ -#endif - -}; - -/*! - * @brief ä¿®è¡å§ã®æ§ãè½åãã¼ãã« - */ -const kamae kamae_shurui[MAX_KAMAE] = -{ -#ifdef JP - {"çæ¦", 25, ""}, - {"ç½è", 30, ""}, - {"éç«", 35, ""}, - {"æ±é", 40, ""}, -#else - {"Genbu", 25, "(Black Tortoise) "}, - {"Byakko", 30, "(White Tiger) "}, - {"Seiryuu", 35, "(Blue Dragon) "}, - {"Suzaku", 40, "(Red Phoenix) "}, -#endif -}; - -/*! - * @brief å£è¡å®¶ã®æ§ãè½åãã¼ãã« - */ -const kamae kata_shurui[MAX_KATA] = -{ -#ifdef JP - {"å± å", 25, ""}, - {"風塵", 30, ""}, - {"é鬼", 35, ""}, - {"ç¡æ³", 40, ""}, -#else - {"Iai", 25, ""}, - {"Huujin", 30, ""}, - {"Kouki", 35, ""}, - {"Musou", 40, ""}, -#endif -}; - - -/*! - * @brief ã·ã³ãã«è§£èª¬ãã¼ãã« / - * 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". - */ -const concptr ident_info[] = -{ -#ifdef JP - " :æé", - "!:è¬, ãªã¤ã«", - "\":ã¢ãã¥ã¬ãã, é ¸é£¾ã", - "#:å£(é ããã¢)/æ¤ç©/æ°ä½", - "$:財å®(éãå®ç³)", - "%:é±è(溶岩ãç³è±)", - "&:ç®±", - "':éãããã¢", - "(:è»ãããé²å ·", - "):ç¾", - "*:財å®ãå«ãã é±èã¾ãã¯çå½¢ã®æªç©", - "+:éãããã¢", - ",:é£ã¹ç©, ãã°ãããã³", - "-:éæ³æ£, ããã", - ".:åº", - "/:ç«¿ç¶æ¦å¨(ã¢ãã¯ã¹/ãã¤ã¯/ç)", - "0:åç©é¤¨ã®å ¥å£", - "1:é貨å±ã®å ¥å£", - "2:é²å ·å±ã®å ¥å£", - "3:æ¦å¨å°éåºã®å ¥å£", - "4:寺é¢ã®å ¥å£", - "5:é¬éè¡ã®åºã®å ¥å£", - "6:éæ³ã®åºã®å ¥å£", - "7:ãã©ãã¯ãã¼ã±ããã®å ¥å£", - "8:æã家ã®å ¥å£", - "9:æ¸åºã®å ¥å£", - "::岩ç³", - ";:åé¿ã®å½«å/ççºã®ã«ã¼ã³", - "<:ä¸ãé段", - "=:æ輪", - ">:ä¸ãé段", - "?:å·»ç©", - "@:ãã¬ã¤ã¤ã¼", - "A:天使", - "B:é³¥", - "C:ç¬", - "D:å¤ä»£ãã©ã´ã³/ã¯ã¤ã¢ã¼ã ", - "E:ã¨ã¬ã¡ã³ã¿ã«", - "F:ãã³ã", - "G:ã´ã¼ã¹ã", - "H:é種", - "I:æè«", - "J:ãã", - "K:ãã©ã¼ã»ãã¼ãã«", - "L:ãªãã", - "M:å¤é¦ã®ç¬è«é¡", - "N:è¬ã®çç©", - "O:ãªã¼ã¬", - "P:巨大人éåçç©", - "Q:ã¯ã¤ã«ã¹ã«ã°(èæã¤èå¡)", - "R:ç¬è«é¡/両çé¡", - "S:èè/ãµã½ãª/ãã", - "T:ããã«", - "U:ä¸ç´ãã¼ã¢ã³", - "V:ãã³ãã¤ã¢", - "W:ã¯ã¤ã/ã¬ã¤ã¹/ç", - "X:ã¾ã¼ã³/ã¶ã¬ã³/ç", - "Y:ã¤ã¨ãã£", - "Z:ãã¦ã³ã", - "[:å ãã¢ã¼ãã¼", - "\\:éå¨(ã¡ã¤ã¹/ã ã/ç)", - "]:種ã ã®é²å ·", - "^:ãã©ãã", - "_:æ", - "`:人形ï¼å½«å", - "a:ã¢ãª", - "b:ã³ã¦ã¢ãª", - "c:ã ã«ã", - "d:ãã©ã´ã³", - "e:ç®ç", - "f:ãã³", - "g:ã´ã¼ã¬ã ", - "h:ãããã/ã¨ã«ã/ãã¯ã¼ã", - "i:ãããã", - "j:ã¼ãªã¼", - "k:ã³ãã«ã", - "l:水棲çç©", - "m:ã¢ã«ã", - "n:ãã¼ã¬", - "o:ãªã¼ã¯", - "p:人é", - "q:å足ç£", - "r:ããºã", - "s:ã¹ã±ã«ãã³", - "t:çºã®äºº", - "u:ä¸ç´ãã¼ã¢ã³", - "v:ãã«ããã¯ã¹", - "w:ã¤ã¢ã ã·/大群", - /* "x:unused", */ - "y:ã¤ã¼ã¯", - "z:ã¾ã³ã/ãã¤ã©", - "{:é£ã³éå ·ã®å¼¾(ç¢/å¼¾)", - "|:åå£é¡(ã½ã¼ã/ãã¬ã¼/ç)", - "}:é£ã³éå ·(å¼/ã¯ãã¹ãã¦/ã¹ãªã³ã°)", - "~:æ°´/溶岩æµ(種ã ã®ã¢ã¤ãã )", -#else - " :A dark grid", - "!:A potion (or oil)", - "\":An amulet (or necklace)", - "#:A wall (or secret door) / a plant / a gas", - "$:Treasure (gold or gems)", - "%:A vein (magma or quartz)", - "&:A chest", - "':An open door", - "(:Soft armor", - "):A shield", - "*:A vein with treasure or a ball monster", - "+:A closed door", - ",:Food (or mushroom patch)", - "-:A wand (or rod)", - ".:Floor", - "/:A polearm (Axe/Pike/etc)", - "0:Entrance to Museum", - "1:Entrance to General Store", - "2:Entrance to Armory", - "3:Entrance to Weaponsmith", - "4:Entrance to Temple", - "5:Entrance to Alchemy shop", - "6:Entrance to Magic store", - "7:Entrance to Black Market", - "8:Entrance to your home", - "9:Entrance to the bookstore", - "::Rubble", - ";:A glyph of warding / an explosive rune", - "<:An up staircase", - "=:A ring", - ">:A down staircase", - "?:A scroll", - "@:You", - "A:Angel", - "B:Bird", - "C:Canine", - "D:Ancient Dragon/Wyrm", - "E:Elemental", - "F:Dragon Fly", - "G:Ghost", - "H:Hybrid", - "I:Insect", - "J:Snake", - "K:Killer Beetle", - "L:Lich", - "M:Multi-Headed Reptile", - "N:Mystery Living", - "O:Ogre", - "P:Giant Humanoid", - "Q:Quylthulg (Pulsing Flesh Mound)", - "R:Reptile/Amphibian", - "S:Spider/Scorpion/Tick", - "T:Troll", - "U:Major Demon", - "V:Vampire", - "W:Wight/Wraith/etc", - "X:Xorn/Xaren/etc", - "Y:Yeti", - "Z:Zephyr Hound", - "[:Hard armor", - "\\:A hafted weapon (mace/whip/etc)", - "]:Misc. armor", - "^:A trap", - "_:A staff", - "`:A figurine or statue", - "a:Ant", - "b:Bat", - "c:Centipede", - "d:Dragon", - "e:Floating Eye", - "f:Feline", - "g:Golem", - "h:Hobbit/Elf/Dwarf", - "i:Icky Thing", - "j:Jelly", - "k:Kobold", - "l:Aquatic monster", - "m:Mold", - "n:Naga", - "o:Orc", - "p:Person/Human", - "q:Quadruped", - "r:Rodent", - "s:Skeleton", - "t:Townsperson", - "u:Minor Demon", - "v:Vortex", - "w:Worm/Worm-Mass", - /* "x:unused", */ - "y:Yeek", - "z:Zombie/Mummy", - "{:A missile (arrow/bolt/shot)", - "|:An edged weapon (sword/dagger/etc)", - "}:A launcher (bow/crossbow/sling)", - "~:Fluid terrain (or miscellaneous item)", -#endif - - NULL -}; - - -/*! - * @brief å°å½¢ç¶æ ãã©ã°ãã¼ãã« / - * The table of features' actions - */ -const byte feature_action_flags[FF_FLAG_MAX] = -{ - 0, /* LOS */ - 0, /* PROJECT */ - 0, /* MOVE */ - 0, /* PLACE */ - 0, /* DROP */ - 0, /* SECRET */ - 0, /* NOTICE */ - 0, /* REMEMBER */ - 0, /* OPEN */ - 0, /* CLOSE */ - FAF_CRASH_GLASS, /* BASH */ - 0, /* SPIKE */ - FAF_DESTROY, /* DISARM */ - 0, /* STORE */ - FAF_DESTROY | FAF_CRASH_GLASS, /* TUNNEL */ - 0, /* MAY_HAVE_GOLD */ - 0, /* HAS_GOLD */ - 0, /* HAS_ITEM */ - 0, /* DOOR */ - 0, /* TRAP */ - 0, /* STAIRS */ - 0, /* GLYPH */ - 0, /* LESS */ - 0, /* MORE */ - 0, /* RUN */ - 0, /* FLOOR */ - 0, /* WALL */ - 0, /* PERMANENT */ - 0, /* INNER */ - 0, /* OUTER */ - 0, /* SOLID */ - 0, /* HIT_TRAP */ - - 0, /* BRIDGE */ - 0, /* RIVER */ - 0, /* LAKE */ - 0, /* BRIDGED */ - 0, /* COVERED */ - 0, /* GLOW */ - 0, /* ENSECRET */ - 0, /* WATER */ - 0, /* LAVA */ - 0, /* SHALLOW */ - 0, /* DEEP */ - 0, /* FILLED */ - FAF_DESTROY | FAF_CRASH_GLASS, /* HURT_ROCK */ - 0, /* HURT_FIRE */ - 0, /* HURT_COLD */ - 0, /* HURT_ACID */ - 0, /* ICE */ - 0, /* ACID */ - 0, /* OIL */ - 0, /* XXX04 */ - 0, /* CAN_CLIMB */ - 0, /* CAN_FLY */ - 0, /* CAN_SWIM */ - 0, /* CAN_PASS */ - 0, /* CAN_OOZE */ - 0, /* CAN_DIG */ - 0, /* HIDE_ITEM */ - 0, /* HIDE_SNEAK */ - 0, /* HIDE_SWIM */ - 0, /* HIDE_DIG */ - 0, /* KILL_HUGE */ - 0, /* KILL_MOVE */ - - 0, /* PICK_TRAP */ - 0, /* PICK_DOOR */ - 0, /* ALLOC */ - 0, /* CHEST */ - 0, /* DROP_1D2 */ - 0, /* DROP_2D2 */ - 0, /* DROP_GOOD */ - 0, /* DROP_GREAT */ - 0, /* HURT_POIS */ - 0, /* HURT_ELEC */ - 0, /* HURT_WATER */ - 0, /* HURT_BWATER */ - 0, /* USE_FEAT */ - 0, /* GET_FEAT */ - 0, /* GROUND */ - 0, /* OUTSIDE */ - 0, /* EASY_HIDE */ - 0, /* EASY_CLIMB */ - 0, /* MUST_CLIMB */ - 0, /* TREE */ - 0, /* NEED_TREE */ - 0, /* BLOOD */ - 0, /* DUST */ - 0, /* SLIME */ - 0, /* PLANT */ - 0, /* XXX2 */ - 0, /* INSTANT */ - 0, /* EXPLODE */ - 0, /* TIMED */ - 0, /* ERUPT */ - 0, /* STRIKE */ - 0, /* SPREAD */ - - 0, /* SPECIAL */ - FAF_DESTROY | FAF_NO_DROP | FAF_CRASH_GLASS, /* HURT_DISI */ - 0, /* QUEST_ENTER */ - 0, /* QUEST_EXIT */ - 0, /* QUEST */ - 0, /* SHAFT */ - 0, /* MOUNTAIN */ - 0, /* BLDG */ - 0, /* MINOR_GLYPH */ - 0, /* PATTERN */ - 0, /* TOWN */ - 0, /* ENTRANCE */ - 0, /* MIRROR */ - 0, /* UNPERM */ - 0, /* TELEPORTABLE */ - 0, /* CONVERT */ - 0, /* GLASS */ -}; -