Freeciv-3.3
|
#include <stdarg.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include "deprecations.h"
#include "fcintl.h"
#include "ioz.h"
#include "log.h"
#include "mem.h"
#include "registry.h"
#include "shared.h"
#include "string_vector.h"
#include "support.h"
#include "events.h"
#include "version.h"
#include "cma_fec.h"
#include "chatline_g.h"
#include "dialogs_g.h"
#include "gui_main_g.h"
#include "menu_g.h"
#include "optiondlg_g.h"
#include "repodlgs_g.h"
#include "voteinfo_bar_g.h"
#include "audio.h"
#include "cityrepdata.h"
#include "client_main.h"
#include "climisc.h"
#include "connectdlg_common.h"
#include "global_worklist.h"
#include "mapctrl_common.h"
#include "mapview_common.h"
#include "music.h"
#include "overview_common.h"
#include <packhand_gen.h>
#include "plrdlg_common.h"
#include "repodlgs_common.h"
#include "servers.h"
#include "themes_common.h"
#include "tilespec.h"
#include "options.h"
#include "spechash.h"
Go to the source code of this file.
Data Structures | |
struct | option_set |
struct | option |
struct | option::option_common_vtable |
struct | copt_val_name |
struct | client_option |
struct | server_option |
Enumerations | |
enum | client_option_category { COC_GRAPHICS , COC_OVERVIEW , COC_SOUND , COC_INTERFACE , COC_MAPIMG , COC_NETWORK , COC_FONT , COC_MAX } |
#define CLIENT_OPTION | ( | poption | ) | ((struct client_option *) (poption)) |
#define dialog_options_hash_iterate_end HASH_ITERATE_END |
#define GEN_VIDEO_OPTION | ( | oname, | |
odesc, | |||
ohelp, | |||
ocat, | |||
ospec, | |||
odef_width, | |||
odef_height, | |||
ocb | |||
) |
#define OPTION_BITWISE_INIT | ( | optset, | |
common_table, | |||
bitwise_table, | |||
changed_cb | |||
) |
#define OPTION_BOOL_INIT | ( | optset, | |
common_table, | |||
bool_table, | |||
changed_cb | |||
) |
#define OPTION_COLOR_INIT | ( | optset, | |
common_table, | |||
color_table, | |||
changed_cb | |||
) |
#define OPTION_ENUM_INIT | ( | optset, | |
common_table, | |||
enum_table, | |||
changed_cb | |||
) |
#define OPTION_FONT_INIT | ( | optset, | |
common_table, | |||
font_table, | |||
changed_cb | |||
) |
#define OPTION_INIT | ( | optset, | |
spec_type, | |||
spec_table_var, | |||
common_table, | |||
spec_table, | |||
changed_cb, | |||
cb_data | |||
) |
#define OPTION_INT_INIT | ( | optset, | |
common_table, | |||
int_table, | |||
changed_cb | |||
) |
#define OPTION_STR_INIT | ( | optset, | |
common_table, | |||
str_table, | |||
changed_cb, | |||
cb_data | |||
) |
#define OPTION_VIDEO_MODE_INIT | ( | optset, | |
common_table, | |||
video_mode_table, | |||
changed_cb | |||
) |
#define SERVER_OPTION | ( | poption | ) | ((struct server_option *) (poption)) |
#define settable_options_hash_iterate_end HASH_ITERATE_END |
#define SPECHASH_IDATA_TO_UDATA FC_PTR_TO_INT |
#define SPECHASH_TAG settable_options |
#define SPECHASH_TAG dialog_options |
#define SPECHASH_UDATA_TO_IDATA FC_INT_TO_PTR |
#define SPECHASH_VPTR_TO_IDATA FC_PTR_TO_INT |
|
static |
Returns the "support" name of a single value for this client option of type OT_BITWISE (a string suitable for saving in a file). The prototype must match the 'secfile_enum_name_data_fn_t' type.
Definition at line 3955 of file options.c.
Referenced by client_option_load(), and client_option_save().
|
static |
Returns the "support" name of the value for this client option of type OT_ENUM (a string suitable for saving in a file). The prototype must match the 'secfile_enum_name_data_fn_t' type.
Definition at line 3897 of file options.c.
Referenced by client_option_load(), and client_option_save().
|
static |
Returns the next valid option pointer for the current gui type.
Definition at line 3594 of file options.c.
Referenced by client_option_next(), and client_optset_option_first().
Send the desired server options to the server.
Definition at line 5916 of file options.c.
Referenced by resend_desired_settable_options().
void desired_settable_option_update | ( | const char * | op_name, |
const char * | op_value, | ||
bool | allow_replace | ||
) |
Update a desired settable option in the hash table from a value which can be different of the current configuration.
Definition at line 5859 of file options.c.
Referenced by client_start_server().
Update the desired settable options hash table from the current setting configuration.
Definition at line 5791 of file options.c.
Referenced by option_dialog::apply_option(), and option_dialog_reponse_callback().
Fill default tilesets for topology-specific settings.
Definition at line 6862 of file options.c.
Referenced by default_tileset_select().
Check the last option file we saved. Usually used to load. Ie, based on FREECIV_OPT env var, and home dir. (or an OPTION_FILE_NAME define defined in fc_config.h), or NULL if not found.
Set in allow_digital_boolean if we should look for old boolean values (saved as 0 and 1), so if the rc file version is older than 2.3.0.
Option framework wrapper for mapimg_get_format_list()
|
static |
|
static |
void handle_server_setting_bitwise | ( | const struct packet_server_setting_bitwise * | packet | ) |
Receive a bitwise server setting info packet.
Definition at line 4821 of file options.c.
Referenced by client_handle_packet().
void handle_server_setting_bool | ( | const struct packet_server_setting_bool * | packet | ) |
Receive a boolean server setting info packet.
Definition at line 4615 of file options.c.
Referenced by client_handle_packet().
void handle_server_setting_const | ( | const struct packet_server_setting_const * | packet | ) |
Receive a server setting info packet.
Definition at line 4556 of file options.c.
Referenced by client_handle_packet().
void handle_server_setting_control | ( | const struct packet_server_setting_control * | packet | ) |
Allocate the server options and categories.
Definition at line 4522 of file options.c.
Referenced by client_handle_packet().
void handle_server_setting_enum | ( | const struct packet_server_setting_enum * | packet | ) |
Receive an enumerator server setting info packet.
Definition at line 4732 of file options.c.
Referenced by client_handle_packet().
void handle_server_setting_int | ( | const struct packet_server_setting_int * | packet | ) |
Receive a integer server setting info packet.
Definition at line 4650 of file options.c.
Referenced by client_handle_packet().
void handle_server_setting_str | ( | const struct packet_server_setting_str * | packet | ) |
Receive a string server setting info packet.
Definition at line 4687 of file options.c.
Referenced by client_handle_packet().
|
static |
Load the message options; use the function defined by specenum_gen.h (see also events.h).
Save the message options; use the function defined by specenum_gen.h (see also events.h).
Returns the default value of this bitwise option.
Definition at line 1121 of file options.c.
Referenced by option_dialog_option_reset(), option_dialog::option_dialog_reset(), and option_reset().
Returns the current value of this bitwise option.
Definition at line 1110 of file options.c.
Referenced by client_option_save(), client_ss_val_bitwise_get(), option_dialog_option_refresh(), and option_dialog::option_dialog_refresh().
Returns the mask of this bitwise option.
Definition at line 1132 of file options.c.
Referenced by option_bitwise_set().
Sets the value of this bitwise option. Returns TRUE if the value changed.
Definition at line 1160 of file options.c.
Referenced by option_dialog::apply_options(), client_option_load(), option_dialog_option_apply(), and option_reset().
Returns a vector of strings describing every bit of this option, as user-visible (translatable but not translated) strings.
Definition at line 1149 of file options.c.
Referenced by option_dialog::add_option(), and option_dialog_option_add().
Returns the default value of this boolean option.
Definition at line 844 of file options.c.
Referenced by desired_settable_options_update(), option_dialog_option_reset(), option_dialog::option_dialog_reset(), and option_reset().
Returns the current value of this boolean option.
Definition at line 833 of file options.c.
Referenced by allied_chat_only_callback(), apply_titlebar(), blink_turn_done_button(), can_end_turn(), client_option_save(), client_ss_val_bool_get(), desired_settable_options_update(), option_dialog_option_refresh(), option_dialog::option_dialog_refresh(), option_widget_new(), option_widget_update(), plrdlg_col_state(), update_turn_done_tooltip(), and update_turn_done_tooltip().
Sets the value of this boolean option. Returns TRUE if the value changed.
Definition at line 855 of file options.c.
Referenced by option_dialog::apply_options(), client_option_load(), option_dialog_option_apply(), option_reset(), and option_widget_apply().
Returns the category of the option.
Definition at line 704 of file options.c.
Referenced by apply_callback(), back_callback(), option_dialog_destroy(), option_dialog_option_add(), option_dialog_option_remove(), option_dialog_optset_category(), option_gui_add(), option_gui_remove(), option_gui_update(), and optset_category_option_count().
Returns the name (translated) of the category of the option.
Definition at line 714 of file options.c.
Referenced by option_dialog::add_option(), and option_dialog_option_add().
Force to use the option changed callback.
Definition at line 784 of file options.c.
Referenced by activate_gui(), key_press_map_canvas(), key_press_map_canvas(), option_bitwise_set(), option_bool_set(), option_color_set(), option_enum_set_int(), option_enum_set_str(), option_font_set(), option_int_set(), option_str_set(), option_video_mode_set(), qtg_ui_main(), and ui_main().
Returns the default value of this color option.
Definition at line 1237 of file options.c.
Referenced by option_dialog_option_reset(), option_dialog::option_dialog_reset(), and option_reset().
Returns the current value of this color option.
Definition at line 1226 of file options.c.
Referenced by option_dialog::add_option(), client_option_save(), option_dialog_option_refresh(), and option_dialog::option_dialog_refresh().
Sets the value of this color option. Returns TRUE if the value changed.
Definition at line 1249 of file options.c.
Referenced by option_dialog::apply_options(), client_option_load(), option_dialog_option_apply(), and option_reset().
Returns the description (translated) of the option.
Definition at line 674 of file options.c.
Referenced by option_dialog::add_option(), option_dialog_option_add(), and option_widget_new().
Returns the default value of this enum option (as an integer).
Definition at line 1040 of file options.c.
Referenced by option_dialog_option_reset(), option_dialog::option_dialog_reset(), and option_reset().
Returns the current value of this enum option (as an integer).
Definition at line 1016 of file options.c.
Referenced by client_option_save(), option_dialog_option_refresh(), and option_dialog::option_dialog_refresh().
Returns the current value of this enum option as a user-visible (translatable but not translated) string.
Definition at line 1028 of file options.c.
Referenced by option_widget_new(), and option_widget_update().
Returns the user-visible (translatable but not translated) string corresponding to the value. Returns NULL on error.
Definition at line 1001 of file options.c.
Referenced by option_dialog::add_option(), and option_dialog_option_add().
Sets the value of this enum option. Returns TRUE if the value changed.
Definition at line 1076 of file options.c.
Referenced by option_dialog::apply_options(), client_option_load(), option_dialog_option_apply(), option_reset(), and option_widget_apply().
Returns the value corresponding to the user-visible (translatable but not translated) string. Returns -1 if not matched.
Definition at line 979 of file options.c.
Referenced by option_enum_set_str().
Returns the possible string values of this enum option, as user-visible (translatable but not translated) strings.
Definition at line 1065 of file options.c.
Referenced by option_widget_new().
Returns the default value of this font option.
Definition at line 1188 of file options.c.
Referenced by option_dialog_option_reset(), option_dialog::option_dialog_reset(), and option_reset().
Returns the current value of this font option.
Definition at line 1177 of file options.c.
Referenced by option_dialog::add_option(), apply_city_names_font(), apply_city_productions_font(), apply_font(), apply_help_font(), apply_notify_font(), apply_reqtree_text_font(), client_option_save(), option_dialog::get_font(), fc_font::init_fonts(), option_dialog_option_refresh(), option_dialog::option_dialog_refresh(), option_widget_new(), and option_widget_update().
Sets the value of this font option. Returns TRUE if the value changed.
Definition at line 1210 of file options.c.
Referenced by option_dialog::apply_options(), client_option_load(), option_dialog_option_apply(), option_reset(), and option_widget_apply().
Returns the target style name of this font option.
Definition at line 1199 of file options.c.
Referenced by apply_city_names_font(), apply_city_productions_font(), and apply_reqtree_text_font().
Returns the callback data of this option.
Definition at line 823 of file options.c.
Referenced by get_tileset_list(), and tilespec_reread_callback().
Returns the gui data of this option.
Definition at line 813 of file options.c.
Referenced by option_dialog::get_bitwise(), option_dialog::get_bool(), option_dialog::get_button_font(), option_dialog::get_color(), option_dialog::get_enum(), option_dialog::get_int(), option_dialog::get_string(), option_dialog_option_add(), option_dialog_option_apply(), option_dialog_option_bitwise_set(), option_dialog_option_bool_set(), option_dialog_option_color_set(), option_dialog_option_enum_set(), option_dialog_option_font_set(), option_dialog_option_int_set(), option_dialog_option_refresh(), option_dialog_option_remove(), option_dialog_option_str_set(), option_widget_apply(), option_widget_update(), option_dialog::set_bitwise(), option_dialog::set_bool(), option_dialog::set_color(), option_dialog::set_enum(), option_dialog::set_font(), option_dialog::set_int(), and option_dialog::set_string().
Returns the help text (translated) of the option.
Definition at line 684 of file options.c.
Referenced by option_dialog::add_option(), option_dialog_option_add(), and option_widget_new().
Returns the default value of this integer option.
Definition at line 881 of file options.c.
Referenced by desired_settable_options_update(), option_dialog_option_reset(), option_dialog::option_dialog_reset(), and option_reset().
Returns the current value of this integer option.
Definition at line 870 of file options.c.
Referenced by client_option_save(), client_ss_val_int_get(), create_start_page(), desired_settable_options_update(), option_dialog_option_refresh(), option_dialog::option_dialog_refresh(), option_gui_update(), option_gui_update_extra(), option_widget_new(), and option_widget_update().
Returns the maximal value of this integer option.
Definition at line 903 of file options.c.
Referenced by option_dialog::add_option(), and option_dialog_option_add().
Returns the minimal value of this integer option.
Definition at line 892 of file options.c.
Referenced by option_dialog::add_option(), and option_dialog_option_add().
Sets the value of this integer option. Returns TRUE if the value changed.
Definition at line 914 of file options.c.
Referenced by ai_fill_changed_by_user(), option_dialog::apply_options(), client_option_load(), pregame_options::max_players_change(), option_dialog_option_apply(), option_reset(), and option_widget_apply().
Returns TRUE if this option can be modified.
Definition at line 725 of file options.c.
Referenced by option_dialog::add_option(), option_button_press_callback(), option_button_press_callback(), option_dialog_option_refresh(), option_widget_new(), and option_widget_update().
Returns the name of the option.
Definition at line 664 of file options.c.
Referenced by option_dialog::add_option(), apply_font(), apply_help_font(), client_option_load(), client_option_save(), client_ss_name_get(), desired_settable_options_update(), get_option_malloc(), handle_server_setting_bool(), fc_font::init_fonts(), is_option(), option_dialog_option_add(), option_dialog_option_enum_set(), option_gui_update(), option_gui_update_extra(), optset_option_by_name(), and settable_option_upgrade_value().
Returns the number of the option.
Definition at line 654 of file options.c.
Referenced by client_ss_by_name(), handle_server_setting_bool(), option_dialog_option_add(), option_dialog_option_enum_set(), and option_widget_new().
Returns the option set owner of this option.
Definition at line 644 of file options.c.
Referenced by option_apply_callback(), option_apply_callback(), option_gui_add(), option_gui_remove(), option_gui_update(), option_gui_update_extra(), option_refresh_callback(), option_refresh_callback(), option_reset_callback(), and option_reset_callback().
Set given tileset as the default for suitable topology
Definition at line 6803 of file options.c.
Referenced by tilespec_try_read().
Set the gui data for this option.
Definition at line 803 of file options.c.
Referenced by option_dialog::add_option(), back_callback(), option_dialog_destroy(), option_dialog_option_add(), option_dialog_option_remove(), and option_widget_new().
Returns the default value of this string option.
Definition at line 940 of file options.c.
Referenced by desired_settable_options_update(), option_dialog_option_reset(), option_dialog::option_dialog_reset(), and option_reset().
Returns the current value of this string option.
Definition at line 929 of file options.c.
Referenced by client_current_nation_set(), client_option_save(), create_races_dialog(), desired_settable_options_update(), musicspec_reread_callback(), nationset_callback(), races_dialog::nationset_changed(), option_dialog_option_refresh(), option_dialog::option_dialog_refresh(), option_gui_update_extra(), option_widget_new(), option_widget_update(), popup_races_dialog(), theme_reread_callback(), tilespec_reread_callback(), and races_dialog::update_nationset_combo().
Sets the value of this string option. Returns TRUE if the value changed.
Definition at line 962 of file options.c.
Referenced by option_dialog::apply_options(), client_option_load(), nationset_callback(), races_dialog::nationset_changed(), next_set_callback(), option_dialog_option_apply(), option_reset(), option_widget_apply(), and prev_set_callback().
Returns the possible string values of this string option.
Definition at line 951 of file options.c.
Referenced by option_dialog::add_option(), option_dialog::get_string(), option_dialog_option_add(), option_dialog_option_apply(), option_dialog_option_str_set(), option_widget_new(), and option_dialog::set_string().
Returns the type of the option.
Definition at line 694 of file options.c.
Referenced by activate_gui(), option_dialog::add_option(), option_dialog::apply_options(), client_current_nation_set(), client_option_load(), client_option_save(), client_ss_type_get(), desired_settable_options_update(), fc_font::init_fonts(), option_dialog_option_add(), option_dialog_option_apply(), option_dialog_option_refresh(), option_dialog_option_reset(), option_dialog::option_dialog_refresh(), option_dialog::option_dialog_reset(), option_reset(), option_widget_apply(), option_widget_new(), option_widget_update(), qtg_ui_main(), and ui_main().
struct video_mode option_video_mode_def | ( | const struct option * | poption | ) |
Returns the default value of this video mode option.
Definition at line 1276 of file options.c.
Referenced by option_reset().
struct video_mode option_video_mode_get | ( | const struct option * | poption | ) |
Returns the current value of this video mode option.
Definition at line 1264 of file options.c.
Referenced by client_option_save(), option_widget_new(), and option_widget_update().
bool option_video_mode_set | ( | struct option * | poption, |
struct video_mode | mode | ||
) |
Sets the value of this video mode option. Returns TRUE if the value changed.
Definition at line 1289 of file options.c.
Referenced by client_option_load(), option_reset(), and option_widget_apply().
|
static |
|
static |
This set the city and player report dialog options. It's called when the client goes to C_S_RUNNING state.
Definition at line 6125 of file options.c.
Referenced by set_client_state().
This set the city and player report dialog options to the current ones. It's called when the client goes to C_S_DISCONNECTED state.
Definition at line 6097 of file options.c.
Referenced by set_client_state().
Initialize the option module.
Definition at line 6480 of file options.c.
Referenced by client_main().
Load from the rc file any options that are not ruleset specific. It is called after ui_init(), yet before ui_main(). Unfortunately, this means that some clients cannot display. Instead, use log_*().
Definition at line 6158 of file options.c.
Referenced by client_main().
void options_save | ( | option_save_log_callback | log_cb | ) |
Save all options.
Definition at line 6340 of file options.c.
Referenced by option_dialog::apply_option(), client_exit(), disconnect_from_server(), option_dialog_reponse_callback(), save_client_options_callback(), save_options_callback(), save_options_callback(), and mr_menu::save_options_now().
Returns the name (translated) of the category of this option set.
Definition at line 503 of file options.c.
Referenced by option_category_name(), and option_dialog_optset().
int optset_category_number | ( | const struct option_set * | poptset | ) |
Returns the number of categories of this option set.
Definition at line 493 of file options.c.
Referenced by option_dialog_new(), and option_dialog_optset().
Returns the option corresponding of the name in this option set.
Definition at line 467 of file options.c.
Referenced by ai_fill_changed_by_user(), blink_turn_done_button(), can_end_turn(), client_current_nation_set(), client_ss_by_name(), create_races_dialog(), create_start_page(), key_press_map_canvas(), key_press_map_canvas(), pregame_options::max_players_change(), nationset_callback(), races_dialog::nationset_changed(), next_set_callback(), plrdlg_col_state(), popup_races_dialog(), prev_set_callback(), resend_desired_settable_options(), mr_menu::tileset_custom_load(), races_dialog::update_nationset_combo(), update_turn_done_tooltip(), and update_turn_done_tooltip().
Returns the option corresponding of the number in this option set.
Definition at line 456 of file options.c.
Referenced by client_ss_name_get(), client_ss_type_get(), client_ss_val_bitwise_get(), client_ss_val_bool_get(), and client_ss_val_int_get().
struct option * optset_option_first | ( | const struct option_set * | poptset | ) |
Send the desired server options to the server, even if they have already been sent in the past.
Definition at line 6002 of file options.c.
Referenced by handle_ruleset_control().
|
static |
|
static |
|
static |
Compute the long support names of a value.
Definition at line 5239 of file options.c.
Referenced by server_option_bitwise_set(), and server_option_bitwise_support_name().
|
static |
Compute the long support names of the values of the server option of type OT_BITWISE.
Definition at line 5279 of file options.c.
Referenced by desired_settable_options_update().
|
static |
Returns the long support names of the values of the server option of type OT_ENUM.
Definition at line 5195 of file options.c.
Referenced by desired_settable_options_update().
|
static |
Free one server option.
Definition at line 4433 of file options.c.
Referenced by server_options_free().
|
static |
Free the server options, if already received.
Definition at line 4491 of file options.c.
Referenced by client_game_free().
Initialize the server options (not received yet).
Definition at line 4422 of file options.c.
Referenced by client_game_init().
Returns the server option associated to the number
Definition at line 4930 of file options.c.
Referenced by handle_server_setting_bool(), and handle_server_setting_const().
|
static |
|
static |
bool string_to_video_mode | ( | const char * | buf, |
struct video_mode * | mode | ||
) |
Convert a string to video mode. Returns TRUE on success.
Definition at line 6760 of file options.c.
Referenced by option_widget_apply(), and parse_options().
What is the user defined tileset for the given topology
Definition at line 6776 of file options.c.
Referenced by default_tileset_select(), and handle_set_topology().
bool video_mode_to_string | ( | char * | buf, |
size_t | buf_len, | ||
struct video_mode * | mode | ||
) |
Convert a video mode to string. Returns TRUE on success.
Definition at line 6752 of file options.c.
Referenced by option_widget_new(), option_widget_update(), and video_mode_list().
|
static |
Definition at line 1922 of file options.c.
Referenced by client_option_number().
|
static |
Definition at line 3573 of file options.c.
Referenced by client_option_next_valid(), and client_optset_option_by_number().
const struct option_set* client_optset = &client_optset_static |
Definition at line 1316 of file options.c.
Referenced by activate_gui(), client_options_callback(), fc_font::init_fonts(), key_press_map_canvas(), key_press_map_canvas(), local_options_callback(), local_options_callback(), open_settings(), fc_client::popup_client_options(), qtg_ui_main(), mr_menu::tileset_custom_load(), and ui_main().
|
static |
Definition at line 6048 of file options.c.
Referenced by options_dialogs_load(), options_dialogs_set(), and options_dialogs_update().
struct client_options gui_options |
Definition at line 71 of file options.c.
Referenced by action_decision_handle(), activate_gui(), append_city_buycost_string(), fc_client::apply_fullscreen(), audio_play_sound(), audio_select_plugin(), auto_center_on_focus_unit(), battle_animation(), calculate_overview_dimensions(), center_tile_overviewcanvas(), chatwdg::chatwdg(), city_widget::city_view(), client_exit(), client_main(), cmdhelp_display(), configure_fonts(), connect_to_server(), control_mouse_cursor(), cr_entry_building(), create_dead_players_menu_item(), fc_client::create_game_page(), fc_client::create_load_page(), create_show_menu(), research_diagram::create_tooltip_help(), current_focus_append(), decrease_unit_hp_smooth(), default_tileset_select(), define_tiles_within_rectangle(), disconnect_from_server(), do_map_click(), do_move_unit(), draw_calculated_trade_routes(), draw_reqtree(), draw_trade_routes(), minimap_view::draw_viewport(), explosion_animation(), fill_city_overlays_sprite_array(), fill_fog_sprite_array(), fill_grid_sprite_array(), fill_irrigation_sprite_array(), fill_road_sprite_array(), fill_sprite_array(), fill_unit_sprite_array(), get_city_dialog_production(), get_citybar_sprites(), get_TB_aggr(), get_TB_caravan(), get_turn_done_button_state(), get_unit_nation_flag_sprite(), gui_to_overview(), gui_to_overview_pos(), handle_city_info(), handle_city_name_suggestion_info(), handle_city_short_info(), handle_event(), handle_new_year(), handle_player_info(), handle_ruleset_control(), handle_start_phase(), handle_trade_route_info(), handle_unit_combat_info(), handle_unit_packet_common(), fc_client::init(), is_extra_drawing_enabled(), key_press_map_canvas(), key_press_map_canvas(), map_to_overview_pos(), map_view::map_view(), mapimg_client_createmap(), mapimg_client_define(), meswin_clear_older(), meswin_popup_city(), migrate_options_from_2_5(), migrate_options_from_gtk2(), migrate_options_from_gtk3(), migrate_options_from_gtk3_22(), migrate_options_from_gtk4(), migrate_options_from_sdl(), migrate_options_from_sdl2(), minimap_view::mousePressEvent(), move_unit_map_canvas(), movement_animation(), music_finished_callback(), no_fights_or_unknown_goto(), node_rectangle_minimum_size(), notify_goto_response(), order_wants_direction(), overview_canvas_draw(), overview_canvas_draw(), overview_free(), overview_size_changed(), overview_tile_color(), overview_to_map_pos(), overview_update_tile(), minimap_view::paint(), parse_options(), player_should_be_shown(), plr_report::plr_report(), popup_iterate(), put_one_element(), put_overview_tile_area(), qtg_get_usable_themes_in_directory(), qtg_real_output_window_append(), qtg_ui_main(), real_menus_init(), real_timer_callback(), redraw_overview(), redraw_unit_info_label(), refresh_city_mapcanvas(), refresh_overview_from_canvas(), refresh_unit_mapcanvas(), request_move_unit_direction(), request_toggle_bases(), request_toggle_cities(), request_toggle_city_buycost(), request_toggle_city_full_bar(), request_toggle_city_growth(), request_toggle_city_names(), request_toggle_city_outlines(), request_toggle_city_output(), request_toggle_city_productions(), request_toggle_city_trade_routes(), request_toggle_coastline(), request_toggle_focus_unit(), request_toggle_fog_of_war(), request_toggle_huts(), request_toggle_irrigation(), request_toggle_map_borders(), request_toggle_map_grid(), request_toggle_map_native(), request_toggle_mines(), request_toggle_paths(), request_toggle_pollution(), request_toggle_resources(), request_toggle_terrain(), request_toggle_unit_shields(), request_toggle_unit_solid_bg(), request_toggle_unit_stack_size(), request_toggle_units(), resend_desired_settable_options(), resize_minimap(), minimap_view::resizeEvent(), minimap_thread::run(), save_options_on_exit_callback(), save_options_on_exit_callback(), minimap_view::scale_point(), chat_listener::send_chat_message(), send_goto_route(), set_client_page_callback(), set_client_state(), set_mapview_origin(), mr_menu::setup_menus(), map_view::shortcut_pressed(), map_view::shortcut_released(), should_ask_server_for_actions(), show_bases_callback(), show_cities_callback(), show_city_buy_cost_callback(), show_city_desc(), show_city_descriptions(), show_city_full_bar_callback(), show_city_growth_callback(), show_city_names_callback(), show_city_outlines_callback(), show_city_output_callback(), show_city_productions_callback(), show_city_trade_routes_callback(), show_coastline_callback(), show_focus_unit_callback(), show_fog_of_war_callback(), show_full_citybar(), show_huts_callback(), show_irrigation_callback(), show_map_grid_callback(), show_mine_callback(), show_national_borders_callback(), show_native_tiles_callback(), show_paths_callback(), show_pollution_callback(), plr_report::show_relations_toggle(), show_resources_callback(), show_small_citybar(), show_stack_size_callback(), plr_report::show_techs_toggle(), show_terrain_callback(), show_unit_shields_callback(), show_unit_solid_bg_callback(), show_units_callback(), plr_report::show_wonders_toggle(), mr_menu::slot_fullscreen(), mr_menu::slot_select_same_continent(), mr_menu::slot_select_same_everywhere(), start_menu_music(), start_style_music(), chatwdg::state_changed(), chatwdg::state_changed_depr(), fc_client::state_preview(), fc_client::state_preview_depr(), fc_client::switch_page(), tileset_use_preferred_theme(), tilespec_reread_callback(), tilespec_try_read(), timer_callback(), toggle_dead_players(), toggle_dead_players(), ui_main(), ui_main(), unit_drawn_with_city_outline(), unit_focus_advance(), unscale_point(), fc_client::update_load_page(), fc_client::update_sidebar_position(), view_menu_update_sensitivity(), view_menu_update_sensitivity(), voteinfo_bar_can_be_shown(), voteinfo_queue_add(), write_chatline_content(), and minimap_view::zoom_in().
Message Options:
Definition at line 5299 of file options.c.
Referenced by message_dlg::apply_changes(), clear_double_messages_call(), create_messageopt_dialog(), message_dlg::fill_data(), handle_event(), message_options_init(), message_options_load(), message_options_save(), and messageopt_response().
Definition at line 436 of file options.c.
Referenced by option_changed().
Definition at line 4306 of file options.c.
Referenced by handle_server_setting_bool().
Definition at line 4292 of file options.c.
Referenced by handle_server_setting_bool().
|
static |
Definition at line 4258 of file options.c.
Referenced by handle_server_setting_control(), server_option_next_valid(), server_options_free(), and server_options_init().
Definition at line 4257 of file options.c.
Referenced by handle_server_setting_control(), server_options_free(), and server_options_init().
|
static |
Definition at line 4260 of file options.c.
Referenced by handle_server_setting_control(), server_options_free(), and server_options_init().
|
static |
Definition at line 4261 of file options.c.
Referenced by handle_server_setting_control(), server_option_next_valid(), server_options_free(), and server_options_init().
const struct option_set* server_optset = &server_optset_static |
Definition at line 4278 of file options.c.
Referenced by ai_fill_changed_by_user(), blink_turn_done_button(), can_end_turn(), client_current_nation_set(), client_ss_by_name(), client_ss_name_get(), client_ss_type_get(), client_ss_val_bitwise_get(), client_ss_val_bool_get(), client_ss_val_int_get(), create_races_dialog(), create_start_page(), desired_settable_options_update(), game_options_callback(), handle_server_setting_bool(), pregame_options::max_players_change(), nationset_callback(), races_dialog::nationset_changed(), next_set_callback(), option_gui_update(), option_gui_update_extra(), plrdlg_col_state(), popup_races_dialog(), pregame_options::popup_server_options(), prev_set_callback(), resend_desired_settable_options(), server_options_callback(), server_options_callback(), server_options_callback(), server_options_free(), races_dialog::update_nationset_combo(), update_turn_done_tooltip(), and update_turn_done_tooltip().
|
static |
Definition at line 5689 of file options.c.
Referenced by desired_settable_option_update(), desired_settable_options_update(), resend_desired_settable_options(), and settable_options_load().
|
static |
Definition at line 438 of file options.c.
Referenced by resend_desired_settable_options().