OSDN Git Service

Changed to match the For2.2.2-Refactoring-Cocoa2 branch. Put se_maoudamashii_voice_m...
[hengbandforosx/hengbandosx.git] / src / gameoption.c
index 32e950e..7bd71a5 100644 (file)
@@ -20,22 +20,14 @@ bool always_repeat; /* Repeat obvious commands */
 bool confirm_destroy;  /* Prompt for destruction of known worthless items */
 bool confirm_wear;     /* Confirm to wear/wield known cursed items */
 bool confirm_quest;    /* Prompt before exiting a quest level */
-bool target_pet;       /* Allow targetting pets */
+bool target_pet;       /* Allow targeting pets */
 bool easy_open;        /* Automatically open doors */
-
-#ifdef ALLOW_EASY_DISARM
 bool easy_disarm;      /* Automatically disarm traps */
-#endif
-
-#ifdef ALLOW_EASY_FLOOR
 bool easy_floor;       /* Display floor stacks in a list */
-#endif
-
 bool use_command;      /* Allow unified use command */
 bool over_exert;       /* Allow casting spells when short of mana */
 bool numpad_as_cursorkey;      /* Use numpad keys as cursor key in editor mode */
 
-
                                                        /*** Map Screen Options ***/
 
 bool center_player;    /* Center map while walking (*slow*) */
@@ -48,7 +40,7 @@ bool view_perma_grids;        /* Map remembers all perma-lit grids */
 bool view_torch_grids; /* Map remembers all torch-lit grids */
 bool view_unsafe_grids;        /* Map marked by detect traps */
 bool view_reduce_view; /* Reduce view-radius in town */
-bool fresh_before;     /* Flush output while continuous command */
+bool fresh_before;     /* Flush output while in repeated command */
 bool fresh_after;      /* Flush output after monster's move */
 bool fresh_message;    /* Flush output after every message */
 bool hilite_player;    /* Hilite the player with the cursor */
@@ -71,6 +63,7 @@ bool abbrev_extra;    /* Describe obj's extra resistances by abbreviation */
 bool abbrev_all;       /* Describe obj's all resistances by abbreviation */
 bool exp_need; /* Show the experience needed for next level */
 bool ignore_unview;    /* Ignore whenever any monster does */
+bool refresh_mon_list; /* Refresh monster list before action */
 
 
                                        /*** Game-Play Options ***/
@@ -96,7 +89,7 @@ bool allow_debug_opts;        /* Allow use of debug/cheat options */
 bool find_ignore_stairs;       /* Run past stairs */
 bool find_ignore_doors;        /* Run through open doors */
 bool find_cut; /* Run past known corners */
-bool check_abort;      /* Check for user abort while continuous command */
+bool check_abort;      /* Check for user abort while in repeated command */
 bool flush_failure;    /* Flush input on various failures */
 bool flush_disturb;    /* Flush input whenever disturbed */
 bool disturb_move;     /* Disturb whenever any monster moves */
@@ -166,9 +159,9 @@ bool record_sell;   /* Record sold items */
 bool record_danger;    /* Record hitpoint warning */
 bool record_arena;     /* Record arena victories */
 bool record_ident;     /* Record first identified items */
-bool record_named_pet; /* Record informations of named pets */
+bool record_named_pet; /* Record information about named pets */
 char record_o_name[MAX_NLEN];
-s32b record_turn;
+GAME_TURN record_turn;
 
 
 /* Cheating options */
@@ -181,7 +174,7 @@ bool cheat_know;    /* Know complete monster info */
 bool cheat_live;       /* Allow player to avoid death */
 bool cheat_save;       /* Ask for saving death */
 bool cheat_diary_output; /* Detailed info to diary */
-bool cheat_turn;       /* Peek turn */
+bool cheat_turn;       /* Peek current_world_ptr->game_turn */
 bool cheat_sight;
 
 
@@ -242,7 +235,7 @@ const option_type option_info[] =
        "confirm_quest",                _("クエストを諦めて階段で逃げる前に確認する", "Prompt before exiting a quest level") },
 
        { &target_pet,                  FALSE, OPT_PAGE_INPUT, 2, 5,
-       "target_pet",                   _("ペットをターゲットにする", "Allow targetting pets") },
+       "target_pet",                   _("ペットをターゲットにする", "Allow targeting pets") },
 
        { &easy_open,                   TRUE,  OPT_PAGE_INPUT, 5, 7,
        "easy_open",                    _("自動的にドアを開ける", "Automatically open doors") },
