OSDN Git Service

[Refactor] #37353 生命の薬の効果をlife_stream()に分離。
[hengband/hengband.git] / src / gameoption.h
1 \r
2 /*\r
3  * Software options (set via the '=' command).  See "tables.c"\r
4  */\r
5 \r
6 /*** Input Options ***/\r
7 \r
8 bool rogue_like_commands;       /* Rogue-like commands */\r
9 bool always_pickup;     /* Pick things up by default */\r
10 bool carry_query_flag;  /* Prompt before picking things up */\r
11 bool quick_messages;    /* Activate quick messages */\r
12 bool auto_more; /* Automatically clear '-more-' prompts */\r
13 bool command_menu;      /* Enable command selection menu */\r
14 bool other_query_flag;  /* Prompt for floor item selection */\r
15 bool use_old_target;    /* Use old target by default */\r
16 bool always_repeat;     /* Repeat obvious commands */\r
17 bool confirm_destroy;   /* Prompt for destruction of known worthless items */\r
18 bool confirm_wear;      /* Confirm to wear/wield known cursed items */\r
19 bool confirm_quest;     /* Prompt before exiting a quest level */\r
20 bool target_pet;        /* Allow targetting pets */\r
21 \r
22 #ifdef ALLOW_EASY_OPEN\r
23 bool easy_open; /* Automatically open doors */\r
24 #endif\r
25 \r
26 #ifdef ALLOW_EASY_DISARM\r
27 bool easy_disarm;       /* Automatically disarm traps */\r
28 #endif\r
29 \r
30 #ifdef ALLOW_EASY_FLOOR\r
31 bool easy_floor;        /* Display floor stacks in a list */\r
32 #endif\r
33 \r
34 bool use_command;       /* Allow unified use command */\r
35 bool over_exert;        /* Allow casting spells when short of mana */\r
36 bool numpad_as_cursorkey;       /* Use numpad keys as cursor key in editor mode */\r
37 \r
38 \r
39                                                         /*** Map Screen Options ***/\r
40 \r
41 bool center_player;     /* Center map while walking (*slow*) */\r
42 bool center_running;    /* Centering even while running */\r
43 bool view_yellow_lite;  /* Use special colors for torch-lit grids */\r
44 bool view_bright_lite;  /* Use special colors for 'viewable' grids */\r
45 bool view_granite_lite; /* Use special colors for wall grids (slow) */\r
46 bool view_special_lite; /* Use special colors for floor grids (slow) */\r
47 bool view_perma_grids;  /* Map remembers all perma-lit grids */\r
48 bool view_torch_grids;  /* Map remembers all torch-lit grids */\r
49 bool view_unsafe_grids; /* Map marked by detect traps */\r
50 bool view_reduce_view;  /* Reduce view-radius in town */\r
51 bool fresh_before;      /* Flush output while continuous command */\r
52 bool fresh_after;       /* Flush output after monster's move */\r
53 bool fresh_message;     /* Flush output after every message */\r
54 bool hilite_player;     /* Hilite the player with the cursor */\r
55 bool display_path;      /* Display actual path before shooting */\r
56 \r
57 \r
58                                         /*** Text Display Options ***/\r
59 \r
60 bool plain_descriptions;        /* Plain object descriptions */\r
61 bool plain_pickup;      /* Plain pickup messages(japanese only) */\r
62 bool always_show_list;  /* Always show list when choosing items */\r
63 bool depth_in_feet;     /* Show dungeon level in feet */\r
64 bool show_labels;       /* Show labels in object listings */\r
65 bool show_weights;      /* Show weights in object listings */\r
66 bool show_item_graph;   /* Show items graphics */\r
67 bool equippy_chars;     /* Display 'equippy' chars */\r
68 bool display_mutations; /* Display mutations in 'C'haracter Display */\r
69 bool compress_savefile; /* Compress messages in savefiles */\r
70 bool abbrev_extra;      /* Describe obj's extra resistances by abbreviation */\r
71 bool abbrev_all;        /* Describe obj's all resistances by abbreviation */\r
72 bool exp_need;  /* Show the experience needed for next level */\r
73 bool ignore_unview;     /* Ignore whenever any monster does */\r
74 \r
75 \r
76                                         /*** Game-Play Options ***/\r
77 \r
78 bool stack_force_notes; /* Merge inscriptions when stacking */\r
79 bool stack_force_costs; /* Merge discounts when stacking */\r
80 bool expand_list;       /* Expand the power of the list commands */\r
81 bool small_levels;      /* Allow unusually small dungeon levels */\r
82 bool always_small_levels;       /* Always create unusually small dungeon levels */\r
83 bool empty_levels;      /* Allow empty 'arena' levels */\r
84 bool bound_walls_perm;  /* Boundary walls become 'permanent wall' */\r
85 bool last_words;        /* Leave last words when your character dies */\r
86 \r
87 #ifdef WORLD_SCORE\r
88 bool send_score;        /* Send score dump to the world score server */\r
89 #endif\r
90 \r
91 bool allow_debug_opts;  /* Allow use of debug/cheat options */\r
92 \r
93 \r
94                                                 /*** Disturbance Options ***/\r
95 \r
96 bool find_ignore_stairs;        /* Run past stairs */\r
97 bool find_ignore_doors; /* Run through open doors */\r
98 bool find_cut;  /* Run past known corners */\r
99 bool check_abort;       /* Check for user abort while continuous command */\r
100 bool flush_failure;     /* Flush input on various failures */\r
101 bool flush_disturb;     /* Flush input whenever disturbed */\r
102 bool disturb_move;      /* Disturb whenever any monster moves */\r
103 bool disturb_high;      /* Disturb whenever high-level monster moves */\r
104 bool disturb_near;      /* Disturb whenever viewable monster moves */\r
105 bool disturb_pets;      /* Disturb when visible pets move */\r
106 bool disturb_panel;     /* Disturb whenever map panel changes */\r
107 bool disturb_state;     /* Disturb whenever player state changes */\r
108 bool disturb_minor;     /* Disturb whenever boring things happen */\r
109 bool ring_bell; /* Audible bell (on errors, etc) */\r
110 bool disturb_trap_detect;       /* Disturb when leaving trap detected area */\r
111 bool alert_trap_detect; /* Alert when leaving trap detected area */\r
112 \r
113 \r
114                                                 /*** Birth Options ***/\r
115 \r
116 bool manual_haggle;     /* Manually haggle in stores */\r
117 bool easy_band; /* Easy Mode (*) */\r
118 bool smart_learn;       /* Monsters learn from their mistakes (*) */\r
119 bool smart_cheat;       /* Monsters exploit players weaknesses (*) */\r
120 bool vanilla_town;      /* Use 'vanilla' town without quests and wilderness */\r
121 bool lite_town; /* Use 'lite' town without a wilderness */\r
122 bool ironman_shops;     /* Stores are permanently closed (*) */\r
123 bool ironman_small_levels;      /* Always create unusually small dungeon levels (*) */\r
124 bool ironman_downward;  /* Disable recall and use of up stairs (*) */\r
125 bool ironman_empty_levels;      /* Always create empty 'arena' levels (*) */\r
126 bool ironman_rooms;     /* Always generate very unusual rooms (*) */\r
127 bool ironman_nightmare; /* Nightmare mode(it isn't even remotely fair!)(*) */\r
128 bool left_hander;       /* Left-Hander */\r
129 bool preserve_mode;     /* Preserve artifacts (*) */\r
130 bool autoroller;        /* Allow use of autoroller for stats (*) */\r
131 bool autochara; /* Autoroll for weight, height and social status */\r
132 bool powerup_home;      /* Increase capacity of your home (*) */\r
133 bool show_ammo_detail;  /* Show Description of ammo damage */\r
134 bool show_ammo_no_crit; /* Show No-crit damage of ammo */\r
135 bool show_ammo_crit_ratio;      /* Show critical ratio of ammo */\r
136 \r
137 \r
138 \r
139 \r
140                                                         /*** Easy Object Auto-Destroyer ***/\r
141 \r
142 bool destroy_items;     /* Use easy auto-destroyer */\r
143 bool destroy_feeling;   /* Apply auto-destroy as sense feeling */\r
144 bool destroy_identify;  /* Apply auto-destroy as identify an item */\r
145 bool leave_worth;       /* Auto-destroyer leaves known worthy items */\r
146 bool leave_equip;       /* Auto-destroyer leaves weapons and armour */\r
147 bool leave_chest;       /* Auto-destroyer leaves closed chests */\r
148 bool leave_wanted;      /* Auto-destroyer leaves wanted corpses */\r
149 bool leave_corpse;      /* Auto-destroyer leaves corpses and skeletons */\r
150 bool leave_junk;        /* Auto-destroyer leaves junk */\r
151 bool leave_special;     /* Auto-destroyer leaves items your race/class needs */\r
152 \r
153 \r
154                                         /*** Play-record Options ***/\r
155 \r
156 bool record_fix_art;    /* Record fixed artifacts */\r
157 bool record_rand_art;   /* Record random artifacts */\r
158 bool record_destroy_uniq;       /* Record when destroy unique monster */\r
159 bool record_fix_quest;  /* Record fixed quests */\r
160 bool record_rand_quest; /* Record random quests */\r
161 bool record_maxdepth;   /* Record movements to deepest level */\r
162 bool record_stair;      /* Record recall and stair movements */\r
163 bool record_buy;        /* Record purchased items */\r
164 bool record_sell;       /* Record sold items */\r
165 bool record_danger;     /* Record hitpoint warning */\r
166 bool record_arena;      /* Record arena victories */\r
167 bool record_ident;      /* Record first identified items */\r
168 bool record_named_pet;  /* Record informations of named pets */\r
169 char record_o_name[MAX_NLEN];\r
170 s32b record_turn;\r
171 \r
172 \r
173 /* Cheating options */\r
174 \r
175 bool cheat_peek;        /* Peek into object creation */\r
176 bool cheat_hear;        /* Peek into monster creation */\r
177 bool cheat_room;        /* Peek into dungeon creation */\r
178 bool cheat_xtra;        /* Peek into something else */\r
179 bool cheat_know;        /* Know complete monster info */\r
180 bool cheat_live;        /* Allow player to avoid death */\r
181 bool cheat_save;        /* Ask for saving death */\r
182 bool cheat_diary_output; /* Detailed info to diary */\r
183 bool cheat_turn;        /* Peek turn */\r
184 bool cheat_sight;\r
185 \r
186 \r
187 /* Special options */\r
188 \r
189 byte hitpoint_warn;     /* Hitpoint warning (0 to 9) */\r
190 byte mana_warn; /* Mana color (0 to 9) */\r
191 \r
192 byte delay_factor;      /* Delay factor (0 to 9) */\r
193 \r
194 bool autosave_l;        /* Autosave before entering new levels */\r
195 bool autosave_t;        /* Timed autosave */\r
196 s16b autosave_freq;     /* Autosave frequency */\r
197 \r