![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <QFont>#include "events.h"#include "featured_text.h"#include "mapimg.h"#include "specenum_gen.h"
Include dependency graph for options.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | overview |
| struct | client_options |
Macros | |
| #define | DEFAULT_METASERVER_OPTION "default" |
| #define | FC_QT_DEFAULT_THEME_NAME "NightStalker" |
| #define | SPECENUM_NAME option_type |
| #define | SPECENUM_VALUE0 OT_BOOLEAN |
| #define | SPECENUM_VALUE1 OT_INTEGER |
| #define | SPECENUM_VALUE2 OT_STRING |
| #define | SPECENUM_VALUE3 OT_ENUM |
| #define | SPECENUM_VALUE4 OT_BITWISE |
| #define | SPECENUM_VALUE5 OT_FONT |
| #define | SPECENUM_VALUE6 OT_COLOR |
| #define | options_iterate(poptset, poption) |
| #define | options_iterate_end |
| #define | NUM_MW 3 |
| Message Options: More... | |
| #define | MW_OUTPUT 1 |
| #define | MW_MESSAGES 2 |
| #define | MW_POPUP 4 |
| #define | GUI_DEFAULT_MAPIMG_FILENAME "freeciv" |
| Client options. More... | |
Typedefs | |
| typedef void(* | option_save_log_callback) (QtMsgType lvl, const QString &msg) |
Enumerations | |
| enum | overview_layers { OLAYER_BACKGROUND , OLAYER_RELIEF , OLAYER_BORDERS , OLAYER_BORDERS_ON_OCEAN , OLAYER_UNITS , OLAYER_CITIES , OLAYER_COUNT } |
Functions | |
| void | options_init () |
| Initialize the option module. More... | |
| void | options_free () |
| Free the option module. More... | |
| void | server_options_init () |
| Initialize the server options (not received yet). More... | |
| void | server_options_free () |
| Free the server options, if already received. More... | |
| void | options_load () |
| Load from the rc file any options that are not ruleset specific. More... | |
| void | options_save (option_save_log_callback log_cb) |
| Save all options. More... | |
| struct option * | optset_option_by_number (const struct option_set *poptset, int id) |
| Returns the option corresponding of the number in this option set. More... | |
| struct option * | optset_option_by_name (const struct option_set *poptset, const char *name) |
| Returns the option corresponding of the name in this option set. More... | |
| struct option * | optset_option_first (const struct option_set *poptset) |
| Returns the first option of this option set. More... | |
| const char * | optset_category_name (const struct option_set *poptset, int category) |
| Returns the name (translated) of the category of this option set. More... | |
| const struct option_set * | option_optset (const struct option *poption) |
| Returns the option set owner of this option. More... | |
| int | option_number (const struct option *poption) |
| Returns the number of the option. More... | |
| const char * | option_name (const struct option *poption) |
| Returns the name of the option. More... | |
| const char * | option_description (const struct option *poption) |
| Returns the description (translated) of the option. More... | |
| QString | option_help_text (const struct option *poption) |
| Returns the help text (translated) of the option. More... | |
| enum option_type | option_type (const struct option *poption) |
| Returns the type of the option. More... | |
| QString | option_category_name (const struct option *poption) |
| Returns the name (translated) of the category of the option. More... | |
| bool | option_is_changeable (const struct option *poption) |
| Returns TRUE if this option can be modified. More... | |
| struct option * | option_next (const struct option *poption) |
| Returns the next option or nullptr if this is the last. More... | |
| bool | option_reset (struct option *poption) |
| Set the option to its default value. More... | |
| void | option_set_changed_callback (struct option *poption, void(*callback)(struct option *)) |
| Set the function to call every time this option changes. More... | |
| void | option_changed (struct option *poption) |
| Force to use the option changed callback. More... | |
| void | option_set_gui_data (struct option *poption, void *data) |
| Set the gui data for this option. More... | |
| void * | option_get_gui_data (const struct option *poption) |
| Returns the gui data of this option. More... | |
| int | option_get_cb_data (const struct option *poption) |
| Returns the callback data of this option. More... | |
| bool | option_bool_get (const struct option *poption) |
| Returns the current value of this boolean option. More... | |
| bool | option_bool_def (const struct option *poption) |
| Returns the default value of this boolean option. More... | |
| bool | option_bool_set (struct option *poption, bool val) |
| Sets the value of this boolean option. More... | |
| int | option_int_get (const struct option *poption) |
| Returns the current value of this integer option. More... | |
| int | option_int_def (const struct option *poption) |
| Returns the default value of this integer option. More... | |
| int | option_int_min (const struct option *poption) |
| Returns the minimal value of this integer option. More... | |
| int | option_int_max (const struct option *poption) |
| Returns the maximal value of this integer option. More... | |
| bool | option_int_set (struct option *poption, int val) |
| Sets the value of this integer option. More... | |
| const char * | option_str_get (const struct option *poption) |
| Returns the current value of this string option. More... | |
| const char * | option_str_def (const struct option *poption) |
| Returns the default value of this string option. More... | |
| const QVector< QString > * | option_str_values (const struct option *poption) |
| Returns the possible string values of this string option. More... | |
| bool | option_str_set (struct option *poption, const char *str) |
| Sets the value of this string option. More... | |
| int | option_enum_str_to_int (const struct option *poption, const char *str) |
| Returns the value corresponding to the user-visible (translatable but not translated) string. More... | |
| QString | option_enum_int_to_str (const struct option *poption, int val) |
| Returns the user-visible (translatable but not translated) string corresponding to the value. More... | |
| int | option_enum_get_int (const struct option *poption) |
| Returns the current value of this enum option (as an integer). More... | |
| int | option_enum_def_int (const struct option *poption) |
| Returns the default value of this enum option (as an integer). More... | |
| bool | option_enum_set_int (struct option *poption, int val) |
| Sets the value of this enum option. More... | |
| unsigned | option_bitwise_get (const struct option *poption) |
| Returns the current value of this bitwise option. More... | |
| unsigned | option_bitwise_def (const struct option *poption) |
| Returns the default value of this bitwise option. More... | |
| unsigned | option_bitwise_mask (const struct option *poption) |
| Returns the mask of this bitwise option. More... | |
| const QVector< QString > * | option_bitwise_values (const struct option *poption) |
| Returns a vector of strings describing every bit of this option, as user-visible (translatable but not translated) strings. More... | |
| bool | option_bitwise_set (struct option *poption, unsigned val) |
| Sets the value of this bitwise option. More... | |
| QFont | option_font_get (const struct option *poption) |
| Returns the current value of this font option. More... | |
| QFont | option_font_def (const struct option *poption) |
| Returns the default value of this font option. More... | |
| void | option_font_set_default (const struct option *poption, const QFont &font) |
| Returns the default value of this font option. More... | |
| QString | option_font_target (const struct option *poption) |
| Returns the target style name of this font option. More... | |
| bool | option_font_set (struct option *poption, const QFont &font) |
| Sets the value of this font option. More... | |
| struct ft_color | option_color_get (const struct option *poption) |
| Returns the current value of this color option. More... | |
| struct ft_color | option_color_def (const struct option *poption) |
| Returns the default value of this color option. More... | |
| bool | option_color_set (struct option *poption, struct ft_color color) |
| Sets the value of this color option. More... | |
| void | desired_settable_options_update () |
| Desired settable options. More... | |
| 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. More... | |
| void | options_dialogs_update () |
| Dialog report options. More... | |
| void | options_dialogs_set () |
| This set the city and player report dialog options. More... | |
| const char * | tileset_name_for_topology (int topology_id) |
| Option framework wrapper for mapimg_get_format_list() More... | |
| void | fill_topo_ts_default () |
| Fill default tilesets for topology-specific settings. More... | |
Variables | |
| client_options * | gui_options |
| const struct option_set * | client_optset |
| const struct option_set * | server_optset |
| int | messages_where [] |
| Message Options: More... | |
| #define GUI_DEFAULT_MAPIMG_FILENAME "freeciv" |
| #define options_iterate | ( | poptset, | |
| poption | |||
| ) |
| #define SPECENUM_NAME option_type |
| typedef void(* option_save_log_callback) (QtMsgType lvl, const QString &msg) |
| enum overview_layers |
| 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 4126 of file options.cpp.
| void desired_settable_options_update | ( | ) |
Desired settable options.
Desired settable options.
Definition at line 4064 of file options.cpp.
Referenced by option_dialog::apply_option().
| void fill_topo_ts_default | ( | ) |
Fill default tilesets for topology-specific settings.
Definition at line 4906 of file options.cpp.
Referenced by client_main().
| unsigned option_bitwise_def | ( | const struct option * | poption | ) |
Returns the default value of this bitwise option.
Definition at line 693 of file options.cpp.
Referenced by option_dialog::option_dialog_reset(), and option_reset().
| unsigned option_bitwise_get | ( | const struct option * | poption | ) |
Returns the current value of this bitwise option.
Definition at line 682 of file options.cpp.
Referenced by client_option_save(), client_ss_val_bitwise_get(), and option_dialog::option_dialog_refresh().
| unsigned option_bitwise_mask | ( | const struct option * | poption | ) |
Returns the mask of this bitwise option.
Definition at line 704 of file options.cpp.
Referenced by option_bitwise_set().
| bool option_bitwise_set | ( | struct option * | poption, |
| unsigned | val | ||
| ) |
Sets the value of this bitwise option.
Returns TRUE if the value changed.
Definition at line 732 of file options.cpp.
Referenced by option_dialog::apply_options(), client_option_load(), 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 721 of file options.cpp.
Referenced by option_dialog::add_option().
| bool option_bool_def | ( | const struct option * | poption | ) |
Returns the default value of this boolean option.
Definition at line 468 of file options.cpp.
Referenced by option_dialog::option_dialog_reset(), and option_reset().
| bool option_bool_get | ( | const struct option * | poption | ) |
Returns the current value of this boolean option.
Definition at line 457 of file options.cpp.
Referenced by apply_titlebar(), blink_turn_done_button(), can_end_turn(), client_option_save(), client_ss_val_bool_get(), desired_settable_option_send(), option_dialog::option_dialog_refresh(), and plrdlg_col_state().
| bool option_bool_set | ( | struct option * | poption, |
| bool | val | ||
| ) |
Sets the value of this boolean option.
Returns TRUE if the value changed.
Definition at line 479 of file options.cpp.
Referenced by option_dialog::apply_options(), client_option_load(), and option_reset().
| QString option_category_name | ( | const struct option * | poption | ) |
Returns the name (translated) of the category of the option.
Definition at line 340 of file options.cpp.
Referenced by option_dialog::add_option().
| void option_changed | ( | struct option * | poption | ) |
Force to use the option changed callback.
Definition at line 408 of file options.cpp.
Referenced by option_bitwise_set(), option_bool_set(), option_color_def(), option_color_set(), option_enum_set_int(), option_int_set(), and option_str_set().
Returns the default value of this color option.
Definition at line 793 of file options.cpp.
Referenced by option_dialog::option_dialog_reset(), and option_reset().
Returns the current value of this color option.
Definition at line 793 of file options.cpp.
Referenced by client_option_save(), option_dialog::option_dialog_refresh(), and option_dialog::set_color().
Sets the value of this color option.
Returns TRUE if the value changed.
Definition at line 835 of file options.cpp.
Referenced by option_dialog::apply_options(), client_option_load(), and option_reset().
| const char* option_description | ( | const struct option * | poption | ) |
Returns the description (translated) of the option.
Definition at line 310 of file options.cpp.
Referenced by option_dialog::add_option().
| int option_enum_def_int | ( | const struct option * | poption | ) |
Returns the default value of this enum option (as an integer).
Definition at line 656 of file options.cpp.
Referenced by option_dialog::option_dialog_reset(), and option_reset().
| int option_enum_get_int | ( | const struct option * | poption | ) |
Returns the current value of this enum option (as an integer).
Definition at line 645 of file options.cpp.
Referenced by client_option_save(), and option_dialog::option_dialog_refresh().
| QString option_enum_int_to_str | ( | const struct option * | poption, |
| int | val | ||
| ) |
Returns the user-visible (translatable but not translated) string corresponding to the value.
Returns nullptr on error.
Definition at line 626 of file options.cpp.
Referenced by option_dialog::add_option().
| bool option_enum_set_int | ( | struct option * | poption, |
| int | val | ||
| ) |
Sets the value of this enum option.
Returns TRUE if the value changed.
Definition at line 667 of file options.cpp.
Referenced by option_dialog::apply_options(), client_option_load(), and option_reset().
| int option_enum_str_to_int | ( | const struct option * | poption, |
| const char * | str | ||
| ) |
Returns the value corresponding to the user-visible (translatable but not translated) string.
Returns -1 if not matched.
Definition at line 603 of file options.cpp.
| QFont option_font_def | ( | const struct option * | poption | ) |
Returns the default value of this font option.
Definition at line 760 of file options.cpp.
Referenced by option_dialog::option_dialog_reset(), and option_reset().
| QFont option_font_get | ( | const struct option * | poption | ) |
Returns the current value of this font option.
Definition at line 749 of file options.cpp.
Referenced by option_dialog::add_option(), apply_help_font(), apply_notify_font(), client_option_save(), font_changed_callback(), gui_qt_apply_font(), fcFont::initFonts(), option_dialog::option_dialog_refresh(), and fcFont::setSizeAll().
| bool option_font_set | ( | struct option * | poption, |
| const QFont & | font | ||
| ) |
Sets the value of this font option.
Returns TRUE if the value changed.
Definition at line 793 of file options.cpp.
Referenced by option_dialog::apply_options(), client_option_load(), option_reset(), and fcFont::setSizeAll().
| void option_font_set_default | ( | const struct option * | poption, |
| const QFont & | font | ||
| ) |
Returns the default value of this font option.
Definition at line 771 of file options.cpp.
Referenced by configure_font().
| QString option_font_target | ( | const struct option * | poption | ) |
Returns the target style name of this font option.
Definition at line 782 of file options.cpp.
Referenced by font_changed_callback().
| int option_get_cb_data | ( | const struct option * | poption | ) |
Returns the callback data of this option.
Definition at line 447 of file options.cpp.
Referenced by get_tileset_list(), and tilespec_reread_callback().
| void* option_get_gui_data | ( | const struct option * | poption | ) |
Returns the gui data of this option.
Definition at line 437 of file options.cpp.
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::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().
| QString option_help_text | ( | const struct option * | poption | ) |
Returns the help text (translated) of the option.
Definition at line 320 of file options.cpp.
Referenced by option_dialog::add_option().
| int option_int_def | ( | const struct option * | poption | ) |
Returns the default value of this integer option.
Definition at line 505 of file options.cpp.
Referenced by option_dialog::option_dialog_reset(), option_reset(), and options_init().
| int option_int_get | ( | const struct option * | poption | ) |
Returns the current value of this integer option.
Definition at line 494 of file options.cpp.
Referenced by client_option_save(), client_ss_val_int_get(), desired_settable_option_send(), and option_dialog::option_dialog_refresh().
| int option_int_max | ( | const struct option * | poption | ) |
Returns the maximal value of this integer option.
Definition at line 527 of file options.cpp.
Referenced by option_dialog::add_option(), and options_init().
| int option_int_min | ( | const struct option * | poption | ) |
Returns the minimal value of this integer option.
Definition at line 516 of file options.cpp.
Referenced by option_dialog::add_option(), and options_init().
| bool option_int_set | ( | struct option * | poption, |
| int | val | ||
| ) |
Sets the value of this integer option.
Returns TRUE if the value changed.
Definition at line 538 of file options.cpp.
Referenced by option_dialog::apply_options(), client_option_load(), pregame_options::max_players_change(), and option_reset().
| bool option_is_changeable | ( | const struct option * | poption | ) |
Returns TRUE if this option can be modified.
Definition at line 351 of file options.cpp.
Referenced by option_dialog::add_option().
| const char* option_name | ( | const struct option * | poption | ) |
Returns the name of the option.
Definition at line 300 of file options.cpp.
Referenced by apply_help_font(), client_option_load(), client_option_save(), client_option_str_set(), client_ss_name_get(), desired_settable_option_send(), gui_qt_apply_font(), handle_server_setting_bitwise(), handle_server_setting_bool(), handle_server_setting_enum(), handle_server_setting_int(), handle_server_setting_str(), fcFont::initFonts(), option_gui_update(), options_init(), optset_option_by_name(), and mr_menu::slot_set_citybar().
Returns the next option or nullptr if this is the last.
Definition at line 361 of file options.cpp.
| int option_number | ( | const struct option * | poption | ) |
Returns the number of the option.
Definition at line 290 of file options.cpp.
Referenced by client_ss_by_name(), handle_server_setting_bitwise(), handle_server_setting_bool(), handle_server_setting_enum(), handle_server_setting_int(), and handle_server_setting_str().
| const struct option_set* option_optset | ( | const struct option * | poption | ) |
Returns the option set owner of this option.
Definition at line 280 of file options.cpp.
Referenced by option_gui_update().
| bool option_reset | ( | struct option * | poption | ) |
Set the option to its default value.
Returns TRUE if the option changed.
Definition at line 371 of file options.cpp.
Referenced by options_init().
Set the function to call every time this option changes.
Can be nullptr.
Definition at line 397 of file options.cpp.
| void option_set_gui_data | ( | struct option * | poption, |
| void * | data | ||
| ) |
Set the gui data for this option.
Definition at line 427 of file options.cpp.
Referenced by option_dialog::add_option().
| const char* option_str_def | ( | const struct option * | poption | ) |
Returns the default value of this string option.
Definition at line 564 of file options.cpp.
Referenced by option_dialog::option_dialog_reset(), option_reset(), and options_init().
| const char* option_str_get | ( | const struct option * | poption | ) |
Returns the current value of this string option.
Definition at line 553 of file options.cpp.
Referenced by client_current_nation_set(), client_option_save(), desired_settable_option_send(), musicspec_reread_callback(), races_dialog::nationset_changed(), citybar_painter::option_changed(), option_dialog::option_dialog_refresh(), options_init(), theme_reread_callback(), tilespec_reread_callback(), and races_dialog::update_nationset_combo().
| bool option_str_set | ( | struct option * | poption, |
| const char * | str | ||
| ) |
Sets the value of this string option.
Returns TRUE if the value changed.
Definition at line 586 of file options.cpp.
Referenced by option_dialog::apply_options(), client_option_load(), races_dialog::nationset_changed(), and option_reset().
Returns the possible string values of this string option.
Definition at line 575 of file options.cpp.
Referenced by option_dialog::add_option(), option_dialog::get_string(), options_init(), and option_dialog::set_string().
| enum option_type option_type | ( | const struct option * | poption | ) |
Returns the type of the option.
Definition at line 320 of file options.cpp.
Referenced by option_dialog::add_option(), option_dialog::apply_options(), client_current_nation_set(), client_option_load(), client_option_save(), desired_settable_option_send(), font_changed_callback(), option_dialog::get_color_option(), fcFont::initFonts(), option_dialog::option_dialog_refresh(), option_dialog::option_dialog_reset(), option_reset(), options_free(), options_init(), and fcFont::setSizeAll().
| void options_dialogs_set | ( | ) |
This set the city and player report dialog options.
It's called when the client goes to C_S_RUNNING state.
Definition at line 4332 of file options.cpp.
Referenced by client_state().
| void options_dialogs_update | ( | ) |
Dialog report options.
Dialog report options.
It's called when the client goes to C_S_DISCONNECTED state.
Definition at line 4306 of file options.cpp.
Referenced by client_state(), and options_dialogs_save().
| void options_free | ( | ) |
| void options_init | ( | ) |
Initialize the option module.
Definition at line 4582 of file options.cpp.
Referenced by client_main().
| void options_load | ( | ) |
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 4362 of file options.cpp.
Referenced by client_main().
| void options_save | ( | option_save_log_callback | log_cb | ) |
Save all options.
Definition at line 4496 of file options.cpp.
Referenced by option_dialog::apply_option(), client_exit(), disconnect_from_server(), and mr_menu::save_options_now().
| const char* optset_category_name | ( | const struct option_set * | poptset, |
| int | category | ||
| ) |
Returns the name (translated) of the category of this option set.
Definition at line 138 of file options.cpp.
Referenced by option_category_name().
| struct option* optset_option_by_name | ( | const struct option_set * | poptset, |
| const char * | name | ||
| ) |
Returns the option corresponding of the name in this option set.
Definition at line 110 of file options.cpp.
Referenced by blink_turn_done_button(), can_end_turn(), client_current_nation_set(), client_ss_by_name(), configure_font(), is_ts_option_unset(), pregame_options::max_players_change(), races_dialog::nationset_changed(), plrdlg_col_state(), mr_menu::tileset_custom_load(), and races_dialog::update_nationset_combo().
| struct option* optset_option_by_number | ( | const struct option_set * | poptset, |
| int | id | ||
| ) |
Returns the option corresponding of the number in this option set.
Definition at line 99 of file options.cpp.
Referenced by client_ss_name_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 | ) |
Returns the first option of this option set.
Definition at line 128 of file options.cpp.
| void server_options_free | ( | ) |
Free the server options, if already received.
Definition at line 2619 of file options.cpp.
Referenced by client_game_free().
| void server_options_init | ( | ) |
Initialize the server options (not received yet).
Definition at line 2566 of file options.cpp.
Referenced by client_game_init().
| const char* tileset_name_for_topology | ( | int | topology_id | ) |
Option framework wrapper for mapimg_get_format_list()
What is the user defined tileset for the given topology
Definition at line 4864 of file options.cpp.
Referenced by handle_set_topology().
|
extern |
Definition at line 860 of file options.cpp.
Referenced by configure_font(), fcFont::initFonts(), is_ts_option_unset(), popup_client_options(), fcFont::setSizeAll(), mr_menu::slot_set_citybar(), and mr_menu::tileset_custom_load().
|
extern |
Definition at line 74 of file options.cpp.
Referenced by animate_unit_explosion(), append_city_buycost_string(), audio_play_sound(), audio_select_plugin(), auto_center_on_focus_unit(), calculate_overview_dimensions(), map_view::center_on_tile(), chat_widget::chat_widget(), city_widget::city_view(), client_exit(), client_main(), client_state(), connect_to_server(), control_mouse_cursor(), cr_entry_building(), citybar_painter::current(), current_focus_append(), fc_client::current_page(), decrease_unit_hp_smooth(), disconnect_from_server(), freeciv::layer::do_draw_unit(), do_map_click(), do_move_unit(), draw_calculated_trade_routes(), draw_reqtree(), draw_trade_routes(), minimap_view::draw_viewport(), enter_goto_state(), fc_client::fc_client(), freeciv::layer_water::fill_irrigation_sprite_array(), freeciv::layer_background::fill_sprite_array(), freeciv::layer_city::fill_sprite_array(), freeciv::layer_city_size::fill_sprite_array(), freeciv::layer_fog::fill_sprite_array(), freeciv::layer_grid::fill_sprite_array(), freeciv::layer_overlays::fill_sprite_array(), freeciv::layer_units::fill_sprite_array(), find_visible_unit(), game_music_enable_callback(), get_city_dialog_production(), get_turn_done_button_state(), get_unit_nation_flag_sprite(), get_useable_themes_in_directory(), fcFont::getFont(), gui_to_overview_pos(), gui_update_allfonts(), 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_traderoute_info(), handle_unit_actions(), handle_unit_bombard_info(), handle_unit_combat_info(), handle_unit_packet_common(), minimap_view::heightForWidth(), is_extra_drawing_enabled(), manual_turn_done_callback(), mapimg_client_define(), menu_music_enable_callback(), meswin_clear_older(), meswin_popup_city(), minimap_view::mousePressEvent(), move_unit_map_canvas(), music_finished_callback(), node_rectangle_minimum_size(), options_free(), options_init(), options_save(), overview_free(), overview_tile_color(), overview_to_map_pos(), overview_update_tile(), page_load::page_load(), simple_citybar_painter::paint(), traditional_citybar_painter::paint(), polished_citybar_painter::paint(), minimap_view::paint(), put_one_element(), put_overview_tile_area(), real_timer_callback(), redraw_overview(), request_move_unit_direction(), request_toggle_city_buycost(), 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_map_borders(), request_toggle_map_grid(), request_toggle_map_native(), request_units_return(), chat_listener::send_chat_message(), map_view::set_scale(), mr_menu::setup_menus(), minimap_panel::setup_minimap_menu(), map_view::shortcut_pressed(), should_ask_server_for_actions(), minimap_view::sizeHint(), mr_menu::slot_fullscreen(), mr_menu::slot_set_citybar(), freeciv::layer::solid_background(), sound_volume_callback(), start_menu_music(), start_style_music(), page_load::state_preview(), tileset_name_for_topology(), tileset_set_option(), tileset_setup_options(), ui_main(), unit_drawn_with_city_outline(), unit_focus_advance(), freeciv::map_updates_handler::update(), page_load::update_load_page(), voteinfo_queue_add(), and mr_menu::zoom_scale_fonts().
|
extern |
Message Options:
Definition at line 3383 of file options.cpp.
Referenced by message_dlg::apply_changes(), message_dlg::fill_data(), and handle_event().
|
extern |
Definition at line 2430 of file options.cpp.
Referenced by blink_turn_done_button(), can_end_turn(), client_current_nation_set(), client_ss_by_name(), client_ss_name_get(), client_ss_val_bitwise_get(), client_ss_val_bool_get(), client_ss_val_int_get(), handle_server_setting_bitwise(), handle_server_setting_bool(), handle_server_setting_enum(), handle_server_setting_int(), handle_server_setting_str(), pregame_options::max_players_change(), races_dialog::nationset_changed(), option_gui_update(), plrdlg_col_state(), mr_menu::server_options(), server_options_free(), and races_dialog::update_nationset_combo().