OSDN Git Service

[Version] 2.2.1.6.
[hengband/hengband.git] / src / gameoption.c
1 #include "angband.h"
2 #include "gameoption.h"
3
4
5 /*
6 * Software options (set via the '=' command).  See "tables.c"
7 */
8
9 /*** Input Options ***/
10
11 bool rogue_like_commands;       /* Rogue-like commands */
12 bool always_pickup;     /* Pick things up by default */
13 bool carry_query_flag;  /* Prompt before picking things up */
14 bool quick_messages;    /* Activate quick messages */
15 bool auto_more; /* Automatically clear '-more-' prompts */
16 bool command_menu;      /* Enable command selection menu */
17 bool other_query_flag;  /* Prompt for floor item selection */
18 bool use_old_target;    /* Use old target by default */
19 bool always_repeat;     /* Repeat obvious commands */
20 bool confirm_destroy;   /* Prompt for destruction of known worthless items */
21 bool confirm_wear;      /* Confirm to wear/wield known cursed items */
22 bool confirm_quest;     /* Prompt before exiting a quest level */
23 bool target_pet;        /* Allow targetting pets */
24
25 #ifdef ALLOW_EASY_OPEN
26 bool easy_open; /* Automatically open doors */
27 #endif
28
29 #ifdef ALLOW_EASY_DISARM
30 bool easy_disarm;       /* Automatically disarm traps */
31 #endif
32
33 #ifdef ALLOW_EASY_FLOOR
34 bool easy_floor;        /* Display floor stacks in a list */
35 #endif
36
37 bool use_command;       /* Allow unified use command */
38 bool over_exert;        /* Allow casting spells when short of mana */
39 bool numpad_as_cursorkey;       /* Use numpad keys as cursor key in editor mode */
40
41
42                                                         /*** Map Screen Options ***/
43
44 bool center_player;     /* Center map while walking (*slow*) */
45 bool center_running;    /* Centering even while running */
46 bool view_yellow_lite;  /* Use special colors for torch-lit grids */
47 bool view_bright_lite;  /* Use special colors for 'viewable' grids */
48 bool view_granite_lite; /* Use special colors for wall grids (slow) */
49 bool view_special_lite; /* Use special colors for floor grids (slow) */
50 bool view_perma_grids;  /* Map remembers all perma-lit grids */
51 bool view_torch_grids;  /* Map remembers all torch-lit grids */
52 bool view_unsafe_grids; /* Map marked by detect traps */
53 bool view_reduce_view;  /* Reduce view-radius in town */
54 bool fresh_before;      /* Flush output while continuous command */
55 bool fresh_after;       /* Flush output after monster's move */
56 bool fresh_message;     /* Flush output after every message */
57 bool hilite_player;     /* Hilite the player with the cursor */
58 bool display_path;      /* Display actual path before shooting */
59
60
61                                         /*** Text Display Options ***/
62
63 bool plain_descriptions;        /* Plain object descriptions */
64 bool plain_pickup;      /* Plain pickup messages(japanese only) */
65 bool always_show_list;  /* Always show list when choosing items */
66 bool depth_in_feet;     /* Show dungeon level in feet */
67 bool show_labels;       /* Show labels in object listings */
68 bool show_weights;      /* Show weights in object listings */
69 bool show_item_graph;   /* Show items graphics */
70 bool equippy_chars;     /* Display 'equippy' chars */
71 bool display_mutations; /* Display mutations in 'C'haracter Display */
72 bool compress_savefile; /* Compress messages in savefiles */
73 bool abbrev_extra;      /* Describe obj's extra resistances by abbreviation */
74 bool abbrev_all;        /* Describe obj's all resistances by abbreviation */
75 bool exp_need;  /* Show the experience needed for next level */
76 bool ignore_unview;     /* Ignore whenever any monster does */
77
78
79                                         /*** Game-Play Options ***/
80
81 bool stack_force_notes; /* Merge inscriptions when stacking */
82 bool stack_force_costs; /* Merge discounts when stacking */
83 bool expand_list;       /* Expand the power of the list commands */
84 bool small_levels;      /* Allow unusually small dungeon levels */
85 bool always_small_levels;       /* Always create unusually small dungeon levels */
86 bool empty_levels;      /* Allow empty 'arena' levels */
87 bool bound_walls_perm;  /* Boundary walls become 'permanent wall' */
88 bool last_words;        /* Leave last words when your character dies */
89
90 #ifdef WORLD_SCORE
91 bool send_score;        /* Send score dump to the world score server */
92 #endif
93
94 bool allow_debug_opts;  /* Allow use of debug/cheat options */
95
96
97                                                 /*** Disturbance Options ***/
98
99 bool find_ignore_stairs;        /* Run past stairs */
100 bool find_ignore_doors; /* Run through open doors */
101 bool find_cut;  /* Run past known corners */
102 bool check_abort;       /* Check for user abort while continuous command */
103 bool flush_failure;     /* Flush input on various failures */
104 bool flush_disturb;     /* Flush input whenever disturbed */
105 bool disturb_move;      /* Disturb whenever any monster moves */
106 bool disturb_high;      /* Disturb whenever high-level monster moves */
107 bool disturb_near;      /* Disturb whenever viewable monster moves */
108 bool disturb_pets;      /* Disturb when visible pets move */
109 bool disturb_panel;     /* Disturb whenever map panel changes */
110 bool disturb_state;     /* Disturb whenever player state changes */
111 bool disturb_minor;     /* Disturb whenever boring things happen */
112 bool ring_bell; /* Audible bell (on errors, etc) */
113 bool disturb_trap_detect;       /* Disturb when leaving trap detected area */
114 bool alert_trap_detect; /* Alert when leaving trap detected area */
115
116
117                                                 /*** Birth Options ***/
118
119 bool manual_haggle;     /* Manually haggle in stores */
120 bool easy_band; /* Easy Mode (*) */
121 bool smart_learn;       /* Monsters learn from their mistakes (*) */
122 bool smart_cheat;       /* Monsters exploit players weaknesses (*) */
123 bool vanilla_town;      /* Use 'vanilla' town without quests and wilderness */
124 bool lite_town; /* Use 'lite' town without a wilderness */
125 bool ironman_shops;     /* Stores are permanently closed (*) */
126 bool ironman_small_levels;      /* Always create unusually small dungeon levels (*) */
127 bool ironman_downward;  /* Disable recall and use of up stairs (*) */
128 bool ironman_empty_levels;      /* Always create empty 'arena' levels (*) */
129 bool ironman_rooms;     /* Always generate very unusual rooms (*) */
130 bool ironman_nightmare; /* Nightmare mode(it isn't even remotely fair!)(*) */
131 bool left_hander;       /* Left-Hander */
132 bool preserve_mode;     /* Preserve artifacts (*) */
133 bool autoroller;        /* Allow use of autoroller for stats (*) */
134 bool autochara; /* Autoroll for weight, height and social status */
135 bool powerup_home;      /* Increase capacity of your home (*) */
136 bool show_ammo_detail;  /* Show Description of ammo damage */
137 bool show_ammo_no_crit; /* Show No-crit damage of ammo */
138 bool show_ammo_crit_ratio;      /* Show critical ratio of ammo */
139 bool show_actual_value; /* Show actual value of skill */
140
141
142
143
144                                                 /*** Easy Object Auto-Destroyer ***/
145
146 bool destroy_items;     /* Use easy auto-destroyer */
147 bool destroy_feeling;   /* Apply auto-destroy as sense feeling */
148 bool destroy_identify;  /* Apply auto-destroy as identify an item */
149 bool leave_worth;       /* Auto-destroyer leaves known worthy items */
150 bool leave_equip;       /* Auto-destroyer leaves weapons and armour */
151 bool leave_chest;       /* Auto-destroyer leaves closed chests */
152 bool leave_wanted;      /* Auto-destroyer leaves wanted corpses */
153 bool leave_corpse;      /* Auto-destroyer leaves corpses and skeletons */
154 bool leave_junk;        /* Auto-destroyer leaves junk */
155 bool leave_special;     /* Auto-destroyer leaves items your race/class needs */
156
157
158                                         /*** Play-record Options ***/
159
160 bool record_fix_art;    /* Record fixed artifacts */
161 bool record_rand_art;   /* Record random artifacts */
162 bool record_destroy_uniq;       /* Record when destroy unique monster */
163 bool record_fix_quest;  /* Record fixed quests */
164 bool record_rand_quest; /* Record random quests */
165 bool record_maxdepth;   /* Record movements to deepest level */
166 bool record_stair;      /* Record recall and stair movements */
167 bool record_buy;        /* Record purchased items */
168 bool record_sell;       /* Record sold items */
169 bool record_danger;     /* Record hitpoint warning */
170 bool record_arena;      /* Record arena victories */
171 bool record_ident;      /* Record first identified items */
172 bool record_named_pet;  /* Record informations of named pets */
173 char record_o_name[MAX_NLEN];
174 s32b record_turn;
175
176
177 /* Cheating options */
178
179 bool cheat_peek;        /* Peek into object creation */
180 bool cheat_hear;        /* Peek into monster creation */
181 bool cheat_room;        /* Peek into dungeon creation */
182 bool cheat_xtra;        /* Peek into something else */
183 bool cheat_know;        /* Know complete monster info */
184 bool cheat_live;        /* Allow player to avoid death */
185 bool cheat_save;        /* Ask for saving death */
186 bool cheat_diary_output; /* Detailed info to diary */
187 bool cheat_turn;        /* Peek turn */
188 bool cheat_sight;
189
190
191 /* Special options */
192
193 byte hitpoint_warn;     /* Hitpoint warning (0 to 9) */
194 byte mana_warn; /* Mana color (0 to 9) */
195
196 byte delay_factor;      /* Delay factor (0 to 9) */
197
198 bool autosave_l;        /* Autosave before entering new levels */
199 bool autosave_t;        /* Timed autosave */
200 s16b autosave_freq;     /* Autosave frequency */
201
202
203 /*!
204  * @brief オプションテーブル /
205  * Available Options
206  */
207 const option_type option_info[] =
208 {
209         /*** Input Options ***/
210
211         { &rogue_like_commands,         FALSE, OPT_PAGE_INPUT, 0, 0,
212         "rogue_like_commands",          _("ローグ風キー配置を使用する", "Rogue-like commands") },
213
214         { &always_pickup,               FALSE, OPT_PAGE_INPUT, 0, 5,
215         "always_pickup",                _("常にアイテムを拾う" , "Pick things up by default") },
216
217         { &carry_query_flag,            FALSE, OPT_PAGE_INPUT, 0, 3,
218         "carry_query_flag",             _("アイテムを拾う前に確認する", "Prompt before picking things up") },
219
220         { &quick_messages,              TRUE,  OPT_PAGE_INPUT, 0, 1,
221         "quick_messages",               _("クイック・メッセージを使用する", "Activate quick messages") },
222
223         { &auto_more,                   FALSE, OPT_PAGE_INPUT, 2, 6,
224         "auto_more",                    _("キー待ちしないで連続でメッセージを表示する", "Automatically clear '-more-' prompts") },
225
226         { &command_menu,                TRUE,  OPT_PAGE_INPUT, 2, 7,
227         "command_menu",                 _("メニューによりコマンド選択を有効にする", "Enable command selection menu") },
228
229         { &other_query_flag,            FALSE, OPT_PAGE_INPUT, 0, 2,
230         "other_query_flag",             _("床上のアイテムを使用するときに確認する", "Prompt for floor item selection") },
231
232         { &use_old_target,              FALSE, OPT_PAGE_INPUT, 0, 4,
233         "use_old_target",               _("常に以前のターゲットを指定する", "Use old target by default") },
234
235         { &always_repeat,               TRUE,  OPT_PAGE_INPUT, 0, 6,
236         "always_repeat",                _("コマンド自動繰り返し", "Repeat obvious commands") },
237
238         { &confirm_destroy,             FALSE, OPT_PAGE_INPUT, 5, 3,
239         "confirm_destroy",              _("「無価値」なアイテムを破壊する時確認する", "Prompt for destruction of known worthless items") },
240
241         { &confirm_wear,                TRUE,  OPT_PAGE_INPUT, 5, 4,
242         "confirm_wear",                 _("呪われた物を装備する時確認する", "Confirm to wear/wield known cursed items") },
243
244         { &confirm_quest,               TRUE,  OPT_PAGE_INPUT, 1, 9,
245         "confirm_quest",                _("クエストを諦めて階段で逃げる前に確認する", "Prompt before exiting a quest level") },
246
247         { &target_pet,                  FALSE, OPT_PAGE_INPUT, 2, 5,
248         "target_pet",                   _("ペットをターゲットにする", "Allow targetting pets") },
249
250         #ifdef ALLOW_EASY_OPEN
251         { &easy_open,                   TRUE,  OPT_PAGE_INPUT, 5, 7,
252         "easy_open",                    _("自動的にドアを開ける", "Automatically open doors") },
253         #endif /* ALLOW_EASY_OPEN */
254
255         #ifdef ALLOW_EASY_DISARM
256         { &easy_disarm,                 TRUE,  OPT_PAGE_INPUT, 5, 8,
257         "easy_disarm",                  _("自動的に罠を解除する", "Automatically disarm traps") },
258         #endif /* ALLOW_EASY_DISARM */
259
260         #ifdef ALLOW_EASY_FLOOR /* TNB */
261         { &easy_floor,                  FALSE, OPT_PAGE_INPUT, 5, 9,
262         "easy_floor",                   _("床上で重なったアイテムをリストする", "Display floor stacks in a list") },
263         #endif /* ALLOW_EASY_FLOOR -- TNB */
264
265         { &use_command,                 FALSE, OPT_PAGE_INPUT, 5, 10,
266         "use_command",                  _("「使う(a)」コマンドでアイテムを何でも使える", "Allow unified use command") },
267
268         { &over_exert,                  FALSE, OPT_PAGE_INPUT, 0, 29,
269         "over_exert",                   _("MPが足りなくても魔法に挑戦する", "Allow casting spells when short of mana") },
270
271         { &numpad_as_cursorkey,         TRUE, OPT_PAGE_INPUT, 2, 31,
272         "numpad_as_cursorkey",          _("エディタ内でテンキーをカーソルキーとして使う", "Use numpad keys as cursor keys in editor mode") },
273
274 /*** Map Screen Options ***/
275
276         { &center_player,               FALSE, OPT_PAGE_MAPSCREEN, 5, 11,
277         "center_player",                _("常にプレイヤーを中心に置く(*遅い*)", "Center map while walking (*slow*)") },
278
279         { &center_running,              TRUE,  OPT_PAGE_MAPSCREEN, 5, 12,
280         "center_running",               _("走っている時でも中心に置く", "Centering even while running") },
281
282         { &view_yellow_lite,            TRUE,  OPT_PAGE_MAPSCREEN, 1, 28,
283         "view_yellow_lite",             _("明かりの範囲を特別な色で表示する", "Use special colors for torch-lit grids") },
284
285         { &view_bright_lite,            TRUE,  OPT_PAGE_MAPSCREEN, 1, 29,
286         "view_bright_lite",             _("視界の範囲を特別な色で表示する", "Use special colors for 'viewable' grids") },
287
288         { &view_granite_lite,           TRUE,  OPT_PAGE_MAPSCREEN, 1, 30,
289         "view_granite_lite",            _("壁を特別な色で表示する(重い)", "Use special colors for wall grids (slow)") },
290
291         { &view_special_lite,           TRUE,  OPT_PAGE_MAPSCREEN, 1, 31,
292         "view_special_lite",            _("床を特別な色で表示する(重い)", "Use special colors for floor grids (slow)") },
293
294         { &view_perma_grids,            TRUE,  OPT_PAGE_MAPSCREEN, 1, 6,
295         "view_perma_grids",             _("明るい場所はそのままにする", "Map remembers all perma-lit grids") },
296
297         { &view_torch_grids,            FALSE, OPT_PAGE_MAPSCREEN, 1, 7,
298         "view_torch_grids",             _("明かりで照らした場所はそのままにする", "Map remembers all torch-lit grids") },
299
300         { &view_unsafe_grids,           FALSE, OPT_PAGE_MAPSCREEN, 1, 8,
301         "view_unsafe_grids",            _("トラップ感知済みでない場所を表示する", "Map marked by detect traps") },
302
303         { &view_reduce_view,            FALSE, OPT_PAGE_MAPSCREEN, 1, 17,
304         "view_reduce_view",             _("街では視野を狭くする", "Reduce view-radius in town") },
305
306         { &fresh_before,                TRUE,  OPT_PAGE_MAPSCREEN, 1, 23,
307         "fresh_before",                 _("連続コマンド中に画面を再描画し続ける", "Flush output while continuous command") },
308
309         { &fresh_after,                 FALSE, OPT_PAGE_MAPSCREEN, 1, 24,
310         "fresh_after",                  _("コマンド後に画面を常に再描画し続ける", "Flush output after monster's move") },
311
312         { &fresh_message,               FALSE, OPT_PAGE_MAPSCREEN, 1, 25,
313         "fresh_message",                _("メッセージの後に画面を再描画する", "Flush output after every message") },
314
315         { &hilite_player,               FALSE, OPT_PAGE_MAPSCREEN, 1, 27,
316         "hilite_player",                _("プレイヤーにカーソルを合わせる", "Hilite the player with the cursor") },
317
318         { &display_path,                FALSE, OPT_PAGE_MAPSCREEN, 2, 8,
319         "display_path",                 _("魔法や矢の軌跡を表示する", "Display actual path before shooting") },
320
321 /*** Text Display Options ***/
322
323         { &plain_descriptions,          TRUE,  OPT_PAGE_TEXT, 5, 1,
324         "plain_descriptions",           _("アイテムの記述を簡略にする", "Plain object descriptions") },
325
326         { &plain_pickup,                FALSE, OPT_PAGE_TEXT, 6, 6,
327         "plain_pickup",                 _("「拾った」メッセージを簡略化する", "Plain pickup messages(japanese only)") },
328
329         { &always_show_list,            TRUE,  OPT_PAGE_TEXT, 4, 0,
330         "always_show_list",             _("選択時には常に一覧を表示する", "Always show list when choosing items") },
331
332         { &depth_in_feet,               FALSE, OPT_PAGE_TEXT, 0, 7,
333         "depth_in_feet",                _("ダンジョンの深さをフィートで表示する", "Show dungeon level in feet") },
334
335         { &show_labels,                 TRUE,  OPT_PAGE_TEXT, 0, 10,
336         "show_labels",                  _("装備一覧で装備場所を表示する", "Show labels in object listings") },
337
338         { &show_weights,                TRUE,  OPT_PAGE_TEXT, 0, 11,
339         "show_weights",                 _("アイテム一覧で重量を表示する", "Show weights in object listings") },
340
341         { &show_item_graph,             TRUE,  OPT_PAGE_TEXT, 2, 0,
342         "show_item_graph",              _("アイテムのシンボルを表示する", "Show items graphics") },
343
344         { &equippy_chars,               TRUE,  OPT_PAGE_TEXT, 1, 12,
345         "equippy_chars",                _("ステータスに文字で装備を表示する", "Display 'equippy' chars") },
346
347         { &display_mutations,           FALSE, OPT_PAGE_TEXT, 5, 0,
348         "display_mutations",            _("'C'コマンドで突然変異を表示する", "Display mutations in 'C'haracter Display") },
349
350         { &compress_savefile,           FALSE, OPT_PAGE_TEXT, 1, 26,
351         "compress_savefile",            _("セーブ・ファイル中のメッセージを圧縮する", "Compress messages in savefiles") },
352
353         { &abbrev_extra,                FALSE, OPT_PAGE_TEXT, 2, 10,
354         "abbrev_extra",                 _("アイテムに追加耐性/能力の略称を刻む", "Describe obj's extra resistances by abbreviation") },
355
356         { &abbrev_all,                  FALSE, OPT_PAGE_TEXT, 2, 11,
357         "abbrev_all",                   _("アイテムに全ての耐性/能力の略称を刻む", "Describe obj's all resistances by abbreviation") },
358
359         { &exp_need,                    FALSE, OPT_PAGE_TEXT, 2, 12,
360         "exp_need",                     _("次のレベルに必要な経験値を表示する", "Show the experience needed for next level") },
361
362         { &ignore_unview,               FALSE, OPT_PAGE_TEXT, 2, 13,
363         "ignore_unview",                _("視界外のモンスターの行動を表示しない", "Ignore whenever any monster does") },
364
365         { &show_ammo_detail,            TRUE, OPT_PAGE_TEXT, 2, 14,
366         "show_ammo_detail",             _("矢弾のダメージの説明を表示する", "Show description of ammo damage") },
367
368         { &show_ammo_no_crit,           FALSE, OPT_PAGE_TEXT, 2, 15,
369         "show_ammo_no_crit",            _("会心を考慮しない場合の矢弾のダメージを表示する", "Show ammo damage with no critical") },
370
371         { &show_ammo_crit_ratio,        FALSE, OPT_PAGE_TEXT, 2, 16,
372         "show_ammo_crit_ratio",         _("矢弾の会心発生率を表示する", "Show critical ratio of ammo") },
373
374         { &show_actual_value,           FALSE, OPT_PAGE_TEXT, 2, 17,
375         "show_actual_vaule",            _("各技能値に実値を表示する", "Show actual value of skill") },
376
377
378 /*** Game-Play ***/
379
380         { &stack_force_notes,           TRUE,  OPT_PAGE_GAMEPLAY, 0, 8,
381         "stack_force_notes",            _("異なる銘のアイテムをまとめる", "Merge inscriptions when stacking") },
382
383         { &stack_force_costs,           FALSE, OPT_PAGE_GAMEPLAY, 0, 9,
384         "stack_force_costs",            _("異なる割引表示のアイテムをまとめる", "Merge discounts when stacking") },
385
386         { &expand_list,                 TRUE,  OPT_PAGE_GAMEPLAY, 1, 5,
387         "expand_list",                  _("「一覧」コマンドを拡張する", "Expand the power of the list commands") },
388
389         { &small_levels,                TRUE,  OPT_PAGE_GAMEPLAY, 0, 30,
390         "small_levels",                 _("非常に小さいフロアの生成を可能にする", "Allow unusually small dungeon levels") },
391
392         { &always_small_levels,         FALSE, OPT_PAGE_GAMEPLAY, 2, 3,
393         "always_small_levels",          _("常に非常に小さいフロアを生成する", "Always create unusually small dungeon levels") },
394
395         { &empty_levels,                TRUE,  OPT_PAGE_GAMEPLAY, 0, 31,
396         "empty_levels",                 _("空っぽの「アリーナ」レベルの生成を可能にする", "Allow empty 'arena' levels") },
397
398         { &bound_walls_perm,            FALSE, OPT_PAGE_GAMEPLAY, 2, 1,
399         "bound_walls_perm",             _("ダンジョンの外壁を永久岩にする", "Boundary walls become 'permanent wall'") },
400
401         { &last_words,                  TRUE,  OPT_PAGE_GAMEPLAY, 0, 28,
402         "last_words",                   _("キャラクターが死んだ時遺言をのこす", "Leave last words when your character dies") },
403
404 #ifdef WORLD_SCORE
405         { &send_score,                  TRUE,  OPT_PAGE_GAMEPLAY, 4, 6,
406         "send_score",                   _("スコアサーバにスコアを送る", "Send score dump to the world score server") },
407 #endif
408
409         { &allow_debug_opts,            FALSE, OPT_PAGE_GAMEPLAY, 6, 11,
410         "allow_debug_opts",             _("デバッグ/詐欺オプションを許可する", "Allow use of debug/cheat options") },
411
412 /*** Disturbance ***/
413
414         { &find_ignore_stairs,          FALSE, OPT_PAGE_DISTURBANCE, 0, 16,
415         "find_ignore_stairs",           _("階段は通過する", "Run past stairs") },
416
417         { &find_ignore_doors,           TRUE,  OPT_PAGE_DISTURBANCE, 0, 17,
418         "find_ignore_doors",            _("ドアは通過する", "Run through open doors") },
419
420         { &find_cut,                    FALSE, OPT_PAGE_DISTURBANCE, 0, 18,
421         "find_cut",                     _("曲り角を斜めに最短距離で通過する", "Run past known corners") },
422
423         { &check_abort,                 TRUE,  OPT_PAGE_DISTURBANCE, 1, 18,
424         "check_abort",                  _("連続コマンドはキー入力で中断する", "Check for user abort while continuous command") },
425
426         { &flush_failure,               TRUE,  OPT_PAGE_DISTURBANCE, 1, 20,
427         "flush_failure",                _("様々なミス発生時に入力をクリアする", "Flush input on various failures") },
428
429         { &flush_disturb,               FALSE, OPT_PAGE_DISTURBANCE, 1, 21,
430         "flush_disturb",                _("障害発生時に入力をクリアする", "Flush input whenever disturbed") },
431
432         { &disturb_move,                FALSE, OPT_PAGE_DISTURBANCE, 0, 20,
433         "disturb_move",                 _("どこのモンスターが動いても行動を中止する", "Disturb whenever any monster moves") },
434
435         { &disturb_high,                FALSE, OPT_PAGE_DISTURBANCE, 1, 3,
436         "disturb_high",                 _("レベルの高いモンスターが動いたら行動を中止する", "Disturb whenever high-level monster moves") },
437
438         { &disturb_near,                TRUE,  OPT_PAGE_DISTURBANCE, 0, 21,
439         "disturb_near",                 _("視界内のモンスターが動いたら行動を中止する", "Disturb whenever viewable monster moves") },
440
441         { &disturb_pets,                FALSE, OPT_PAGE_DISTURBANCE, 5, 6,
442         "disturb_pets",                 _("視界内のペットが動いたら行動を中止する", "Disturb when visible pets move") },
443
444         { &disturb_panel,               TRUE,  OPT_PAGE_DISTURBANCE, 0, 22,
445         "disturb_panel",                _("画面スクロール時に行動を中止する", "Disturb whenever map panel changes") },
446
447         { &disturb_state,               TRUE,  OPT_PAGE_DISTURBANCE, 0, 23,
448         "disturb_state",                _("自分のステータス変化時に行動を中止する", "Disturb whenever player state changes") },
449
450         { &disturb_minor,               TRUE,  OPT_PAGE_DISTURBANCE, 0, 24,
451         "disturb_minor",                _("些細なことが起きても行動を中止する", "Disturb whenever boring things happen") },
452
453         { &ring_bell,                   FALSE, OPT_PAGE_DISTURBANCE, 0, 14,
454         "ring_bell",                    _("エラー時にビープ音を鳴らす", "Audible bell (on errors, etc)") },
455
456         { &disturb_trap_detect,         TRUE,  OPT_PAGE_DISTURBANCE, 0, 27,
457         "disturb_trap_detect",          _("トラップ感知範囲外に出る直前に行動を中止する", "Disturb when leaving trap detected area") },
458
459         { &alert_trap_detect,           FALSE, OPT_PAGE_DISTURBANCE, 0, 25,
460         "alert_trap_detect",            _("トラップ感知範囲外に出る直前に警告する", "Alert when leaving trap detected area") },
461
462 /*** Birth Options ***/
463         { &manual_haggle,               FALSE, OPT_PAGE_BIRTH, 1, 0,
464         "manual_haggle",                _("店で値切り交渉をする", "Manually haggle in stores") },
465
466         { &easy_band,                   FALSE, OPT_PAGE_BIRTH, 6, 31,
467         "easy_band",                    _("初心者用簡単モード(*)", "Easy Mode (*)") },
468
469         { &smart_learn,                 TRUE,  OPT_PAGE_BIRTH, 1, 14,
470         "smart_learn",                  _("モンスターは失敗を学習する(*)", "Monsters learn from their mistakes (*)") },
471
472         { &smart_cheat,                 FALSE, OPT_PAGE_BIRTH, 1, 15,
473         "smart_cheat",                  _("モンスターはプレイヤーの弱みを突く(*)", "Monsters exploit players weaknesses (*)") },
474
475         { &vanilla_town,                FALSE, OPT_PAGE_BIRTH, 6, 0,
476         "vanilla_town",                 _("元祖の街/クエストと荒野なし", "Use 'vanilla' town without quests and wilderness") },
477
478         { &lite_town,                   FALSE, OPT_PAGE_BIRTH, 6, 1,
479         "lite_town",                    _("小規模な街/荒野なし", "Use 'lite' town without a wilderness") },
480
481         { &ironman_shops,               FALSE, OPT_PAGE_BIRTH, 6, 2,
482         "ironman_shops",                _("(鉄人用)店を使用しない(*)", "Stores are permanently closed (*)") },
483
484         { &ironman_small_levels,        FALSE, OPT_PAGE_BIRTH, 6, 3,
485         "ironman_small_levels",         _("(鉄人用)常に非常に小さいフロアを生成(*)", "Always create unusually small dungeon levels (*)") },
486
487         { &ironman_downward,            FALSE, OPT_PAGE_BIRTH, 6, 4,
488         "ironman_downward",             _("(鉄人用)帰還と上り階段なし(*)", "Disable recall and use of up stairs (*)") },
489
490         { &ironman_empty_levels,        FALSE, OPT_PAGE_BIRTH, 6, 8,
491         "ironman_empty_levels",         _("(鉄人用)常に空っぽのアリーナレベルを生成(*)", "Always create empty 'arena' levels (*)") },
492
493         { &ironman_rooms,               FALSE, OPT_PAGE_BIRTH, 6, 12,
494         "ironman_rooms",                _("(鉄人用)常に普通でない部屋を生成する(*)", "Always generate very unusual rooms (*)") },
495
496         { &ironman_nightmare,           FALSE, OPT_PAGE_BIRTH, 6, 18,
497         "ironman_nightmare",            _("(鉄人用)悪夢モード(これは全く不条理です!)(*)", "Nightmare mode(it isn't even remotely fair!)(*)") },
498
499         { &left_hander,                 FALSE, OPT_PAGE_BIRTH, 6, 13,
500         "left_hander",                  _("左利きである", "Left-Hander") },
501
502         { &preserve_mode,               TRUE,  OPT_PAGE_BIRTH, 6, 14,
503         "preserve_mode",                _("伝説のアイテムを取り逃しても再生成される(*)", "Preserve artifacts (*)") },
504
505         { &autoroller,                  TRUE,  OPT_PAGE_BIRTH, 6, 15,
506         "autoroller",                   _("能力値にオートローラー使用(*)", "Allow use of autoroller for stats (*)") },
507
508         { &autochara,                   FALSE, OPT_PAGE_BIRTH, 6, 16,
509         "autochara",                   _("体格/地位にオートローラー使用", "Autoroll for weight, height and social status") },
510
511         { &powerup_home,                TRUE,  OPT_PAGE_BIRTH, 4, 3,
512         "powerup_home",                 _("我が家を拡張する(*)", "Increase capacity of your home (*)") },
513
514 /*** Easy Object Auto-Destroyer ***/
515
516         { &destroy_items,               FALSE, OPT_PAGE_AUTODESTROY, 7, 0,
517         "destroy_items",                _("アイテムの簡易自動破壊を使用する", "Use easy auto-destroyer") },
518
519         { &destroy_feeling,             FALSE, OPT_PAGE_AUTODESTROY, 7, 8,
520         "destroy_feeling",              _("簡易鑑定したとき自動破壊を適用する", "Apply auto-destroy as sense feeling") },
521
522         { &destroy_identify,            FALSE, OPT_PAGE_AUTODESTROY, 7, 9,
523         "destroy_identify",             _("鑑定したとき自動破壊を適用する", "Apply auto-destroy as identify an item") },
524
525         { &leave_worth,                 TRUE,  OPT_PAGE_AUTODESTROY, 7, 2,
526         "leave_worth",                  _("価値があるアイテムは壊さない", "Auto-destroyer leaves known worthy items") },
527
528         { &leave_equip,                 FALSE, OPT_PAGE_AUTODESTROY, 7, 3,
529         "leave_equip",                  _("武器/防具は壊さない", "Auto-destroyer leaves weapons and armour") },
530
531         { &leave_chest,                 TRUE,  OPT_PAGE_AUTODESTROY, 7, 7,
532         "leave_chest",                  _("開封されていない箱は壊さない", "Auto-destroyer leaves closed chests") },
533
534         { &leave_wanted,                TRUE,  OPT_PAGE_AUTODESTROY, 7, 4,
535         "leave_wanted",                 _("賞金首の死体/骨は壊さない", "Auto-destroyer leaves wanted corpses") },
536
537         { &leave_corpse,                FALSE, OPT_PAGE_AUTODESTROY, 7, 5,
538         "leave_corpse",                 _("死体/骨は壊さない", "Auto-destroyer leaves corpses and skeletons") },
539
540         { &leave_junk,                  FALSE, OPT_PAGE_AUTODESTROY, 7, 6,
541         "leave_junk",                   _("がらくたは壊さない", "Auto-destroyer leaves junk") },
542
543         { &leave_special,               TRUE,  OPT_PAGE_AUTODESTROY, 7, 1,
544         "leave_special",                _("種族/職業で特別に必要なアイテムは壊さない", "Auto-destroyer leaves items your race/class needs") },
545
546 /*** Play-record Options ***/
547
548         { &record_fix_art,              TRUE,  OPT_PAGE_PLAYRECORD, 4, 11,
549         "record_fix_art",               _("固定アーティファクトの入手を記録する", "Record fixed artifacts") },
550
551         { &record_rand_art,             TRUE,  OPT_PAGE_PLAYRECORD, 4, 12,
552         "record_rand_art",              _("ランダムアーティファクトの入手を記録する", "Record random artifacts") },
553
554         { &record_destroy_uniq,         TRUE,  OPT_PAGE_PLAYRECORD, 4, 13,
555         "record_destroy_uniq",          _("ユニークモンスターを倒したときを記録する", "Record when destroy unique monster") },
556
557         { &record_fix_quest,            TRUE,  OPT_PAGE_PLAYRECORD, 4, 14,
558         "record_fix_quest",             _("固定クエストの達成を記録する", "Record fixed quests") },
559
560         { &record_rand_quest,           TRUE,  OPT_PAGE_PLAYRECORD, 4, 15,
561         "record_rand_quest",            _("ランダムクエストの達成を記録する", "Record random quests") },
562
563         { &record_maxdepth,             TRUE,  OPT_PAGE_PLAYRECORD, 4, 16,
564         "record_maxdepth",              _("最深階を更新したときに記録する", "Record movements to deepest level") },
565
566         { &record_stair,                TRUE,  OPT_PAGE_PLAYRECORD, 4, 17,
567         "record_stair",                 _("階の移動を記録する", "Record recall and stair movements") },
568
569         { &record_buy,                  TRUE,  OPT_PAGE_PLAYRECORD, 4, 18,
570         "record_buy",                   _("アイテムの購入を記録する", "Record purchased items") },
571
572         { &record_sell,                 FALSE, OPT_PAGE_PLAYRECORD, 4, 19,
573         "record_sell",                  _("アイテムの売却を記録する", "Record sold items") },
574
575         { &record_danger,               TRUE,  OPT_PAGE_PLAYRECORD, 4, 20,
576         "record_danger",                _("ピンチになったときを記録する", "Record hitpoint warning") },
577
578         { &record_arena,                TRUE,  OPT_PAGE_PLAYRECORD, 4, 21,
579         "record_arena",                 _("アリーナでの勝利を記録する", "Record arena victories") },
580
581         { &record_ident,                TRUE,  OPT_PAGE_PLAYRECORD, 4, 22,
582         "record_ident",                 _("未判明のアイテムの識別を記録する", "Record first identified items") },
583
584         { &record_named_pet,            FALSE, OPT_PAGE_PLAYRECORD, 4, 23,
585         "record_named_pet",             _("名前つきペットの情報を記録する", "Record informations of named pets") },
586
587 /*** End of Table ***/
588
589         { NULL,                         0, 0, 0, 0,
590         NULL,                           NULL }
591 };
592
593 /*!
594  * チートオプションの定義テーブル / Cheating options
595  */
596 const option_type cheat_info[CHEAT_MAX] =
597 {
598         { &cheat_peek,          FALSE,  255,    0x01, 0x00,
599         "cheat_peek",           _("アイテムの生成をのぞき見る", "Peek into object creation")
600         },
601
602         { &cheat_hear,          FALSE,  255,    0x02, 0x00,
603         "cheat_hear",           _("モンスターの生成をのぞき見る", "Peek into monster creation")
604         },
605
606         { &cheat_room,          FALSE,  255,    0x04, 0x00,
607         "cheat_room",           _("ダンジョンの生成をのぞき見る", "Peek into dungeon creation")
608         },
609
610         { &cheat_xtra,          FALSE,  255,    0x08, 0x00,
611         "cheat_xtra",           _("その他の事をのぞき見る", "Peek into something else")
612         },
613
614         { &cheat_know,          FALSE,  255,    0x10, 0x00,
615         "cheat_know",           _("完全なモンスターの思い出を知る", "Know complete monster info")
616         },
617
618         { &cheat_live,          FALSE,  255,    0x20, 0x00,
619         "cheat_live",           _("死を回避することを可能にする", "Allow player to avoid death")
620         },
621
622         { &cheat_save,          FALSE,  255,    0x40, 0x00,
623         "cheat_save",           _("死んだ時セーブするか確認する", "Ask for saving death")
624         },
625
626         { &cheat_diary_output,  FALSE,  255,    0x80, 0x00,
627         "cheat_diary_output",   _("ウィザードログを日記に出力する", "Output wizard log to diary.")
628         },
629
630         { &cheat_turn,  FALSE,  255,    0x81, 0x00,
631         "cheat_turn",   _("ゲームメッセージにターン表示を行う", "Put turn to game message.")
632         },
633
634         { &cheat_sight, FALSE,  255,    0x82, 0x00,
635         "cheat_sight",  _("「見る」コマンドを拡張する。", "Expand \"L\"ook command.")
636         }
637 };
638
639
640 /*!
641 * 自動セーブオプションテーブル
642 */
643 const option_type autosave_info[2] =
644 {
645         { &autosave_l,      FALSE, 255, 0x01, 0x00,
646         "autosave_l",    _("新しい階に入る度に自動セーブする", "Autosave when entering new levels") },
647
648         { &autosave_t,      FALSE, 255, 0x02, 0x00,
649         "autosave_t",   _("一定ターン毎に自動セーブする", "Timed autosave") },
650 };