|
Freeciv-3.1
|
Data Fields | ||
| struct option | base_option | |
| const char * | name | |
| const char * | description | |
| const char * | help_text | |
| enum client_option_category | category | |
| enum gui_type | specific | |
| union { | ||
| struct { | ||
| bool *const pvalue | ||
| const bool def | ||
| } boolean | ||
| struct { | ||
| int *const pvalue | ||
| const int def | ||
| const int min | ||
| const int max | ||
| } integer | ||
| struct { | ||
| char *const pvalue | ||
| const size_t size | ||
| const char *const def | ||
| const struct strvec *(*const val_accessor )(const struct option *) | ||
| } string | ||
| struct { | ||
| int *const pvalue | ||
| const int def | ||
| struct strvec * support_names | ||
| struct strvec * pretty_names | ||
| const struct copt_val_name *(*const name_accessor )(int value) | ||
| } enumerator | ||
| struct { | ||
| unsigned *const pvalue | ||
| const unsigned def | ||
| struct strvec * support_names | ||
| struct strvec * pretty_names | ||
| const struct copt_val_name *(*const name_accessor )(int value) | ||
| } bitwise | ||
| struct { | ||
| char *const pvalue | ||
| const size_t size | ||
| const char *const def | ||
| const char *const target | ||
| } font | ||
| struct { | ||
| struct ft_color *const pvalue | ||
| const struct ft_color def | ||
| } color | ||
| struct { | ||
| struct video_mode *const pvalue | ||
| const struct video_mode def | ||
| } video_mode | ||
| }; | ||
| union { ... } client_option |
| struct { ... } client_option::bitwise |
| struct { ... } client_option::boolean |
Referenced by client_option_bool_set().
| enum client_option_category client_option::category |
| struct { ... } client_option::color |
| const struct video_mode client_option::def |
| struct { ... } client_option::enumerator |
Referenced by client_option_enum_set().
| struct { ... } client_option::font |
Referenced by client_option_font_set().
| struct { ... } client_option::integer |
Referenced by client_option_int_set().
| const int client_option::max |
Definition at line 1419 of file options.c.
Referenced by client_option_int_set(), and client_option_next_valid().
| const char* client_option::name |
Definition at line 1404 of file options.c.
Referenced by client_option_name().
| const struct copt_val_name *(*const client_option::name_accessor) (int value) |
| bool* const client_option::pvalue |
Definition at line 1413 of file options.c.
Referenced by client_option_bool_set(), client_option_enum_set(), client_option_font_set(), client_option_int_set(), client_option_str_set(), and client_option_video_mode_set().
| struct video_mode* const client_option::pvalue |
| const size_t client_option::size |
Definition at line 1424 of file options.c.
Referenced by client_option_font_set(), and client_option_str_set().
| enum gui_type client_option::specific |
Definition at line 1408 of file options.c.
Referenced by client_option_next_valid().
| struct { ... } client_option::string |
Referenced by client_option_load(), and client_option_str_set().
| struct strvec* client_option::support_names |
Definition at line 1436 of file options.c.
Referenced by client_option_enum_set().
| struct { ... } client_option::video_mode |
Referenced by client_option_video_mode_set().