OSDN Git Service

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