OSDN Git Service

Merge remote-tracking branch 'remotes/origin/For2.2.2-Fix-Hourier' into For2.2.2...
[hengband/hengband.git] / src / game-option / option-types-table.h
1 #pragma once
2
3 #include "system/angband.h"
4
5 /*
6  * Available "options"
7  *      - Address of actual option variable (or NULL)
8  *      - Normal Value (TRUE or FALSE)
9  *      - Option Page Number (or zero)
10  *      - Savefile Set (or zero)
11  *      - Savefile Bit in that set
12  *      - Textual name (or NULL)
13  *      - Textual description
14  */
15 typedef struct option_type {
16     bool *o_var;
17     byte o_norm;
18     byte o_page;
19     byte o_set;
20     byte o_bit;
21     concptr o_text;
22     concptr o_desc;
23 } option_type;
24
25 #define MAX_OPTION_INFO 119
26 #define MAX_CHEAT_OPTIONS 10
27 #define MAX_AUTOSAVE_INFO 2
28
29 extern const option_type option_info[MAX_OPTION_INFO];
30 extern const option_type cheat_info[MAX_CHEAT_OPTIONS];
31 extern const option_type autosave_info[MAX_AUTOSAVE_INFO];