Freeciv-3.1
|
Data Structures | |
struct | option_common_vtable |
Data Fields | ||
const struct option_set * | poptset | |
enum option_type | type | |
const struct option::option_common_vtable * | common_vtable | |
union { | ||
struct option_bool_vtable { | ||
bool(* get )(const struct option *) | ||
bool(* def )(const struct option *) | ||
bool(* set )(struct option *, bool) | ||
} bool_vtable | ||
struct option_int_vtable { | ||
int(* get )(const struct option *) | ||
int(* def )(const struct option *) | ||
int(* minimum )(const struct option *) | ||
int(* maximum )(const struct option *) | ||
bool(* set )(struct option *, int) | ||
} int_vtable | ||
struct option_str_vtable { | ||
const char *(* get )(const struct option *) | ||
const char *(* def )(const struct option *) | ||
const struct strvec *(* values )(const struct option *) | ||
bool(* set )(struct option *, const char *) | ||
} str_vtable | ||
struct option_enum_vtable { | ||
int(* get )(const struct option *) | ||
int(* def )(const struct option *) | ||
const struct strvec *(* values )(const struct option *) | ||
bool(* set )(struct option *, int) | ||
int(* cmp )(const char *, const char *) | ||
} enum_vtable | ||
struct option_bitwise_vtable { | ||
unsigned(* get )(const struct option *) | ||
unsigned(* def )(const struct option *) | ||
const struct strvec *(* values )(const struct option *) | ||
bool(* set )(struct option *, unsigned) | ||
} bitwise_vtable | ||
struct option_font_vtable { | ||
const char *(* get )(const struct option *) | ||
const char *(* def )(const struct option *) | ||
const char *(* target )(const struct option *) | ||
bool(* set )(struct option *, const char *) | ||
} font_vtable | ||
struct option_color_vtable { | ||
struct ft_color(* get )(const struct option *) | ||
struct ft_color(* def )(const struct option *) | ||
bool(* set )(struct option *, struct ft_color) | ||
} color_vtable | ||
struct option_video_mode_vtable { | ||
struct video_mode(* get )(const struct option *) | ||
struct video_mode(* def )(const struct option *) | ||
bool(* set )(struct option *, struct video_mode) | ||
} video_mode_vtable | ||
}; | ||
void(* | changed_callback )(struct option *option) | |
int | callback_data | |
void * | gui_data | |
union { ... } option |
const struct { ... } ::option_bitwise_vtable * option::bitwise_vtable |
Referenced by option_bitwise_def(), option_bitwise_get(), option_bitwise_mask(), option_bitwise_set(), and option_bitwise_values().
const struct { ... } ::option_bool_vtable * option::bool_vtable |
Referenced by handle_server_setting_bool(), option_bool_def(), option_bool_get(), and option_bool_set().
int option::callback_data |
Definition at line 532 of file options.c.
Referenced by option_get_cb_data().
Definition at line 530 of file options.c.
Referenced by option_changed(), and option_set_changed_callback().
const struct { ... } ::option_color_vtable * option::color_vtable |
Referenced by option_color_def(), option_color_get(), and option_color_set().
const struct option::option_common_vtable * option::common_vtable |
struct video_mode(* option::def) (const struct option *) |
const struct { ... } ::option_enum_vtable * option::enum_vtable |
const struct { ... } ::option_font_vtable * option::font_vtable |
Referenced by option_font_def(), option_font_get(), option_font_set(), and option_font_target().
struct video_mode(* option::get) (const struct option *) |
void* option::gui_data |
Definition at line 535 of file options.c.
Referenced by option_get_gui_data(), and option_set_gui_data().
const struct { ... } ::option_int_vtable * option::int_vtable |
Referenced by option_int_def(), option_int_get(), option_int_max(), option_int_min(), and option_int_set().
const struct option_set* option::poptset |
Definition at line 456 of file options.c.
Referenced by handle_server_setting_bool(), option_category_name(), option_optset(), optset_category_name(), optset_category_number(), optset_option_by_name(), optset_option_by_number(), and optset_option_first().
bool(* option::set) (struct option *, struct video_mode) |
const struct { ... } ::option_str_vtable * option::str_vtable |
Referenced by option_str_def(), option_str_get(), option_str_set(), and option_str_values().
enum option_type option::type |
Definition at line 458 of file options.c.
Referenced by handle_server_setting_bool(), option_bitwise_def(), option_bitwise_get(), option_bitwise_mask(), option_bitwise_set(), option_bitwise_values(), option_bool_def(), option_bool_get(), option_bool_set(), option_color_def(), option_color_get(), option_color_set(), option_enum_def_int(), option_enum_def_str(), option_enum_get_int(), option_enum_get_str(), option_enum_int_to_str(), option_enum_set_int(), option_enum_set_str(), option_enum_str_to_int(), option_enum_values(), option_font_def(), option_font_get(), option_font_set(), option_font_target(), option_int_def(), option_int_get(), option_int_max(), option_int_min(), option_int_set(), option_str_def(), option_str_get(), option_str_set(), option_str_values(), option_type(), option_video_mode_def(), option_video_mode_get(), option_video_mode_set(), and server_option_free().
const struct { ... } ::option_video_mode_vtable * option::video_mode_vtable |
Referenced by option_video_mode_def(), option_video_mode_get(), and option_video_mode_set().