Freeciv21
Develop your civilization from humble roots to a global empire
options.h File Reference
#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 optionoptset_option_by_number (const struct option_set *poptset, int id)
 Returns the option corresponding of the number in this option set. More...
 
struct optionoptset_option_by_name (const struct option_set *poptset, const char *name)
 Returns the option corresponding of the name in this option set. More...
 
struct optionoptset_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_setoption_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 optionoption_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_optionsgui_options
 
const struct option_setclient_optset
 
const struct option_setserver_optset
 
int messages_where []
 Message Options: More...
 

Macro Definition Documentation

◆ DEFAULT_METASERVER_OPTION

#define DEFAULT_METASERVER_OPTION   "default"

Definition at line 20 of file options.h.

◆ FC_QT_DEFAULT_THEME_NAME

#define FC_QT_DEFAULT_THEME_NAME   "NightStalker"

Definition at line 163 of file options.h.

◆ GUI_DEFAULT_MAPIMG_FILENAME

#define GUI_DEFAULT_MAPIMG_FILENAME   "freeciv"

Client options.

Definition at line 323 of file options.h.

◆ MW_MESSAGES

#define MW_MESSAGES   2

Definition at line 316 of file options.h.

◆ MW_OUTPUT

#define MW_OUTPUT   1

Definition at line 315 of file options.h.

◆ MW_POPUP

#define MW_POPUP   4

Definition at line 317 of file options.h.

◆ NUM_MW

#define NUM_MW   3

Message Options:

Definition at line 314 of file options.h.

◆ options_iterate

#define options_iterate (   poptset,
  poption 
)
Value:
{ \
struct option *poption = optset_option_first(poptset); \
for (; nullptr != poption; poption = option_next(poption)) {
struct option * option_next(const struct option *poption)
Returns the next option or nullptr if this is the last.
Definition: options.cpp:361
struct option * optset_option_first(const struct option_set *poptset)
Returns the first option of this option set.
Definition: options.cpp:128
The base class for options.
Definition: options.cpp:209

Definition at line 292 of file options.h.

◆ options_iterate_end

#define options_iterate_end
Value:
} \
}

Definition at line 297 of file options.h.

◆ SPECENUM_NAME

#define SPECENUM_NAME   option_type

Definition at line 188 of file options.h.

◆ SPECENUM_VALUE0

#define SPECENUM_VALUE0   OT_BOOLEAN

Definition at line 189 of file options.h.

◆ SPECENUM_VALUE1

#define SPECENUM_VALUE1   OT_INTEGER

Definition at line 190 of file options.h.

◆ SPECENUM_VALUE2

#define SPECENUM_VALUE2   OT_STRING

Definition at line 191 of file options.h.

◆ SPECENUM_VALUE3

#define SPECENUM_VALUE3   OT_ENUM

Definition at line 192 of file options.h.

◆ SPECENUM_VALUE4

#define SPECENUM_VALUE4   OT_BITWISE

Definition at line 193 of file options.h.

◆ SPECENUM_VALUE5

#define SPECENUM_VALUE5   OT_FONT

Definition at line 194 of file options.h.

◆ SPECENUM_VALUE6

#define SPECENUM_VALUE6   OT_COLOR

Definition at line 195 of file options.h.

Typedef Documentation

◆ option_save_log_callback

typedef void(* option_save_log_callback) (QtMsgType lvl, const QString &msg)

Definition at line 201 of file options.h.

Enumeration Type Documentation

◆ overview_layers

Enumerator
OLAYER_BACKGROUND 
OLAYER_RELIEF 
OLAYER_BORDERS 
OLAYER_BORDERS_ON_OCEAN 
OLAYER_UNITS 
OLAYER_CITIES 
OLAYER_COUNT 

Definition at line 22 of file options.h.

Function Documentation

◆ desired_settable_option_update()

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.

◆ desired_settable_options_update()

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().

◆ fill_topo_ts_default()

void fill_topo_ts_default ( )

Fill default tilesets for topology-specific settings.

Definition at line 4906 of file options.cpp.

Referenced by client_main().

◆ option_bitwise_def()

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().

◆ option_bitwise_get()

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().

◆ option_bitwise_mask()

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().

◆ 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().

◆ option_bitwise_values()

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.

Definition at line 721 of file options.cpp.

Referenced by option_dialog::add_option().

◆ option_bool_def()

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().

◆ option_bool_get()

bool option_bool_get ( const struct option poption)

◆ option_bool_set()

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().

◆ option_category_name()

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().

◆ option_changed()

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().

◆ option_color_def()

struct ft_color option_color_def ( const struct option poption)

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().

◆ option_color_get()

struct ft_color option_color_get ( const struct option poption)

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().

◆ option_color_set()

bool option_color_set ( struct option poption,
struct ft_color  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().

◆ option_description()

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().

◆ option_enum_def_int()

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().

◆ option_enum_get_int()

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().

◆ option_enum_int_to_str()

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().

◆ option_enum_set_int()

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().

◆ option_enum_str_to_int()

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.

◆ option_font_def()

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().

◆ option_font_get()

QFont option_font_get ( const struct option poption)

◆ option_font_set()

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().

◆ option_font_set_default()

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().

◆ option_font_target()

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().

◆ option_get_cb_data()

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().

◆ option_get_gui_data()

◆ option_help_text()

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().

◆ option_int_def()

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().

◆ option_int_get()

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().

◆ option_int_max()

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().

◆ option_int_min()

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().

◆ option_int_set()

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().

◆ option_is_changeable()

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().

◆ option_name()

◆ option_next()

struct option* option_next ( const struct option poption)

Returns the next option or nullptr if this is the last.

Definition at line 361 of file options.cpp.

◆ option_number()

int option_number ( const struct option poption)

◆ option_optset()

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().

◆ option_reset()

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().

◆ option_set_changed_callback()

void option_set_changed_callback ( struct option poption,
void(*)(struct option *)  callback 
)

Set the function to call every time this option changes.

Can be nullptr.

Definition at line 397 of file options.cpp.

◆ option_set_gui_data()

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().

◆ option_str_def()

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().

◆ option_str_get()

◆ option_str_set()

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().

◆ option_str_values()

const QVector<QString>* option_str_values ( const struct option poption)

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().

◆ option_type()

◆ options_dialogs_set()

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().

◆ options_dialogs_update()

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().

◆ options_free()

void options_free ( )

Free the option module.

Definition at line 4677 of file options.cpp.

Referenced by client_exit().

◆ options_init()

void options_init ( )

Initialize the option module.

Definition at line 4582 of file options.cpp.

Referenced by client_main().

◆ options_load()

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().

◆ options_save()

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().

◆ optset_category_name()

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().

◆ optset_option_by_name()

struct option* optset_option_by_name ( const struct option_set poptset,
const char *  name 
)

◆ optset_option_by_number()

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().

◆ optset_option_first()

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.

◆ server_options_free()

void server_options_free ( )

Free the server options, if already received.

Definition at line 2619 of file options.cpp.

Referenced by client_game_free().

◆ server_options_init()

void server_options_init ( )

Initialize the server options (not received yet).

Definition at line 2566 of file options.cpp.

Referenced by client_game_init().

◆ tileset_name_for_topology()

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().

Variable Documentation

◆ client_optset

◆ gui_options

client_options* gui_options
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().

◆ messages_where

int messages_where[]
extern

Message Options:

Definition at line 3383 of file options.cpp.

Referenced by message_dlg::apply_changes(), message_dlg::fill_data(), and handle_event().

◆ server_optset