@@ -250,10 +243,8 @@ const option_type option_info[] =
        { &easy_disarm,                 TRUE,  OPT_PAGE_INPUT, 5, 8,
        "easy_disarm",                  _("自動的に罠を解除する", "Automatically disarm traps") },
 
-       #ifdef ALLOW_EASY_FLOOR /* TNB */
        { &easy_floor,                  FALSE, OPT_PAGE_INPUT, 5, 9,
        "easy_floor",                   _("床上で重なったアイテムをリストする", "Display floor stacks in a list") },
-       #endif /* ALLOW_EASY_FLOOR -- TNB */
 
        { &use_command,                 FALSE, OPT_PAGE_INPUT, 5, 10,
        "use_command",                  _("「使う(a)」コマンドでアイテムを何でも使える", "Allow unified use command") },
@@ -297,7 +288,7 @@ const option_type option_info[] =
        "view_reduce_view",             _("街では視野を狭くする", "Reduce view-radius in town") },
 
        { &fresh_before,                TRUE,  OPT_PAGE_MAPSCREEN, 1, 23,
-       "fresh_before",                 _("連続コマンド中に画面を再描画し続ける", "Flush output while continuous command") },
+       "fresh_before",                 _("連続コマンド中に画面を再描画し続ける", "Flush output while in repeated command") },
 
        { &fresh_after,                 FALSE, OPT_PAGE_MAPSCREEN, 1, 24,
        "fresh_after",                  _("コマンド後に画面を常に再描画し続ける", "Flush output after monster's move") },
@@ -353,7 +344,10 @@ const option_type option_info[] =
        "exp_need",                     _("次のレベルに必要な経験値を表示する", "Show the experience needed for next level") },
 
        { &ignore_unview,               FALSE, OPT_PAGE_TEXT, 2, 13,
-       "ignore_unview",                _("視界外のモンスターの行動を表示しない", "Ignore whenever any monster does") },
+       "ignore_unview",                _("視界外のモンスターの行動を表示しない", "Ignore out-of-sight monster behavior") },
+
+       { &refresh_mon_list,            FALSE, OPT_PAGE_TEXT, 2, 18,
+       "refresh_mon_list",             _("行動前に視界内モンスターリストを更新(重い)", "Refresh monster list before action") },
 
        { &show_ammo_detail,            TRUE, OPT_PAGE_TEXT, 2, 14,
        "show_ammo_detail",             _("矢弾のダメージの説明を表示する", "Show description of ammo damage") },
@@ -414,7 +408,7 @@ const option_type option_info[] =
        "find_cut",                     _("曲り角を斜めに最短距離で通過する", "Run past known corners") },
 
        { &check_abort,                 TRUE,  OPT_PAGE_DISTURBANCE, 1, 18,
-       "check_abort",                  _("連続コマンドはキー入力で中断する", "Check for user abort while continuous command") },
+       "check_abort",                  _("連続コマンドはキー入力で中断する", "Check for user abort while in repeated command") },
 
        { &flush_failure,               TRUE,  OPT_PAGE_DISTURBANCE, 1, 20,
        "flush_failure",                _("様々なミス発生時に入力をクリアする", "Flush input on various failures") },
@@ -575,7 +569,7 @@ const option_type option_info[] =
        "record_ident",                 _("未判明のアイテムの識別を記録する", "Record first identified items") },
 
        { &record_named_pet,            FALSE, OPT_PAGE_PLAYRECORD, 4, 23,
-       "record_named_pet",             _("名前つきペットの情報を記録する", "Record informations of named pets") },
+       "record_named_pet",             _("名前つきペットの情報を記録する", "Record information about named pets") },
 
 /*** End of Table ***/
 
@@ -621,7 +615,7 @@ const option_type cheat_info[CHEAT_MAX] =
        },
 
        { &cheat_turn,  FALSE,  255,    0x81, 0x00,
-       "cheat_turn",   _("ゲームメッセージにターン表示を行う", "Put turn to game message.")
+       "cheat_turn",   _("ゲームメッセージにターン表示を行う", "Put turn in game messages.")
        },
 
        { &cheat_sight, FALSE,  255,    0x82, 0x00,