#define MAX_MIND_POWERS 21 /*!< 超能力の数 / Mindcraft */
-/*
- * Size of memory reserved for initialization of some arrays
- */
-#define FAKE_NAME_SIZE 40 * 1024L /*!< ゲーム情報の種別毎に用意される名前用バッファの容量 */
-#define FAKE_TEXT_SIZE 150 * 1024L /*!< ゲーム情報の種別毎に用意されるテキスト用バッファの容量 */
-#define FAKE_TAG_SIZE 10 * 1024L /*!< ゲーム情報の種別毎に用意されるタグ用バッファの容量 */
-
-#define MAX_HISCORES 999 /*!< スコア情報保存の最大数 / Maximum number of high scores in the high score file */
-
-/*!
- * @brief プレイヤー用光源処理配列サイズ / Maximum size of the "lite" array (see "current_floor_ptr->grid_array.c")
- * @details Note that the "lite radius" will NEVER exceed 14, and we would
- * never require more than 581 entries in the array for circular "lite".
- */
-#define LITE_MAX 600
-
-/*!
- * @brief モンスター用光源処理配列サイズ / Maximum size of the "mon_lite" array (see "current_floor_ptr->grid_array.c")
- * @details Note that the "view radius" will NEVER exceed 20, monster illumination
- * flags are dependent on CAVE_VIEW, and even if the "view" was octagonal,
- * we would never require more than 1520 entries in the array.
- */
-#define MON_LITE_MAX 1536
-
-/*!
- * @brief 視界処理配列サイズ / Maximum size of the "view" array (see "current_floor_ptr->grid_array.c")
- * @details Note that the "view radius" will NEVER exceed 20, and even if the "view"
- * was octagonal, we would never require more than 1520 entries in the array.
- */
-#define VIEW_MAX 1536
-
/*!
* @brief 視界及び光源の過渡処理配列サイズ / Maximum size of the "temp" array (see "current_floor_ptr->grid_array.c")
* @details We must be as large as "VIEW_MAX" and "LITE_MAX" for proper functioning
(1UL << (FF_STRIKE % 32)) | \
(1UL << (FF_SPREAD % 32)))))
-
-/*
- * Feature action flags
- */
-#define FAF_DESTROY 0x01
-#define FAF_NO_DROP 0x02
-#define FAF_CRASH_GLASS 0x04
-
-/* Types of doors */
-#define DOOR_DEFAULT -1
-#define DOOR_DOOR 0
-#define DOOR_GLASS_DOOR 1
-#define DOOR_CURTAIN 2
-
-#define MAX_DOOR_TYPES 3
-
#define feat_locked_door_random(DOOR_TYPE) \
(feat_door[(DOOR_TYPE)].num_locked ? \
feat_door[(DOOR_TYPE)].locked[randint0(feat_door[(DOOR_TYPE)].num_locked)] : feat_none)
#define OBJ_GOLD_LIST 480 /* First "gold" entry */
#define MAX_GOLD 18 /* Number of "gold" entries */
-/* Empty hand status */
-#define EMPTY_HAND_NONE 0x0000 /* Both hands are used */
-#define EMPTY_HAND_LARM 0x0001 /* Left hand is empty */
-#define EMPTY_HAND_RARM 0x0002 /* Right hand is empty */
-
/*
* Object flags
*
(player_can_see_bold((A)->fy, (A)->fx) && projectable(p_ptr->y, p_ptr->x, (A)->fy, (A)->fx)))))
-/*** Color constants ***/
-
-
-/*
- * Hack -- attempt to reduce various values
- */
-#ifdef ANGBAND_LITE
-# undef MACRO_MAX
-# define MACRO_MAX 128
-# undef QUARK_MAX
-# define QUARK_MAX 128
-# undef MESSAGE_MAX
-# define MESSAGE_MAX 128
-# undef MESSAGE_BUF
-# define MESSAGE_BUF 4096
-#endif
-
-
-
-
-
-/*
- * Available graphic modes
- */
-#define GRAPHICS_NONE 0
-#define GRAPHICS_ORIGINAL 1
-#define GRAPHICS_ADAM_BOLT 2
-#define GRAPHICS_HENGBAND 3
-
-
-#ifdef JP
-#define JVERB_AND 1
-#define JVERB_TO 2
-#define JVERB_OR 3
-#endif
-
/*
* Modes for the tokenizer
*/
-#define TOKENIZE_CHECKQUOTE 0x01 /* Special handling of single quotes */
-
-#define GINOU_MAX 10
-
-#define NO_TOWN 6
-#define SECRET_TOWN 5
#define MAX_MANE 16
-#define MAX_MONSPELLS 96
-#define MONSPELL_TYPE_BOLT 1
-#define MONSPELL_TYPE_BALL 2
-#define MONSPELL_TYPE_BREATH 3
-#define MONSPELL_TYPE_SUMMON 4
-#define MONSPELL_TYPE_OTHER 5
+
#define EATER_EXT 36
#define EATER_CHARGE 0x10000L
/* Maximum "Nazguls" number */
#define MAX_NAZGUL_NUM 5
-#define DO_AUTOPICK 0x01
-#define DO_AUTODESTROY 0x02
-#define DO_DISPLAY 0x04
-#define DONT_AUTOPICK 0x08
-#define ITEM_DISPLAY 0x10
-#define DO_QUERY_AUTOPICK 0x20
-
#define VIRTUE_LARGE 1
#define VIRTUE_SMALL 2
-#define SPELL_DD_S 27
-#define SPELL_DD_T 13
-#define SPELL_SW 22
-#define SPELL_KABE 20
-
-#define KNOW_STAT 0x01
-#define KNOW_HPRATE 0x02
-
-
#define DUNGEON_FEAT_PROB_NUM 3
#define SLF_SECOND 0x0001 /* Called from another save/load function */
#define SLF_NO_KILL 0x0002 /* Don't kill temporal files */
-
-/* Sub-alignment flags for neutral monsters */
-#define SUB_ALIGN_NEUTRAL 0x0000
-#define SUB_ALIGN_EVIL 0x0001
-#define SUB_ALIGN_GOOD 0x0002
-
-/* Multishadow effects is determined by current_world_ptr->game_turn */
-#define CHECK_MULTISHADOW() (p_ptr->multishadow && (current_world_ptr->game_turn & 1))
-
-/* Is "teleport level" ineffective to this target? */
-#define TELE_LEVEL_IS_INEFF(TARGET) \
- (p_ptr->inside_arena || p_ptr->inside_battle || \
- (p_ptr->inside_quest && !random_quest_number(current_floor_ptr->dun_level)) || \
- (((TARGET) <= 0) && (quest_number(current_floor_ptr->dun_level) || (current_floor_ptr->dun_level >= d_info[p_ptr->dungeon_idx].maxdepth)) && \
- (current_floor_ptr->dun_level >= 1) && ironman_downward))
-
-
/*
* Max numbers of macro trigger names
*/
#define MON_INVULNER(M_PTR) ((M_PTR)->mtimed[MTIMED_INVULNER])
/*
- * Bit flags for screen_object()
- */
-#define SCROBJ_FAKE_OBJECT 0x00000001
-#define SCROBJ_FORCE_DETAIL 0x00000002
-
-/*
* For travel command (auto run)
*/
#define TRAVEL
#define CONCENT_RADAR_THRESHOLD 2
#define CONCENT_TELE_THRESHOLD 5
-/* Hex */
-#define hex_spelling_any() \
- ((p_ptr->realm1 == REALM_HEX) && (p_ptr->magic_num1[0]))
-#define hex_spelling(X) \
- ((p_ptr->realm1 == REALM_HEX) && (p_ptr->magic_num1[0] & (1L << (X))))
-#define CASTING_HEX_FLAGS(P_PTR) ((P_PTR)->magic_num1[0])
-#define CASTING_HEX_NUM(P_PTR) ((P_PTR)->magic_num2[0])
-#define HEX_REVENGE_POWER(P_PTR) ((P_PTR)->magic_num1[2])
-#define HEX_REVENGE_TURN(P_PTR) ((P_PTR)->magic_num2[2])
-#define HEX_REVENGE_TYPE(P_PTR) ((P_PTR)->magic_num2[1])
-
/*
Language selection macro
*/
#define have_dark_flag(ARRAY) \
(have_flag(ARRAY, TR_LITE_M1) || have_flag(ARRAY, TR_LITE_M2) || have_flag(ARRAY, TR_LITE_M3))
-/* Spell Type flag */
-#define MONSTER_TO_PLAYER 0x01
-#define MONSTER_TO_MONSTER 0x02
-
-/* summoning number */
-#define S_NUM_6 (easy_band ? 2 : 6)
-#define S_NUM_4 (easy_band ? 1 : 4)
-
-/* monster spell number */
-#define RF4_SPELL_START 32 * 3
-#define RF5_SPELL_START 32 * 4
-#define RF6_SPELL_START 32 * 5
-
-#define RF4_SPELL_SIZE 32
-#define RF5_SPELL_SIZE 32
-#define RF6_SPELL_SIZE 32
-
-/* Spell Damage Calc Flag*/
-#define DAM_ROLL 1
-#define DAM_MAX 2
-#define DAM_MIN 3
-#define DICE_NUM 4
-#define DICE_SIDE 5
-#define DICE_MULT 6
-#define DICE_DIV 7
-#define BASE_DAM 8
-
/* Cheat Info Type */
#define CHEAT_OBJECT 0
#define CHEAT_MONSTER 1