Freeciv-3.1
|
Data Fields | ||
struct option | base_option | |
char * | name | |
char * | description | |
char * | help_text | |
unsigned char | category | |
bool | desired_sent | |
bool | is_changeable | |
bool | is_visible | |
enum setting_default_level | setdef | |
union { | ||
struct { | ||
bool value | ||
bool def | ||
} boolean | ||
struct { | ||
int value | ||
int def | ||
int min | ||
int max | ||
} integer | ||
struct { | ||
char * value | ||
char * def | ||
} string | ||
struct { | ||
int value | ||
int def | ||
struct strvec * support_names | ||
struct strvec * pretty_names | ||
} enumerator | ||
struct { | ||
unsigned value | ||
unsigned def | ||
struct strvec * support_names | ||
struct strvec * pretty_names | ||
} bitwise | ||
}; | ||
union { ... } server_option |
struct option server_option::base_option |
Definition at line 4101 of file options.c.
Referenced by server_option_free().
struct { ... } server_option::bitwise |
Referenced by server_option_bitwise_set(), server_option_bitwise_support_name(), and server_option_free().
struct { ... } server_option::boolean |
Referenced by handle_server_setting_bool(), and server_option_bool_set().
unsigned char server_option::category |
Definition at line 4106 of file options.c.
Referenced by handle_server_setting_const().
bool server_option::def |
Definition at line 4116 of file options.c.
Referenced by handle_server_setting_bool(), server_option_bitwise_support_name(), server_option_enum_support_name(), and server_option_free().
char* server_option::description |
Definition at line 4104 of file options.c.
Referenced by handle_server_setting_const(), and server_option_free().
bool server_option::desired_sent |
Definition at line 4107 of file options.c.
Referenced by resend_desired_settable_options().
struct { ... } server_option::enumerator |
Referenced by server_option_enum_set(), server_option_enum_support_name(), and server_option_free().
char* server_option::help_text |
Definition at line 4105 of file options.c.
Referenced by handle_server_setting_const(), and server_option_free().
struct { ... } server_option::integer |
Referenced by server_option_int_set().
bool server_option::is_changeable |
Definition at line 4108 of file options.c.
Referenced by resend_desired_settable_options().
bool server_option::is_visible |
Definition at line 4109 of file options.c.
Referenced by resend_desired_settable_options(), and server_option_next_valid().
int server_option::max |
Definition at line 4121 of file options.c.
Referenced by server_option_int_set(), and server_option_next_valid().
char* server_option::name |
Definition at line 4103 of file options.c.
Referenced by handle_server_setting_const(), server_option_bitwise_set(), server_option_bool_set(), server_option_enum_set(), server_option_free(), server_option_int_set(), and server_option_str_set().
struct strvec* server_option::pretty_names |
Definition at line 4133 of file options.c.
Referenced by server_option_free().
enum setting_default_level server_option::setdef |
Definition at line 4110 of file options.c.
Referenced by desired_settable_options_update().
struct { ... } server_option::string |
Referenced by server_option_free(), and server_option_str_set().
struct strvec* server_option::support_names |
Definition at line 4132 of file options.c.
Referenced by server_option_bitwise_set(), server_option_bitwise_support_name(), server_option_enum_set(), server_option_enum_support_name(), and server_option_free().
bool server_option::value |
Definition at line 4115 of file options.c.
Referenced by desired_settable_options_update(), handle_server_setting_bool(), resend_desired_settable_options(), server_option_bitwise_set(), server_option_bitwise_support_name(), server_option_bool_set(), server_option_enum_set(), server_option_enum_support_name(), server_option_free(), server_option_int_set(), and server_option_str_set().