#define MAX_SEXES 2 /*!< 性別の定義最大数 / Maximum number of player "sex" types (see "table.c", etc) */
#define MAX_CLASS 28 /*!< 職業の最大定義数 Maximum number of player "class" types (see "table.c", etc) */
#define MAX_SEIKAKU 13 /*!< 性格の最大定義数 */
-#define MAX_PATRON 16 /*!< カオスパトロンの最大定義数 / The number of "patrons" available (for Chaos Warriors) */
/* ELDRITCH_HORRORによるsanity blast処理に関するメッセージの最大数 / Number of entries in the sanity-blast descriptions */
#define MAX_SAN_HORROR 20 /*!< 恐ろしい対象の形容数(正常時) */
#define VER_INFO_ROW 3 //!< タイトル表記(行)
-/*
- * Some screen locations for various display routines
- * Currently, row 8 and 15 are the only "blank" rows.
- * That leaves a "border" around the "stat" values.
- */
-
-#define ROW_RACE 1
-#define COL_RACE 0 /* <race name> */
-
-/*#define ROW_CLASS 2 */
-/*#define COL_CLASS 0 */ /* <class name> */
-
-#define ROW_TITLE 2
-#define COL_TITLE 0 /* <title> or <mode> */
-
-/*#define ROW_SEIKAKU 4 */
-/*#define COL_SEIKAKU 0*/ /* <seikaku> */
-
-#define ROW_DAY 21
-#define COL_DAY 0 /* day */
-
-#define ROW_DUNGEON 22
-#define COL_DUNGEON 0 /* dungeon */
-
-#define ROW_LEVEL 3
-#define COL_LEVEL 0 /* "LEVEL xxxxxx" */
-
-#define ROW_EXP 4
-#define COL_EXP 0 /* "EXP xxxxxxxx" */
-
-#define ROW_GOLD 5
-#define COL_GOLD 0 /* "AU xxxxxxxxx" */
-
-#define ROW_EQUIPPY 6
-#define COL_EQUIPPY 0 /* equippy chars */
-
-#define ROW_STAT 7
-#define COL_STAT 0 /* "xxx xxxxxx" */
-
-#define ROW_AC 13
-#define COL_AC 0 /* "Cur AC xxxxx" */
-
-#define ROW_HPMP 14
-#define COL_HPMP 0
-
-#define ROW_CURHP 14
-#define COL_CURHP 0 /* "Cur HP xxxxx" */
-
-#define ROW_CURSP 15
-#define COL_CURSP 0 /* "Cur SP xxxxx" */
-
-#define ROW_RIDING_INFO 16
-#define COL_RIDING_INFO 0 /* "xxxxxxxxxxxx" */
-
-#define ROW_INFO 17
-#define COL_INFO 0 /* "xxxxxxxxxxxx" */
#define ROW_MAP 0
#define COL_MAP 12
-#define ROW_CUT 18
-#define COL_CUT 0 /* <cut> */
-
-#define ROW_STUN 19
-#define COL_STUN 0 /* <stun> */
-
-#define ROW_HUNGRY 20
-#define COL_HUNGRY 0 /* "Weak" / "Hungry" / "Full" / "Gorged" */
-
-#define ROW_STATE 20
-#define COL_STATE 7 /* <state> */
-
-#define ROW_SPEED (-1)
-#define COL_SPEED (-24) /* "Slow (-NN)" or "Fast (+NN)" */
-
-#define ROW_STUDY (-1)
-#define COL_STUDY (-13) /* "Study" */
-
-#define ROW_DEPTH (-1)
-#define COL_DEPTH (-8) /* "Lev NNN" / "NNNN ft" */
-
-#define ROW_STATBAR (-1)
-#define COL_STATBAR 0
-#define MAX_COL_STATBAR (-26)
-
-
/*
* Number of feats we change to (Excluding default). Used in f_info.txt.
*/
#define PW_BORG_2 0x00008000L /*!<サブウィンドウ描画フラグ: ボーグステータス / Display borg status */
-/* Bit flags for monster_desc() */
-#define MD_OBJECTIVE 0x00000001 /* Objective (or Reflexive) */
-#define MD_POSSESSIVE 0x00000002 /* Possessive (or Reflexive) */
-#define MD_INDEF_HIDDEN 0x00000004 /* Use indefinites for hidden monsters ("something") */
-#define MD_INDEF_VISIBLE 0x00000008 /* Use indefinites for visible monsters ("a kobold") */
-#define MD_PRON_HIDDEN 0x00000010 /* Pronominalize hidden monsters */
-#define MD_PRON_VISIBLE 0x00000020 /* Pronominalize visible monsters */
-#define MD_ASSUME_HIDDEN 0x00000040 /* Assume the monster is hidden */
-#define MD_ASSUME_VISIBLE 0x00000080 /* Assume the monster is visible */
-#define MD_TRUE_NAME 0x00000100 /* Chameleon's true name */
-#define MD_IGNORE_HALLU 0x00000200 /* Ignore hallucination, and penetrate shape change */
-
-
/*
* Bit flags for object_desc()
*/
#define OD_FORCE_FLAVOR 0x00000080 /* Get un-shuffled flavor name */
-/*
- * p_ptr->special_attackによるプレイヤーの攻撃状態の定義 / Bit flags for the "p_ptr->special_attack" variable. -LM-
- *
- * Note: The elemental and poison attacks should be managed using the
- * function "set_ele_attack", in spell2.c. This provides for timeouts and
- * prevents the player from getting more than one at a time.
- */
-#define ATTACK_CONFUSE 0x00000001 /*!< プレイヤーのステータス:混乱打撃 */
-#define ATTACK_XXX1 0x00000002 /*!< プレイヤーのステータス:未使用1 */
-#define ATTACK_XXX2 0x00000004 /*!< プレイヤーのステータス:未使用2 */
-#define ATTACK_XXX3 0x00000008 /*!< プレイヤーのステータス:未使用3 */
-#define ATTACK_ACID 0x00000010 /*!< プレイヤーのステータス:魔法剣/溶解 */
-#define ATTACK_ELEC 0x00000020 /*!< プレイヤーのステータス:魔法剣/電撃 */
-#define ATTACK_FIRE 0x00000040 /*!< プレイヤーのステータス:魔法剣/火炎 */
-#define ATTACK_COLD 0x00000080 /*!< プレイヤーのステータス:魔法剣/冷凍 */
-#define ATTACK_POIS 0x00000100 /*!< プレイヤーのステータス:魔法剣/毒殺 */
-#define ATTACK_HOLY 0x00000200 /*!< プレイヤーのステータス:対邪?(未使用) */
-#define ATTACK_SUIKEN 0x00000400 /*!< プレイヤーのステータス:酔拳 */
-
-/*
- * p_ptr->special_defenseによるプレイヤーの防御状態の定義 / Bit flags for the "p_ptr->special_defense" variable. -LM-
- */
-#define DEFENSE_ACID 0x00000001 /*!< プレイヤーのステータス:酸免疫 */
-#define DEFENSE_ELEC 0x00000002 /*!< プレイヤーのステータス:電撃免疫 */
-#define DEFENSE_FIRE 0x00000004 /*!< プレイヤーのステータス:火炎免疫 */
-#define DEFENSE_COLD 0x00000008 /*!< プレイヤーのステータス:冷気免疫 */
-#define DEFENSE_POIS 0x00000010 /*!< プレイヤーのステータス:毒免疫 */
-#define KAMAE_GENBU 0x00000020 /*!< プレイヤーのステータス:玄武の構え */
-#define KAMAE_BYAKKO 0x00000040 /*!< プレイヤーのステータス:白虎の構え */
-#define KAMAE_SEIRYU 0x00000080 /*!< プレイヤーのステータス:青竜の構え */
-#define KAMAE_SUZAKU 0x00000100 /*!< プレイヤーのステータス:朱雀の構え */
-#define KATA_IAI 0x00000200 /*!< プレイヤーのステータス:居合 */
-#define KATA_FUUJIN 0x00000400 /*!< プレイヤーのステータス:風塵 */
-#define KATA_KOUKIJIN 0x00000800 /*!< プレイヤーのステータス:降鬼陣 */
-#define KATA_MUSOU 0x00001000 /*!< プレイヤーのステータス:無想 */
-#define NINJA_KAWARIMI 0x00002000 /*!< プレイヤーのステータス:変わり身 */
-#define NINJA_S_STEALTH 0x00004000 /*!< プレイヤーのステータス:超隠密 */
-
-#define MAX_KAMAE 4 /*!< 修行僧の構え最大数 */
-#define KAMAE_MASK (KAMAE_GENBU | KAMAE_BYAKKO | KAMAE_SEIRYU | KAMAE_SUZAKU) /*!< 修行僧の構えビット配列 */
-
-#define MAX_KATA 4 /*!< 修行僧の型最大数 */
-#define KATA_MASK (KATA_IAI | KATA_FUUJIN | KATA_KOUKIJIN | KATA_MUSOU) /*!< 修行僧の型ビット配列 */
-
-
-#define ACTION_NONE 0 /*!< 持続行動: なし */
-#define ACTION_SEARCH 1 /*!< 持続行動: 探索 */
-#define ACTION_REST 2 /*!< 持続行動: 休憩 */
-#define ACTION_LEARN 3 /*!< 持続行動: 青魔法ラーニング */
-#define ACTION_FISH 4 /*!< 持続行動: 釣り */
-#define ACTION_KAMAE 5 /*!< 持続行動: 修行僧の構え */
-#define ACTION_KATA 6 /*!< 持続行動: 剣術家の型 */
-#define ACTION_SING 7 /*!< 持続行動: 歌 */
-#define ACTION_HAYAGAKE 8 /*!< 持続行動: 早駆け */
-#define ACTION_SPELL 9 /*!< 持続行動: 呪術 */
-
-
/* Empty hand status */
#define EMPTY_HAND_NONE 0x0000 /* Both hands are used */
#define EMPTY_HAND_LARM 0x0001 /* Left hand is empty */
/*
- * Special Monster Flags (all temporary)
- */
-#define MFLAG_VIEW 0x01 /* Monster is in line of sight */
-#define MFLAG_TEMP 0x02 /* Monster is marked for project_all_los() */
-#define MFLAG_XXX2 0x04 /* (unused) */
-#define MFLAG_XXX3 0x08 /* (unused) */
-#define MFLAG_BORN 0x10 /* Monster is still being born */
-#define MFLAG_NICE 0x20 /* Monster is still being nice */
-
-#define MFLAG2_KAGE 0x01 /* Monster is kage */
-#define MFLAG2_NOPET 0x02 /* Cannot make monster pet */
-#define MFLAG2_NOGENO 0x04 /* Cannot genocide */
-#define MFLAG2_CHAMELEON 0x08 /* Monster is chameleon */
-#define MFLAG2_NOFLOW 0x10 /* Monster is in no_flow_by_smell mode */
-#define MFLAG2_SHOW 0x20 /* Monster is recently memorized */
-#define MFLAG2_MARK 0x40 /* Monster is currently memorized */
-
-
-/*
* Object flags
*
* Old variables for object flags such as flags1, flags2, and flags3
#define RFR_XXX31 0x80000000
-/*
- * Hack -- choose "intelligent" spells when desperate
- * Including "summon" spells
- */
-#define RF4_INT_MASK \
- (RF4_SUMMON_MASK | RF4_DISPEL)
-
-#define RF5_INT_MASK \
- (RF5_SUMMON_MASK | \
- RF5_HOLD | RF5_SLOW | RF5_CONF | RF5_BLIND | RF5_SCARE)
-
-#define RF6_INT_MASK \
- (RF6_SUMMON_MASK | \
- RF6_BLINK | RF6_TPORT | RF6_TELE_LEVEL | RF6_TELE_AWAY | \
- RF6_HEAL | RF6_INVULNER | RF6_HASTE | RF6_TRAPS)
-
-/*
- * Hack -- spells that cannot be used while player riding on the monster
- */
-#define RF4_RIDING_MASK \
- (RF4_SHRIEK)
-
-#define RF5_RIDING_MASK 0UL
-
-#define RF6_RIDING_MASK \
- (RF6_BLINK | RF6_TPORT | RF6_TRAPS | RF6_DARKNESS | RF6_SPECIAL)
-
-/*
- * Hack -- "bolt" spells that may hurt fellow monsters
- * Currently "bolt" spells are included in "attack"
- */
-#define RF4_BOLT_MASK \
- (RF4_ROCKET | RF4_SHOOT)
-
-#define RF5_BOLT_MASK \
- (RF5_BO_ACID | RF5_BO_ELEC | RF5_BO_FIRE | RF5_BO_COLD | \
- RF5_BO_NETH | RF5_BO_WATE | RF5_BO_MANA | RF5_BO_PLAS | \
- RF5_BO_ICEE | RF5_MISSILE)
-
-#define RF6_BOLT_MASK 0UL
-
-/*
- * Hack -- "beam" spells that may hurt fellow monsters
- * Currently "beam" spells are included in "attack"
- */
-#define RF4_BEAM_MASK 0UL
-
-#define RF5_BEAM_MASK 0UL
-
-#define RF6_BEAM_MASK (RF6_PSY_SPEAR)
-
-/*
- * Hack -- "ball" spells that may hurt friends
- * Including "radius 4 ball" and "breath" spells
- * Currently "ball" spells are included in "attack"
- */
-#define RF4_BALL_MASK \
- (RF4_BIG_BALL_MASK | RF4_BREATH_MASK | \
- RF4_ROCKET | RF4_BA_NUKE)
-
-#define RF5_BALL_MASK \
- (RF5_BIG_BALL_MASK | RF5_BREATH_MASK | \
- RF5_BA_ACID | RF5_BA_ELEC | RF5_BA_FIRE | RF5_BA_COLD | \
- RF5_BA_POIS | RF5_BA_NETH)
-
-#define RF6_BALL_MASK \
- (RF6_BIG_BALL_MASK | RF6_BREATH_MASK)
-
-/*
- * Hack -- "ball" spells with radius 4 that may hurt friends
- * Currently "radius 4 ball" spells are included in "ball"
- */
-#define RF4_BIG_BALL_MASK \
- (RF4_BA_CHAO)
-
-#define RF5_BIG_BALL_MASK \
- (RF5_BA_LITE | RF5_BA_DARK | RF5_BA_WATE | RF5_BA_MANA)
-
-#define RF6_BIG_BALL_MASK 0UL
-
-/*
- * Hack -- "breath" spells that may hurt friends
- * Currently "breath" spells are included in "ball" and "non-magic"
- */
-#define RF4_BREATH_MASK \
- (RF4_BR_ACID | RF4_BR_ELEC | RF4_BR_FIRE | RF4_BR_COLD | \
- RF4_BR_POIS | RF4_BR_NETH | RF4_BR_LITE | RF4_BR_DARK | \
- RF4_BR_CONF | RF4_BR_SOUN | RF4_BR_CHAO | RF4_BR_DISE | \
- RF4_BR_NEXU | RF4_BR_SHAR | RF4_BR_TIME | RF4_BR_INER | \
- RF4_BR_GRAV | RF4_BR_PLAS | RF4_BR_WALL | RF4_BR_MANA | \
- RF4_BR_NUKE | RF4_BR_DISI)
-
-#define RF5_BREATH_MASK 0UL
-
-#define RF6_BREATH_MASK 0UL
-
-/*
- * Hack -- "summon" spells
- * Currently "summon" spells are included in "intelligent" and "indirect"
- */
-#define RF4_SUMMON_MASK 0UL
-
-#define RF5_SUMMON_MASK 0UL
-
-#define RF6_SUMMON_MASK \
- (RF6_S_KIN | RF6_S_CYBER | RF6_S_MONSTER | RF6_S_MONSTERS | RF6_S_ANT | \
- RF6_S_SPIDER | RF6_S_HOUND | RF6_S_HYDRA | RF6_S_ANGEL | RF6_S_DEMON | \
- RF6_S_UNDEAD | RF6_S_DRAGON | RF6_S_HI_UNDEAD | RF6_S_HI_DRAGON | \
- RF6_S_AMBERITES | RF6_S_UNIQUE)
-
-/*
- * Hack -- "attack" spells
- * Including "bolt", "beam" and "ball" spells
- */
-#define RF4_ATTACK_MASK \
- (RF4_BOLT_MASK | RF4_BEAM_MASK | RF4_BALL_MASK | RF4_DISPEL)
-
-#define RF5_ATTACK_MASK \
- (RF5_BOLT_MASK | RF5_BEAM_MASK | RF5_BALL_MASK | \
- RF5_DRAIN_MANA | RF5_MIND_BLAST | RF5_BRAIN_SMASH | \
- RF5_CAUSE_1 | RF5_CAUSE_2 | RF5_CAUSE_3 | RF5_CAUSE_4 | \
- RF5_SCARE | RF5_BLIND | RF5_CONF | RF5_SLOW | RF5_HOLD)
-
-#define RF6_ATTACK_MASK \
- (RF6_BOLT_MASK | RF6_BEAM_MASK | RF6_BALL_MASK | \
- RF6_HAND_DOOM | RF6_TELE_TO | RF6_TELE_AWAY | RF6_TELE_LEVEL | \
- RF6_DARKNESS | RF6_TRAPS | RF6_FORGET)
-
-/*
- * Hack -- "indirect" spells
- * Including "summon" spells
- */
-#define RF4_INDIRECT_MASK \
- (RF4_SUMMON_MASK | RF4_SHRIEK)
-
-#define RF5_INDIRECT_MASK \
- (RF5_SUMMON_MASK)
-
-#define RF6_INDIRECT_MASK \
- (RF6_SUMMON_MASK | \
- RF6_HASTE | RF6_HEAL | RF6_INVULNER | RF6_BLINK | RF6_WORLD | \
- RF6_TPORT | RF6_RAISE_DEAD)
-
-/*
- * Hack -- "non-magic" spells
- * Including "breath" spells
- */
-#define RF4_NOMAGIC_MASK \
- (RF4_BREATH_MASK | RF4_SHRIEK | RF4_ROCKET | RF4_SHOOT)
-
-#define RF5_NOMAGIC_MASK \
- (RF5_BREATH_MASK)
-
-#define RF6_NOMAGIC_MASK \
- (RF6_BREATH_MASK | RF6_SPECIAL)
-
-/*
- * Hack -- "torch" masks
- */
+ /*
+ * Hack -- "torch" masks
+ */
#define RF7_LITE_MASK \
(RF7_HAS_LITE_1 | RF7_SELF_LITE_1 | RF7_HAS_LITE_2 | RF7_SELF_LITE_2)
#define RF7_SELF_LD_MASK \
(RF7_SELF_LITE_1 | RF7_SELF_LITE_2 | RF7_SELF_DARK_1 | RF7_SELF_DARK_2)
-/*
- * Hack -- effective elemental and poison immunity mask
- */
+ /*
+ * Hack -- effective elemental and poison immunity mask
+ */
#define RFR_EFF_IM_ACID_MASK (RFR_IM_ACID | RFR_RES_ALL)
#define RFR_EFF_IM_ELEC_MASK (RFR_IM_ELEC | RFR_RES_ALL)
#define RFR_EFF_IM_FIRE_MASK (RFR_IM_FIRE | RFR_RES_ALL)
*/
#define SOUND_MAX 67 /*!< 効果音定義の最大数 */
-#define MAX_VIRTUE 18 /*!< 徳定義の最大数 */
-
-#define V_COMPASSION 1
-#define V_HONOUR 2
-#define V_JUSTICE 3
-#define V_SACRIFICE 4
-#define V_KNOWLEDGE 5
-#define V_FAITH 6
-#define V_ENLIGHTEN 7
-#define V_ENCHANT 8
-#define V_CHANCE 9
-#define V_NATURE 10
-#define V_HARMONY 11
-#define V_VITALITY 12
-#define V_UNLIFE 13
-#define V_PATIENCE 14
-#define V_TEMPERANCE 15
-#define V_DILIGENCE 16
-#define V_VALOUR 17
-#define V_INDIVIDUALISM 18
-
/*** Hack ***/
#define MAX_BACT 48
/*
- * Quest status
- */
-#define QUEST_STATUS_UNTAKEN 0 /*!< クエストステータス状態:未発生*/
-#define QUEST_STATUS_TAKEN 1 /*!< クエストステータス状態:発生中*/
-#define QUEST_STATUS_COMPLETED 2 /*!< クエストステータス状態:達成*/
-#define QUEST_STATUS_REWARDED 3 /*!< クエストステータス状態:報酬受け取り前*/
-#define QUEST_STATUS_FINISHED 4 /*!< クエストステータス状態:完了*/
-#define QUEST_STATUS_FAILED 5 /*!< クエストステータス状態:失敗*/
-#define QUEST_STATUS_FAILED_DONE 6 /*!< クエストステータス状態:失敗完了*/
-#define QUEST_STATUS_STAGE_COMPLETED 7 /*!< クエストステータス状態:ステージ毎達成*/
-
-/*
- * Quest type
- */
-#define QUEST_TYPE_KILL_LEVEL 1 /*!< クエスト目的: 特定のユニークモンスターを倒す */
-#define QUEST_TYPE_KILL_ANY_LEVEL 2 /*!< クエスト目的: イベント受託時点でランダムで選ばれた特定のユニークモンスターを倒す */
-#define QUEST_TYPE_FIND_ARTIFACT 3 /*!< クエスト目的: 特定のアーティファクトを発見する */
-#define QUEST_TYPE_FIND_EXIT 4 /*!< クエスト目的: 脱出する */
-#define QUEST_TYPE_KILL_NUMBER 5 /*!< クエスト目的: モンスターを無差別に特定数倒す */
-#define QUEST_TYPE_KILL_ALL 6 /*!< クエスト目的: エリア中のすべてのモンスターを全て倒す */
-#define QUEST_TYPE_RANDOM 7 /*!< クエスト目的: ランダムクエストとして選ばれたユニーク1体を倒す */
-#define QUEST_TYPE_TOWER 8 /*!< クエスト目的: 複数のエリアの全てのモンスターを倒す */
-
-/*
* Initialization flags
*/
#define INIT_NAME_ONLY 0x01
#define INIT_ONLY_FEATURES 0x10
#define INIT_ONLY_BUILDINGS 0x20
-/*
- * Quest flags
- */
-#define QUEST_FLAG_SILENT 0x01 /*!< クエストフラグ: クエスト進行に関する情報表示を抑止する / no messages from completion */
-#define QUEST_FLAG_PRESET 0x02 /*!< クエストフラグ: クエストがダンジョン外で発生する / quest is outside the main dungeon */
-#define QUEST_FLAG_ONCE 0x04 /*!< クエストフラグ: クエストがフロアを出た時点で完了する / quest is marked finished after leaving */
-#define QUEST_FLAG_TOWER 0x08 /*!< クエストフラグ: クエスト:塔の形式で進行する / Tower quest is special */
/*
* Available graphic modes
#define MS_S_UNIQUE 95
-#define MON_BEGGAR 12
-#define MON_LEPER 13
-#define MON_BLACK_MARKET 14
-#define MON_LION_HEART 19
-#define MON_GHB 39
-#define MON_NOV_PRIEST 45
-#define MON_GRIP 53
-#define MON_WOLF 54
-#define MON_FANG 55
-#define MON_LOUSE 69
-#define MON_PIRANHA 70
-#define MON_COPPER_COINS 85
-#define MON_NOV_PALADIN 97
-#define MON_GREEN_G 100
-#define MON_NOV_PRIEST_G 109
-#define MON_SILVER_COINS 117
-#define MON_D_ELF 122
-#define MON_MANES 128
-#define MON_LOST_SOUL 133
-#define MON_ROBIN_HOOD 138
-#define MON_NOV_PALADIN_G 147
-#define MON_PHANTOM_W 152
-#define MON_WOUNDED_BEAR 159
-#define MON_D_ELF_MAGE 178
-#define MON_D_ELF_WARRIOR 182
-#define MON_BLUE_HORROR 189
-#define MON_GOLD_COINS 195
-#define MON_VORPAL_BUNNY 205
-#define MON_MASTER_YEEK 224
-#define MON_PRIEST 225
-#define MON_D_ELF_PRIEST 226
-#define MON_TIGER 230
-#define MON_MITHRIL_COINS 239
-#define MON_DRUID 241
-#define MON_PINK_HORROR 242
-#define MON_HILL_GIANT 255
-#define MON_WERERAT 270
-#define MON_UMBER_HULK 283
-#define MON_ORC_CAPTAIN 285
-#define MON_BERSERKER 293
-#define MON_IMP 296
-#define MON_SHAGRAT 314
-#define MON_GORBAG 315
-#define MON_STONE_GIANT 321
-#define MON_LIZARD_KING 332
-#define MON_WYVERN 334
-#define MON_SABRE_TIGER 339
-#define MON_D_ELF_LORD 348
-#define MON_FIRE_VOR 354
-#define MON_WATER_VOR 355
-#define MON_ARCH_VILE 357
-#define MON_COLD_VOR 358
-#define MON_ENERGY_VOR 359
-#define MON_IRON_GOLEM 367
-#define MON_JADE_MONK 370
-#define MON_D_ELF_WARLOCK 375
-#define MON_HAGEN 383
-#define MON_MENELDOR 384
-#define MON_PHANTOM_B 385
-#define MON_C_CRAWLER 395
-#define MON_XICLOTLAN 396
-#define MON_D_ELF_DRUID 400
-#define MON_TROLL_PRIEST 403
-#define MON_GWAIHIR 410
-#define MON_ANGEL 417
-#define MON_ADAMANT_COINS 423
-#define MON_COLBRAN 435
-#define MON_SPIRIT_NAGA 436
-#define MON_GACHAPIN 441
-#define MON_BASILISK 453
-#define MON_ARCHANGEL 456
-#define MON_MITHRIL_GOLEM 464
-#define MON_THORONDOR 468
-#define MON_SHADOW_DRAKE 471
-#define MON_GHOST 477
-#define MON_OGRE_SHAMAN 479
-#define MON_GHOUL_KING 483
-#define MON_NINJA 485
-#define MON_BICLOPS 490
-#define MON_IVORY_MONK 492
-#define MON_LOG_MASTER 498
-#define MON_ETHER_DRAKE 504
-#define MON_GOEMON 505
-#define MON_CHERUB 511
-#define MON_WATER_ELEM 512
-#define MON_JURT 517
-#define MON_LICH 518
-#define MON_BLOODLETTER 523
-#define MON_HALFLING_S 539
-#define MON_GRAV_HOUND 540
-#define MON_REVENANT 555
-#define MON_RAAL 557
-#define MON_COLOSSUS 558
-#define MON_NIGHTBLADE 564
-#define MON_ELDER_THING 569
-#define MON_CRYPT_THING 577
-#define MON_NEXUS_VOR 587
-#define MON_PLASMA_VOR 588
-#define MON_TIME_VOR 589
-#define MON_M_MH_DRAGON 593
-#define MON_MANDOR 598
-#define MON_SHIM_VOR 600
-#define MON_SERAPH 605
-#define MON_BARON_HELL 609
-#define MON_KAVLAX 616
-#define MON_ETTIN 621
-#define MON_VAMPIRE_LORD 623
-#define MON_JUBJUB 640
-#define MON_G_C_DRAKE 646
-#define MON_CLUB_DEMON 648
-#define MON_F_ANGEL 652
-#define MON_D_ELF_SORC 657
-#define MON_MASTER_LICH 658
-#define MON_RINALDO 660
-#define MON_ARCHON 661
-#define MON_UND_BEHOLDER 664
-#define MON_IRON_LICH 666
-#define MON_JACK_SHADOWS 670
-#define MON_LLOIGOR 682
-#define MON_DREADMASTER 690
-#define MON_DROLEM 691
-#define MON_DAWN 693
-#define MON_NAZGUL 696
-#define MON_SMAUG 697
-#define MON_STORMBRINGER 698
-#define MON_ULTRA_PALADIN 699
-#define MON_G_TITAN 702
-#define MON_S_TYRANNO 705
-#define MON_FAFNER 712
-#define MON_G_BALROG 720
-#define MON_TIME_HOUND 725
-#define MON_PLASMA_HOUND 726
-#define MON_BULLGATES 732
-#define MON_SANTACLAUS 733
-#define MON_LORD_CHAOS 737
-#define MON_TINDALOS 739
-#define MON_DEMILICH 742
-#define MON_NIGHTCRAWLER 744
-#define MON_CHAOS_VOR 751
-#define MON_AETHER_VOR 752
-#define MON_FUNDIN 762
-#define MON_DWORKIN 763
-#define MON_NIGHTWALKER 768
-#define MON_RAPHAEL 769
-#define MON_SARUMAN 771
-#define MON_GANDALF 772
-#define MON_BRAND 773
-#define MON_SHADOWLORD 774
-#define MON_ARCHLICH 776
-#define MON_JABBERWOCK 778
-#define MON_CHAOS_HOUND 779
-#define MON_ULT_BEHOLDER 781
-#define MON_SHAMBLER 786
-#define MON_BLEYS 789
-#define MON_FIONA 791
-#define MON_SKY_DRAKE 793
-#define MON_JULIAN 794
-#define MON_BLACK_REAVER 798
-#define MON_CAINE 799
-#define MON_GERARD 807
-#define MON_UNGOLIANT 808
-#define MON_ATLACH_NACHA 809
-#define MON_Y_GOLONAC 810
-#define MON_AETHER_HOUND 811
-#define MON_WARP_DEMON 812
-#define MON_ERIC 813
-#define MON_UNMAKER 815
-#define MON_CYBER 816
-#define MON_KLING 819
-#define MON_CORWIN 820
-#define MON_ANGMAR 825
-#define MON_CANTORAS 830
-#define MON_GODZILLA 832
-#define MON_SPAWN_CTH 836
-#define MON_SURTUR 837
-#define MON_TARRASQUE 838
-#define MON_LUNGORTHIN 839
-#define MON_CYBER_KING 843
-#define MON_WYRM_POWER 847
-#define MON_NODENS 849
-#define MON_JORMUNGAND 854
-#define MON_DESTROYER 855
-#define MON_GOTHMOG 856
-#define MON_G_CTHULHU 857
-#define MON_SAURON 858
-#define MON_UNICORN_ORD 859
-#define MON_OBERON 860
-#define MON_MORGOTH 861
-#define MON_SERPENT 862
-#define MON_ONE_RING 864
-#define MON_CAAWS 866
-#define MON_CULVERIN 867
-#define MON_EBONY_MONK 870
-#define MON_HAGURE 871
-#define MON_OROCHI 872
-#define MON_ECHIZEN 873
-#define MON_SPECT_WYRM 874
-#define MON_DIO 878
-#define MON_OHMU 879
-#define MON_WONG 880
-#define MON_ZOMBI_SERPENT 883
-#define MON_D_ELF_SHADE 886
-#define MON_MANA_HOUND 887
-#define MON_VENOM_WYRM 890
-#define MON_TROLL_KING 894
-#define MON_BAZOOKER 896
-#define MON_SHARD_VOR 897
-#define MON_ELF_LORD 900
-#define MON_MASTER_MYS 916
-#define MON_G_MASTER_MYS 917
-#define MON_IE 921
-#define MON_TSUCHINOKO 926
-#define MON_GCWADL 929
-#define MON_LOCKE_CLONE 930
-#define MON_CALDARM 931
-#define MON_BANORLUPART 932
-#define MON_BANOR 933
-#define MON_LUPART 934
-#define MON_KENSHIROU 936
-#define MON_W_KNIGHT 938
-#define MON_PLANETAR 942
-#define MON_SOLAR 943
-#define MON_BIKETAL 945
-#define MON_RICH 948
-#define MON_IKETA 949
-#define MON_B_DEATH_SWORD 953
-#define MON_YASE_HORSE 955
-#define MON_HORSE 956
-#define MON_BOTEI 963
-#define MON_KAGE 964
-#define MON_JAIAN 967
-#define MON_BELD 973
-#define MON_THAT_BAT 975
-#define MON_SHUTEN 979
-#define MON_FENGHUANG 988
-#define MON_KIRIN 989
-#define MON_BAHAMUT 1000
-#define MON_SUKE 1001
-#define MON_KAKU 1002
-#define MON_GHOST_Q 1003
-#define MON_PIP 1004
-#define MON_A_GOLD 1010
-#define MON_A_SILVER 1011
-#define MON_ROLENTO 1013
-#define MON_RAOU 1018
-#define MON_SHURYUUDAN 1023
-#define MON_WAHHA 1031
-#define MON_DEBBY 1032
-#define MON_KNI_TEMPLAR 1037
-#define MON_PALADIN 1038
-#define MON_CHAMELEON 1040
-#define MON_CHAMELEON_K 1041
-#define MON_TOPAZ_MONK 1047
-#define MON_M_MINDCRAFTER 1056
-#define MON_ELDER_VAMPIRE 1058
-#define MON_NOBORTA 1059
-#define MON_MORI_TROLL 1060
-#define MON_BARNEY 1061
-#define MON_GROO 1062
-#define MON_LOUSY 1063
-#define MON_WYRM_SPACE 1064
-#define MON_JIZOTAKO 1065
-#define MON_TANUKI 1067
-#define MON_ALIEN_JURAL 1082
-#define MON_HATOPOPPO 1083
-#define MON_KOGAN 1096
-
/* Maximum "Nazguls" number */
#define MAX_NAZGUL_NUM 5
#define music_singing(X) ((p_ptr->pclass == CLASS_BARD) && (p_ptr->magic_num1[0] == (X)))
#define music_singing_any() ((p_ptr->pclass == CLASS_BARD) && p_ptr->magic_num1[0])
-#define HISSATSU_NONE 0
-#define HISSATSU_2 1
-#define HISSATSU_3WAY 2
-#define HISSATSU_SUTEMI 3
-#define HISSATSU_FIRE 4
-#define HISSATSU_COLD 5
-#define HISSATSU_POISON 6
-#define HISSATSU_ELEC 7
-#define HISSATSU_NYUSIN 8
-#define HISSATSU_FUKI 9
-#define HISSATSU_MAJIN 10
-#define HISSATSU_BOOMER 11
-#define HISSATSU_DRAIN 12
-#define HISSATSU_SEKIRYUKA 13
-#define HISSATSU_OTAKEBI 14
-#define HISSATSU_SHOUGE 15
-#define HISSATSU_CONF 16
-#define HISSATSU_ISSEN 17
-#define HISSATSU_KYUSHO 18
-#define HISSATSU_KONSIN 19
-#define HISSATSU_HYAKU 20
-#define HISSATSU_MINEUCHI 21
-#define HISSATSU_MEKIKI 22
-#define HISSATSU_ZANMA 23
-#define HISSATSU_UNDEAD 24
-#define HISSATSU_HAGAN 25
-#define HISSATSU_QUAKE 26
-#define HISSATSU_COUNTER 27
-#define HISSATSU_HARAI 28
-#define HISSATSU_3DAN 29
-#define HISSATSU_100NIN 30
-
-#define HISSATSU_IAI 100
-
/*
* Special essence id for Weapon smith
*/
#define ESSENCE_SLAY_GLOVE (MIN_SPECIAL_ESSENCE + 11)
-#define DUNGEON_MODE_NONE 0
-#define DUNGEON_MODE_AND 1
-#define DUNGEON_MODE_NAND 2
-#define DUNGEON_MODE_OR 3
-#define DUNGEON_MODE_NOR 4
-
-/*** Dungeon type flags -- DG ***/
-#define DF1_WINNER 0x00000001L
-#define DF1_MAZE 0x00000002L
-#define DF1_SMALLEST 0x00000004L
-#define DF1_BEGINNER 0x00000008L
-#define DF1_BIG 0x00000010L
-#define DF1_NO_DOORS 0x00000020L
-#define DF1_WATER_RIVER 0x00000040L
-#define DF1_LAVA_RIVER 0x00000080L
-#define DF1_CURTAIN 0x00000100L
-#define DF1_GLASS_DOOR 0x00000200L
-#define DF1_CAVE 0x00000400L
-#define DF1_CAVERN 0x00000800L
-#define DF1_ARCADE 0x00001000L
-#define DF1_LAKE_ACID 0x00002000L
-#define DF1_LAKE_POISONOUS 0x00004000L
-#define DF1_XXX15 0x00008000L
-#define DF1_FORGET 0x00010000L
-#define DF1_LAKE_WATER 0x00020000L
-#define DF1_LAKE_LAVA 0x00040000L
-#define DF1_LAKE_RUBBLE 0x00080000L
-#define DF1_LAKE_TREE 0x00100000L
-#define DF1_NO_VAULT 0x00200000L
-#define DF1_ARENA 0x00400000L
-#define DF1_DESTROY 0x00800000L
-#define DF1_GLASS_ROOM 0x01000000L
-#define DF1_NO_CAVE 0x02000000L
-#define DF1_NO_MAGIC 0x04000000L
-#define DF1_NO_MELEE 0x08000000L
-#define DF1_CHAMELEON 0x10000000L
-#define DF1_DARKNESS 0x20000000L
-#define DF1_ACID_RIVER 0x40000000L
-#define DF1_POISONOUS_RIVER 0x80000000L
-
-#define DF1_LAKE_MASK (DF1_LAKE_WATER | DF1_LAKE_LAVA | DF1_LAKE_RUBBLE | DF1_LAKE_TREE | DF1_LAKE_POISONOUS | DF1_LAKE_ACID)
-
-#define DUNGEON_ANGBAND 1
-#define DUNGEON_GALGALS 2
-#define DUNGEON_ORC 3
-#define DUNGEON_MAZE 4
-#define DUNGEON_DRAGON 5
-#define DUNGEON_GRAVE 6
-#define DUNGEON_WOOD 7
-#define DUNGEON_VOLCANO 8
-#define DUNGEON_HELL 9
-#define DUNGEON_HEAVEN 10
-#define DUNGEON_OCEAN 11
-#define DUNGEON_CASTLE 12
-#define DUNGEON_CTH 13
-#define DUNGEON_MOUNTAIN 14
-#define DUNGEON_GOLD 15
-#define DUNGEON_NO_MAGIC 16
-#define DUNGEON_NO_MELEE 17
-#define DUNGEON_CHAMELEON 18
-#define DUNGEON_DARKNESS 19
-
-
#define DUNGEON_FEAT_PROB_NUM 3
-
/*
* Flags for save/load temporal saved floor file
*/
#define SUB_ALIGN_EVIL 0x0001
#define SUB_ALIGN_GOOD 0x0002
-/* Temporary flags macro */
-#define IS_FAST() (p_ptr->fast || music_singing(MUSIC_SPEED) || music_singing(MUSIC_SHERO))
-#define IS_INVULN() (p_ptr->invuln || music_singing(MUSIC_INVULN))
-#define IS_HERO() (p_ptr->hero || music_singing(MUSIC_HERO) || music_singing(MUSIC_SHERO))
-#define IS_BLESSED() (p_ptr->blessed || music_singing(MUSIC_BLESS) || hex_spelling(HEX_BLESS))
-#define IS_OPPOSE_ACID() (p_ptr->oppose_acid || music_singing(MUSIC_RESIST) || (p_ptr->special_defense & KATA_MUSOU))
-#define IS_OPPOSE_ELEC() (p_ptr->oppose_elec || music_singing(MUSIC_RESIST) || (p_ptr->special_defense & KATA_MUSOU))
-#define IS_OPPOSE_FIRE() (p_ptr->oppose_fire || music_singing(MUSIC_RESIST) || (p_ptr->special_defense & KATA_MUSOU))
-#define IS_OPPOSE_COLD() (p_ptr->oppose_cold || music_singing(MUSIC_RESIST) || (p_ptr->special_defense & KATA_MUSOU))
-#define IS_OPPOSE_POIS() (p_ptr->oppose_pois || music_singing(MUSIC_RESIST) || (p_ptr->special_defense & KATA_MUSOU))
-#define IS_TIM_ESP() (p_ptr->tim_esp || music_singing(MUSIC_MIND) || (p_ptr->concent >= CONCENT_TELE_THRESHOLD))
-#define IS_TIM_STEALTH() (p_ptr->tim_stealth || music_singing(MUSIC_STEALTH))
-
-#define P_PTR_KI (p_ptr->magic_num1[0])
-
#define IS_WIZARD_CLASS() \
(p_ptr->pclass == CLASS_MAGE || p_ptr->pclass == CLASS_HIGH_MAGE || p_ptr->pclass == CLASS_SORCERER || p_ptr->pclass == CLASS_MAGIC_EATER || p_ptr->pclass == CLASS_BLUE_MAGE)
#define SKEY_TOP 0xf007
#define SKEY_BOTTOM 0xf008
-/*
- * Bit flags for move_player_effect()
- */
-#define MPE_STAYING 0x00000001
-#define MPE_FORGET_FLOW 0x00000002
-#define MPE_HANDLE_STUFF 0x00000004
-#define MPE_ENERGY_USE 0x00000008
-#define MPE_DONT_PICKUP 0x00000010
-#define MPE_DO_PICKUP 0x00000020
-#define MPE_BREAK_TRAP 0x00000040
-#define MPE_DONT_SWAP_MON 0x00000080
-
-
#define MTIMED_CSLEEP 0 /* Monster is sleeping */
#define MTIMED_FAST 1 /* Monster is temporarily fast */
#define MTIMED_SLOW 2 /* Monster is temporarily slow */
#define HEX_REVENGE_TURN(P_PTR) ((P_PTR)->magic_num2[2])
#define HEX_REVENGE_TYPE(P_PTR) ((P_PTR)->magic_num2[1])
-/* 1st book */
-#define HEX_BLESS 0
-#define HEX_CURE_LIGHT 1
-#define HEX_DEMON_AURA 2
-#define HEX_STINKING_MIST 3
-#define HEX_XTRA_MIGHT 4
-#define HEX_CURSE_WEAPON 5
-#define HEX_DETECT_EVIL 6
-#define HEX_PATIENCE 7
-/* 2nd book */
-#define HEX_ICE_ARMOR 8
-#define HEX_CURE_SERIOUS 9
-#define HEX_INHAIL 10
-#define HEX_VAMP_MIST 11
-#define HEX_RUNESWORD 12
-#define HEX_CONFUSION 13
-#define HEX_BUILDING 14
-#define HEX_ANTI_TELE 15
-/* 3rd book */
-#define HEX_SHOCK_CLOAK 16
-#define HEX_CURE_CRITICAL 17
-#define HEX_RECHARGE 18
-#define HEX_RAISE_DEAD 19
-#define HEX_CURSE_ARMOUR 20
-#define HEX_SHADOW_CLOAK 21
-#define HEX_PAIN_TO_MANA 22
-#define HEX_EYE_FOR_EYE 23
-/* 4th book */
-#define HEX_ANTI_MULTI 24
-#define HEX_RESTORE 25
-#define HEX_DRAIN_CURSE 26
-#define HEX_VAMP_BLADE 27
-#define HEX_STUN_MONSTERS 28
-#define HEX_SHADOW_MOVE 29
-#define HEX_ANTI_MAGIC 30
-#define HEX_REVENGE 31
-
/*
Language selection macro
*/