Freeciv-3.3: /fast/freeciv/nightly/main/client/options.h Source File

Freeciv-3.3

Loading...
Searching...
No Matches
options.h
Go to the documentation of this file.
1/***********************************************************************
2 Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 2, or (at your option)
6 any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12***********************************************************************/
13#ifndef FC__OPTIONS_H
14#define FC__OPTIONS_H
15
16#ifdef __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19
20/* utility */
21#include "support.h" /* bool type */
22
23/* common */
24#include "events.h"
25#include "fc_types.h" /* enum gui_type */
26#include "featured_text.h" /* struct ft_color */
27#include "mapimg.h"
28
29#define DEFAULT_METASERVER_OPTION "default"
30#define DEFAULT_FOLLOWTAG_OPTION "builtin"
31
32#define FONT_NAME_SIZE 512
33
34#if MINOR_VERSION >= 90
35#define MAJOR_NEW_OPTION_FILE_NAME (MAJOR_VERSION + 1)
36#define MINOR_NEW_OPTION_FILE_NAME 0
37#else /* MINOR_VERSION < 90 */
38#define MAJOR_NEW_OPTION_FILE_NAME MAJOR_VERSION
39#if IS_DEVEL_VERSION && ! IS_FREEZE_VERSION
40#define MINOR_NEW_OPTION_FILE_NAME (MINOR_VERSION + 1)
41#else
42#define MINOR_NEW_OPTION_FILE_NAME MINOR_VERSION
43#endif /* IS_DEVEL_VERSION */
44#endif /* MINOR_VERSION >= 90 */
45
46 struct video_mode {
47 int width;
48 int height;
49};
50
51#define VIDEO_MODE(ARG_width, ARG_height) \
52 (struct video_mode){ ARG_width, ARG_height }
53
54/****************************************************************************
55 Constructor.
56****************************************************************************/
57 static inline struct video_mode video_mode_construct(int width, int height)
58{
59 struct video_mode mode = VIDEO_MODE(width, height);
60
61 return mode;
62}
63
64enum {
65 /* Order must match strings in
66 * options.c:gui_gtk_message_chat_location_name() */
67 GUI_GTK_MSGCHAT_SPLIT,
68 GUI_GTK_MSGCHAT_SEPARATE,
69 GUI_GTK_MSGCHAT_MERGED
70};
71
72enum {
73 /* Order must match strings in
74 * options.c:gui_popup_tech_help_name() */
75 GUI_POPUP_TECH_HELP_ENABLED,
76 GUI_POPUP_TECH_HELP_DISABLED,
77 GUI_POPUP_TECH_HELP_RULESET
78};
79
80 enum overview_layers {
81 OLAYER_BACKGROUND,
82 OLAYER_RELIEF,
83 OLAYER_BORDERS,
84 OLAYER_BORDERS_ON_OCEAN,
85 OLAYER_UNITS,
86 OLAYER_CITIES,
87 OLAYER_COUNT
88};
89
90/* Holds all information about the overview aka minimap. */
91 struct overview {
92 /* The following fields are controlled by mapview_common.c. */
93 double map_x0, map_y0; /* Origin of the overview, in natural coords. */
94 int width, height; /* Size in pixels. */
95
96 /* Holds the map, unwrapped. */
97 struct canvas *map;
98
99 /* A backing store for the window itself, wrapped. */
100 struct canvas *window;
101
102 bool fog;
103 bool layers[OLAYER_COUNT];
104};
105
106 struct client_options
107{
108 char default_user_name[512];
109 char default_server_host[512];
110 int default_server_port;
111 bool use_prev_server;
112 bool heartbeat_enabled;
113 bool send_desired_settings;
114 char default_metaserver[512];
115 char followtag_override[5112];
116 char default_tileset_square_name[512];
117 char default_tileset_hex_name[512];
118 char default_tileset_isohex_name[512];
119 char default_sound_set_name[512];
120 char default_music_set_name[512];
121 char default_sound_plugin_name[512];
122 char default_chat_logfile[512];
123 int default_topology;
124
125 bool save_options_on_exit;
126
128 bool first_boot; /* There was no earlier options saved.
129 * This affects some migrations, but not all. */
130 char default_tileset_name[512]; /* pre-2.6 had just this one tileset name */
131 char default_tileset_overhead_name[512]; /* 2.6 had separate tilesets for ... */
132 char default_tileset_iso_name[512]; /* ...overhead and iso topologies. */
133 bool gui_gtk3_migrated_from_gtk2;
134 bool gui_gtk3_22_migrated_from_gtk3;
135 bool gui_gtk5_migrated_from_gtk4;
136 bool gui_gtk4_migrated_from_gtk3_22;
137 bool gui_sdl2_migrated_from_sdl;
138 bool gui_sdl3_migrated_from_sdl2;
139 bool gui_gtk2_migrated_from_2_5;
140 bool gui_gtk3_migrated_from_2_5;
141 bool gui_qt_migrated_from_2_5;
142 bool gui_qt_default_fonts_set;
143 bool gui_sdl2_default_screen_size_set;
144 bool gui_sdl3_default_screen_size_set;
145
146 bool migrate_fullscreen;
147
150 bool solid_color_behind_units;
151 bool sound_bell_at_new_turn;
152 int smooth_move_unit_msec;
153 int smooth_center_slide_msec;
154 int smooth_combat_step_msec;
155 bool ai_manual_turn_done;
156 bool auto_center_on_unit;
157 bool auto_center_on_automated;
158 bool auto_center_on_combat;
159 bool auto_center_each_turn;
160 bool wakeup_focus;
161 bool goto_into_unknown;
162 bool center_when_popup_city;
163 bool show_previous_turn_messages;
164 bool concise_city_production;
165 bool auto_turn_done;
166 bool meta_accelerators;
167 bool ask_city_name;
168 bool popup_new_cities;
169 bool popup_actor_arrival;
170 bool popup_attack_actions;
171 bool popup_last_move_to_allied;
172 bool update_city_text_in_refresh_tile;
173 bool keyboardless_goto;
174 bool enable_cursor_changes;
175 bool separate_unit_selection;
176 bool unit_selection_clears_orders;
177 struct ft_color highlight_our_names;
178
179 bool voteinfo_bar_use;
180 bool voteinfo_bar_always_show;
181 bool voteinfo_bar_hide_when_not_player;
182 bool voteinfo_bar_new_at_front;
183
184 bool autoaccept_tileset_suggestion;
185 bool autoaccept_soundset_suggestion;
186 bool autoaccept_musicset_suggestion;
187
188 bool sound_enable_effects;
189 bool sound_enable_menu_music;
190 bool sound_enable_game_music;
191 int sound_effects_volume;
192 bool silent_when_not_in_focus;
193
194 bool draw_city_outlines;
195 bool draw_city_output;
196 bool draw_map_grid;
197 bool draw_city_names;
198 bool draw_city_growth;
199 bool draw_city_productions;
200 bool draw_city_buycost;
201 bool draw_city_trade_routes;
202 bool draw_terrain;
203 bool draw_coastline;
204 bool draw_paths;
205 bool draw_irrigation;
206 bool draw_mines;
207 bool draw_fortress_airbase;
208 bool draw_specials;
209 bool draw_huts;
210 bool draw_pollution;
211 bool draw_cities;
212 bool draw_units;
213 bool draw_focus_unit;
214 bool draw_fog_of_war;
215 bool draw_borders;
216 bool draw_native;
217 bool draw_full_citybar;
218 bool draw_unit_shields;
219 bool draw_unit_stack_size;
220
221 bool player_dlg_show_dead_players;
222 bool reqtree_show_icons;
223 bool reqtree_curved_lines;
224
225/* options for map images */
226 char mapimg_format[64];
227 int mapimg_zoom;
228 bool mapimg_layer[MAPIMG_LAYER_COUNT];
229 char mapimg_filename[512];
230
231 bool zoom_set;
232 float zoom_default_level;
233
234/* gui-gtk-2.0 client specific options.
235 * These are still kept just so users can migrate them to later gtk-clients */
236 bool gui_gtk2_map_scrollbars;
237 bool gui_gtk2_dialogs_on_top;
238 bool gui_gtk2_show_task_icons;
239 bool gui_gtk2_enable_tabs;
240 bool gui_gtk2_better_fog;
241 bool gui_gtk2_show_chat_message_time;
242 bool gui_gtk2_new_messages_go_to_top;
243 bool gui_gtk2_show_message_window_buttons;
244 bool gui_gtk2_metaserver_tab_first;
245 bool gui_gtk2_allied_chat_only;
246 bool gui_gtk2_mouse_over_map_focus;
247 bool gui_gtk2_chatline_autocompletion;
248 int gui_gtk2_citydlg_xsize;
249 int gui_gtk2_citydlg_ysize;
250 int gui_gtk2_popup_tech_help;
251 char gui_gtk2_font_city_label[FONT_NAME_SIZE];
252 char gui_gtk2_font_notify_label[FONT_NAME_SIZE];
253 char gui_gtk2_font_spaceship_label[FONT_NAME_SIZE];
254 char gui_gtk2_font_help_label[FONT_NAME_SIZE];
255 char gui_gtk2_font_help_link[FONT_NAME_SIZE];
256 char gui_gtk2_font_help_text[FONT_NAME_SIZE];
257 char gui_gtk2_font_chatline[FONT_NAME_SIZE];
258 char gui_gtk2_font_beta_label[FONT_NAME_SIZE];
259 char gui_gtk2_font_small[FONT_NAME_SIZE];
260 char gui_gtk2_font_comment_label[FONT_NAME_SIZE];
261 char gui_gtk2_font_city_names[FONT_NAME_SIZE];
262 char gui_gtk2_font_city_productions[FONT_NAME_SIZE];
263 char gui_gtk2_font_reqtree_text[FONT_NAME_SIZE];
264
265/* gui-gtk-3.0 client specific options.
266 * These are still kept just so users can migrate them to later gtk-clients */
267 bool gui_gtk3_fullscreen;
268 bool gui_gtk3_map_scrollbars;
269 bool gui_gtk3_dialogs_on_top;
270 bool gui_gtk3_show_task_icons;
271 bool gui_gtk3_enable_tabs;
272 bool gui_gtk3_show_chat_message_time;
273 bool gui_gtk3_new_messages_go_to_top;
274 bool gui_gtk3_show_message_window_buttons;
275 bool gui_gtk3_metaserver_tab_first;
276 bool gui_gtk3_allied_chat_only;
277 int gui_gtk3_message_chat_location; /* enum GUI_GTK_MSGCHAT_* */
278 bool gui_gtk3_small_display_layout;
279 bool gui_gtk3_mouse_over_map_focus;
280 bool gui_gtk3_chatline_autocompletion;
281 int gui_gtk3_citydlg_xsize;
282 int gui_gtk3_citydlg_ysize;
283 int gui_gtk3_popup_tech_help;
284 int gui_gtk3_governor_range_min;
285 int gui_gtk3_governor_range_max;
286 char gui_gtk3_font_city_label[FONT_NAME_SIZE];
287 char gui_gtk3_font_notify_label[FONT_NAME_SIZE];
288 char gui_gtk3_font_spaceship_label[FONT_NAME_SIZE];
289 char gui_gtk3_font_help_label[FONT_NAME_SIZE];
290 char gui_gtk3_font_help_link[FONT_NAME_SIZE];
291 char gui_gtk3_font_help_text[FONT_NAME_SIZE];
292 char gui_gtk3_font_chatline[FONT_NAME_SIZE];
293 char gui_gtk3_font_beta_label[FONT_NAME_SIZE];
294 char gui_gtk3_font_small[FONT_NAME_SIZE];
295 char gui_gtk3_font_comment_label[FONT_NAME_SIZE];
296 char gui_gtk3_font_city_names[FONT_NAME_SIZE];
297 char gui_gtk3_font_city_productions[FONT_NAME_SIZE];
298 char gui_gtk3_font_reqtree_text[FONT_NAME_SIZE];
299
300 /* gui-gtk-3.22 client specific options. */
301#define FC_GTK3_22_DEFAULT_THEME_NAME "Freeciv"
302 char gui_gtk3_22_default_theme_name[512];
303 bool gui_gtk3_22_fullscreen;
304 bool gui_gtk3_22_map_scrollbars;
305 bool gui_gtk3_22_dialogs_on_top;
306 bool gui_gtk3_22_show_task_icons;
307 bool gui_gtk3_22_enable_tabs;
308 bool gui_gtk3_22_show_chat_message_time;
309 bool gui_gtk3_22_new_messages_go_to_top;
310 bool gui_gtk3_22_show_message_window_buttons;
311 bool gui_gtk3_22_metaserver_tab_first;
312 bool gui_gtk3_22_allied_chat_only;
313 int gui_gtk3_22_message_chat_location; /* enum GUI_GTK_MSGCHAT_* */
314 bool gui_gtk3_22_small_display_layout;
315 bool gui_gtk3_22_mouse_over_map_focus;
316 bool gui_gtk3_22_chatline_autocompletion;
317 int gui_gtk3_22_citydlg_xsize;
318 int gui_gtk3_22_citydlg_ysize;
319 int gui_gtk3_22_popup_tech_help;
320 int gui_gtk3_22_governor_range_min;
321 int gui_gtk3_22_governor_range_max;
322 char gui_gtk3_22_font_city_label[FONT_NAME_SIZE];
323 char gui_gtk3_22_font_notify_label[FONT_NAME_SIZE];
324 char gui_gtk3_22_font_spaceship_label[FONT_NAME_SIZE];
325 char gui_gtk3_22_font_help_label[FONT_NAME_SIZE];
326 char gui_gtk3_22_font_help_link[FONT_NAME_SIZE];
327 char gui_gtk3_22_font_help_text[FONT_NAME_SIZE];
328 char gui_gtk3_22_font_chatline[FONT_NAME_SIZE];
329 char gui_gtk3_22_font_beta_label[FONT_NAME_SIZE];
330 char gui_gtk3_22_font_small[FONT_NAME_SIZE];
331 char gui_gtk3_22_font_comment_label[FONT_NAME_SIZE];
332 char gui_gtk3_22_font_city_names[FONT_NAME_SIZE];
333 char gui_gtk3_22_font_city_productions[FONT_NAME_SIZE];
334 char gui_gtk3_22_font_reqtree_text[FONT_NAME_SIZE];
335
336/* gui-gtk-4.0 client specific options. */
337#define FC_GTK4_DEFAULT_THEME_NAME "Freeciv"
338 char gui_gtk4_default_theme_name[512];
339 bool gui_gtk4_fullscreen;
340 bool gui_gtk4_map_scrollbars;
341 bool gui_gtk4_dialogs_on_top;
342 bool gui_gtk4_show_task_icons;
343 bool gui_gtk4_enable_tabs;
344 bool gui_gtk4_show_chat_message_time;
345 bool gui_gtk4_new_messages_go_to_top;
346 bool gui_gtk4_show_message_window_buttons;
347 bool gui_gtk4_metaserver_tab_first;
348 bool gui_gtk4_allied_chat_only;
349 int gui_gtk4_message_chat_location; /* enum GUI_GTK_MSGCHAT_* */
350 bool gui_gtk4_small_display_layout;
351 bool gui_gtk4_mouse_over_map_focus;
352 bool gui_gtk4_chatline_autocompletion;
353 int gui_gtk4_citydlg_xsize;
354 int gui_gtk4_citydlg_ysize;
355 int gui_gtk4_popup_tech_help;
356 int gui_gtk4_governor_range_min;
357 int gui_gtk4_governor_range_max;
358 char gui_gtk4_font_city_label[FONT_NAME_SIZE];
359 char gui_gtk4_font_notify_label[FONT_NAME_SIZE];
360 char gui_gtk4_font_spaceship_label[FONT_NAME_SIZE];
361 char gui_gtk4_font_help_label[FONT_NAME_SIZE];
362 char gui_gtk4_font_help_link[FONT_NAME_SIZE];
363 char gui_gtk4_font_help_text[FONT_NAME_SIZE];
364 char gui_gtk4_font_chatline[FONT_NAME_SIZE];
365 char gui_gtk4_font_beta_label[FONT_NAME_SIZE];
366 char gui_gtk4_font_small[FONT_NAME_SIZE];
367 char gui_gtk4_font_comment_label[FONT_NAME_SIZE];
368 char gui_gtk4_font_city_names[FONT_NAME_SIZE];
369 char gui_gtk4_font_city_productions[FONT_NAME_SIZE];
370 char gui_gtk4_font_reqtree_text[FONT_NAME_SIZE];
371
372/* gui-gtk-5.0 client specific options. */
373#define FC_GTK5_DEFAULT_THEME_NAME "Freeciv"
374 char gui_gtk5_default_theme_name[512];
375 bool gui_gtk5_fullscreen;
376 bool gui_gtk5_map_scrollbars;
377 bool gui_gtk5_dialogs_on_top;
378 bool gui_gtk5_show_task_icons;
379 bool gui_gtk5_enable_tabs;
380 bool gui_gtk5_show_chat_message_time;
381 bool gui_gtk5_new_messages_go_to_top;
382 bool gui_gtk5_show_message_window_buttons;
383 bool gui_gtk5_metaserver_tab_first;
384 bool gui_gtk5_allied_chat_only;
385 int gui_gtk5_message_chat_location; /* enum GUI_GTK_MSGCHAT_* */
386 bool gui_gtk5_small_display_layout;
387 bool gui_gtk5_mouse_over_map_focus;
388 bool gui_gtk5_chatline_autocompletion;
389 int gui_gtk5_citydlg_xsize;
390 int gui_gtk5_citydlg_ysize;
391 int gui_gtk5_popup_tech_help;
392 int gui_gtk5_governor_range_min;
393 int gui_gtk5_governor_range_max;
394 char gui_gtk5_font_city_label[FONT_NAME_SIZE];
395 char gui_gtk5_font_notify_label[FONT_NAME_SIZE];
396 char gui_gtk5_font_spaceship_label[FONT_NAME_SIZE];
397 char gui_gtk5_font_help_label[FONT_NAME_SIZE];
398 char gui_gtk5_font_help_link[FONT_NAME_SIZE];
399 char gui_gtk5_font_help_text[FONT_NAME_SIZE];
400 char gui_gtk5_font_chatline[FONT_NAME_SIZE];
401 char gui_gtk5_font_beta_label[FONT_NAME_SIZE];
402 char gui_gtk5_font_small[FONT_NAME_SIZE];
403 char gui_gtk5_font_comment_label[FONT_NAME_SIZE];
404 char gui_gtk5_font_city_names[FONT_NAME_SIZE];
405 char gui_gtk5_font_city_productions[FONT_NAME_SIZE];
406 char gui_gtk5_font_reqtree_text[FONT_NAME_SIZE];
407
408/* gui-sdl client specific options.
409 * These are still kept just so users can migrate them to sdl2-client */
410 bool gui_sdl_fullscreen;
411 struct video_mode gui_sdl_screen;
412 bool gui_sdl_do_cursor_animation;
413 bool gui_sdl_use_color_cursors;
414
415/* gui-sdl2 client specific options. */
416#define FC_SDL2_DEFAULT_THEME_NAME "human"
417 char gui_sdl2_default_theme_name[512];
418 bool gui_sdl2_fullscreen;
419 struct video_mode gui_sdl2_screen;
420 bool gui_sdl2_swrenderer;
421 bool gui_sdl2_do_cursor_animation;
422 bool gui_sdl2_use_color_cursors;
423 char gui_sdl2_font_city_names[64];
424 char gui_sdl2_font_city_productions[64];
425 bool gui_sdl2_use_theme_font_size;
426 int gui_sdl2_font_size;
427
428/* gui-sdl3 client specific options. */
429#define FC_SDL3_DEFAULT_THEME_NAME "human"
430 char gui_sdl3_default_theme_name[512];
431 bool gui_sdl3_fullscreen;
432 struct video_mode gui_sdl3_screen;
433 bool gui_sdl3_swrenderer;
434 bool gui_sdl3_do_cursor_animation;
435 bool gui_sdl3_use_color_cursors;
436 char gui_sdl3_font_city_names[64];
437 char gui_sdl3_font_city_productions[64];
438 bool gui_sdl3_use_theme_font_size;
439 int gui_sdl3_font_size;
440
441/* gui-qt client specific options. */
442#define FC_QT_DEFAULT_THEME_NAME "NightStalker"
443 bool gui_qt_fullscreen;
444 bool gui_qt_show_preview;
445 bool gui_qt_allied_chat_only;
446 bool gui_qt_sidebar_left;
447 char gui_qt_default_theme_name[512];
448 char gui_qt_font_default[FONT_NAME_SIZE];
449 char gui_qt_font_notify_label[FONT_NAME_SIZE];
450 char gui_qt_font_help_label[FONT_NAME_SIZE];
451 char gui_qt_font_help_text[FONT_NAME_SIZE];
452 char gui_qt_font_chatline[FONT_NAME_SIZE];
453 char gui_qt_font_city_names[FONT_NAME_SIZE];
454 char gui_qt_font_city_productions[FONT_NAME_SIZE];
455 char gui_qt_font_reqtree_text[FONT_NAME_SIZE];
456 bool gui_qt_show_titlebar;
457 char gui_qt_wakeup_text[512];
458 bool gui_qt_show_relations_panel;
459 bool gui_qt_show_techs_panel;
460 bool gui_qt_show_wonders_panel;
461 bool gui_qt_svgflags;
462
463 struct overview overview;
464};
465
466extern struct client_options gui_options;
467
468#define SPECENUM_NAME option_type
469#define SPECENUM_VALUE0 OT_BOOLEAN
470#define SPECENUM_VALUE1 OT_INTEGER
471#define SPECENUM_VALUE2 OT_STRING
472#define SPECENUM_VALUE3 OT_ENUM
473#define SPECENUM_VALUE4 OT_BITWISE
474#define SPECENUM_VALUE5 OT_FONT
475#define SPECENUM_VALUE6 OT_COLOR
476#define SPECENUM_VALUE7 OT_VIDEO_MODE
477#include "specenum_gen.h"
478
479
480struct option; /* Opaque type. */
481struct option_set; /* Opaque type. */
482
483 typedef void (*option_save_log_callback)(enum log_level lvl, const char *msg, ...);
484
485/* Main functions. */
486void options_init(void);
487void options_free(void);
488void server_options_init(void);
489void server_options_free(void);
490void options_load(void);
491void options_save(option_save_log_callback log_cb);
492
493
494/* Option sets. */
495extern const struct option_set *client_optset;
496extern const struct option_set *server_optset;
497
498struct option *optset_option_by_number(const struct option_set *poptset,
499 int id);
500#define optset_option_by_index optset_option_by_number
501struct option *optset_option_by_name(const struct option_set *poptset,
502 const char *name);
503struct option *optset_option_first(const struct option_set *poptset);
504
505int optset_category_number(const struct option_set *poptset);
506const char *optset_category_name(const struct option_set *poptset,
507 int category);
508
509
510/* Common option functions. */
511const struct option_set *option_optset(const struct option *poption);
512int option_number(const struct option *poption);
513#define option_index option_number
514const char *option_name(const struct option *poption);
515const char *option_description(const struct option *poption);
516const char *option_help_text(const struct option *poption);
517enum option_type option_type(const struct option *poption);
518int option_category(const struct option *poption);
519const char *option_category_name(const struct option *poption);
520bool option_is_changeable(const struct option *poption);
521struct option *option_next(const struct option *poption);
522
523bool option_reset(struct option *poption);
524void option_set_changed_callback(struct option *poption,
525 void (*callback) (struct option *));
526void option_changed(struct option *poption);
527
528/* Option gui functions. */
529void option_set_gui_data(struct option *poption, void *data);
530void *option_get_gui_data(const struct option *poption);
531
532/* Callback assistance */
533int option_get_cb_data(const struct option *poption);
534
535/* Option type OT_BOOLEAN functions. */
536bool option_bool_get(const struct option *poption);
537bool option_bool_def(const struct option *poption);
538bool option_bool_set(struct option *poption, bool val);
539
540/* Option type OT_INTEGER functions. */
541int option_int_get(const struct option *poption);
542int option_int_def(const struct option *poption);
543int option_int_min(const struct option *poption);
544int option_int_max(const struct option *poption);
545bool option_int_set(struct option *poption, int val);
546
547/* Option type OT_STRING functions. */
548const char *option_str_get(const struct option *poption);
549const char *option_str_def(const struct option *poption);
550const struct strvec *option_str_values(const struct option *poption);
551bool option_str_set(struct option *poption, const char *str);
552
553/* Option type OT_ENUM functions. */
554int option_enum_str_to_int(const struct option *poption, const char *str);
555const char *option_enum_int_to_str(const struct option *poption, int val);
556int option_enum_get_int(const struct option *poption);
557const char *option_enum_get_str(const struct option *poption);
558int option_enum_def_int(const struct option *poption);
559const char *option_enum_def_str(const struct option *poption);
560const struct strvec *option_enum_values(const struct option *poption);
561bool option_enum_set_int(struct option *poption, int val);
562bool option_enum_set_str(struct option *poption, const char *str);
563
564/* Option type OT_BITWISE functions. */
565unsigned option_bitwise_get(const struct option *poption);
566unsigned option_bitwise_def(const struct option *poption);
567unsigned option_bitwise_mask(const struct option *poption);
568const struct strvec *option_bitwise_values(const struct option *poption);
569bool option_bitwise_set(struct option *poption, unsigned val);
570
571/* Option type OT_FONT functions. */
572const char *option_font_get(const struct option *poption);
573const char *option_font_def(const struct option *poption);
574const char *option_font_target(const struct option *poption);
575bool option_font_set(struct option *poption, const char *font);
576
577/* Option type OT_COLOR functions. */
578struct ft_color option_color_get(const struct option *poption);
579struct ft_color option_color_def(const struct option *poption);
580bool option_color_set(struct option *poption, struct ft_color color);
581
582/* Option type OT_VIDEO_MODE functions. */
583struct video_mode option_video_mode_get(const struct option *poption);
584struct video_mode option_video_mode_def(const struct option *poption);
585bool option_video_mode_set(struct option *poption, struct video_mode mode);
586
587
588#define options_iterate(poptset, poption) \
589{ \
590 struct option *poption = optset_option_first(poptset); \
591 for (; NULL != poption; poption = option_next(poption)) { \
592
593#define options_iterate_end \
594 } \
595}
596
597
599void desired_settable_options_update(void);
600void desired_settable_option_update(const char *op_name,
601 const char *op_value,
602 bool allow_replace);
603void resend_desired_settable_options(void);
604
605
607void options_dialogs_update(void);
608void options_dialogs_set(void);
609
610
613/* for specifying which event messages go where: */
614#define NUM_MW 3
615#define MW_OUTPUT 1 /* add to the output window */
616#define MW_MESSAGES 2 /* add to the messages window */
617#define MW_POPUP 4 /* popup an individual window */
618
619extern int messages_where[]; /* OR-ed MW_ values [E_COUNT] */
620
621
624#define GUI_DEFAULT_CHAT_LOGFILE "freeciv-chat.log"
625
626/* gui-gtk2: [xy]size of the city dialog */
627#define GUI_GTK2_CITYDLG_DEFAULT_XSIZE 770
628#define GUI_GTK2_CITYDLG_MIN_XSIZE 256
629#define GUI_GTK2_CITYDLG_MAX_XSIZE 4096
630
631#define GUI_GTK2_CITYDLG_DEFAULT_YSIZE 512
632#define GUI_GTK2_CITYDLG_MIN_YSIZE 128
633#define GUI_GTK2_CITYDLG_MAX_YSIZE 4096
634
635#define GUI_GTK_OVERVIEW_MIN_XSIZE 160
636#define GUI_GTK_OVERVIEW_MIN_YSIZE 100
637
638/* gui-gtk3: [xy]size of the city dialog */
639#define GUI_GTK3_CITYDLG_DEFAULT_XSIZE 770
640#define GUI_GTK3_CITYDLG_MIN_XSIZE 256
641#define GUI_GTK3_CITYDLG_MAX_XSIZE 4096
642
643#define GUI_GTK3_CITYDLG_DEFAULT_YSIZE 512
644#define GUI_GTK3_CITYDLG_MIN_YSIZE 128
645#define GUI_GTK3_CITYDLG_MAX_YSIZE 4096
646
647#define GUI_GTK3_GOV_RANGE_MIN_DEFAULT -20
648#define GUI_GTK3_GOV_RANGE_MIN_MIN -100
649#define GUI_GTK3_GOV_RANGE_MIN_MAX 0
650
651#define GUI_GTK3_GOV_RANGE_MAX_DEFAULT 20
652#define GUI_GTK3_GOV_RANGE_MAX_MIN 0
653#define GUI_GTK3_GOV_RANGE_MAX_MAX 100
654
655/* gui-gtk3.22: [xy]size of the city dialog */
656#define GUI_GTK3_22_CITYDLG_DEFAULT_XSIZE 770
657#define GUI_GTK3_22_CITYDLG_MIN_XSIZE 256
658#define GUI_GTK3_22_CITYDLG_MAX_XSIZE 4096
659
660#define GUI_GTK3_22_CITYDLG_DEFAULT_YSIZE 512
661#define GUI_GTK3_22_CITYDLG_MIN_YSIZE 128
662#define GUI_GTK3_22_CITYDLG_MAX_YSIZE 4096
663
664#define GUI_GTK3_22_GOV_RANGE_MIN_DEFAULT -20
665#define GUI_GTK3_22_GOV_RANGE_MIN_MIN -100
666#define GUI_GTK3_22_GOV_RANGE_MIN_MAX 0
667
668#define GUI_GTK3_22_GOV_RANGE_MAX_DEFAULT 20
669#define GUI_GTK3_22_GOV_RANGE_MAX_MIN 0
670#define GUI_GTK3_22_GOV_RANGE_MAX_MAX 100
671
672/* gui-gtk4.0: [xy]size of the city dialog */
673#define GUI_GTK4_CITYDLG_DEFAULT_XSIZE 770
674#define GUI_GTK4_CITYDLG_MIN_XSIZE 256
675#define GUI_GTK4_CITYDLG_MAX_XSIZE 4096
676
677#define GUI_GTK4_CITYDLG_DEFAULT_YSIZE 512
678#define GUI_GTK4_CITYDLG_MIN_YSIZE 128
679#define GUI_GTK4_CITYDLG_MAX_YSIZE 4096
680
681#define GUI_GTK4_GOV_RANGE_MIN_DEFAULT -20
682#define GUI_GTK4_GOV_RANGE_MIN_MIN -100
683#define GUI_GTK4_GOV_RANGE_MIN_MAX 0
684
685#define GUI_GTK4_GOV_RANGE_MAX_DEFAULT 20
686#define GUI_GTK4_GOV_RANGE_MAX_MIN 0
687#define GUI_GTK4_GOV_RANGE_MAX_MAX 100
688
689/* gui-gtk-5.0: [xy]size of the city dialog */
690#define GUI_GTK5_CITYDLG_DEFAULT_XSIZE 770
691#define GUI_GTK5_CITYDLG_MIN_XSIZE 256
692#define GUI_GTK5_CITYDLG_MAX_XSIZE 4096
693
694#define GUI_GTK5_CITYDLG_DEFAULT_YSIZE 512
695#define GUI_GTK5_CITYDLG_MIN_YSIZE 128
696#define GUI_GTK5_CITYDLG_MAX_YSIZE 4096
697
698#define GUI_GTK5_GOV_RANGE_MIN_DEFAULT -20
699#define GUI_GTK5_GOV_RANGE_MIN_MIN -100
700#define GUI_GTK5_GOV_RANGE_MIN_MAX 0
701
702#define GUI_GTK5_GOV_RANGE_MAX_DEFAULT 20
703#define GUI_GTK5_GOV_RANGE_MAX_MIN 0
704#define GUI_GTK5_GOV_RANGE_MAX_MAX 100
705
706#define GUI_DEFAULT_MAPIMG_FILENAME "freeciv"
707
708bool video_mode_to_string(char *buf, size_t buf_len, struct video_mode *mode);
709bool string_to_video_mode(const char *buf, struct video_mode *mode);
710
711struct tileset;
712
713const char *tileset_name_for_topology(int topology_id);
714void option_set_default_ts(struct tileset *t);
715void fill_topo_ts_default(void);
716
717#ifdef __cplusplus
718}
719#endif /* __cplusplus */
720
721#endif /* FC__OPTIONS_H */
str
#define str
Definition astring.c:76
height
struct canvas int int struct sprite int int int int height
Definition canvas_g.h:44
width
struct canvas int int struct sprite int int int width
Definition canvas_g.h:44
incite_cost
char * incite_cost
Definition comments.c:74
events.h
fc_types.h
featured_text.h
name
const char * name
Definition inputfile.c:127
log_level
log_level
Definition log.h:28
mapimg.h
option_bitwise_mask
unsigned option_bitwise_mask(const struct option *poption)
Definition options.c:1131
fill_topo_ts_default
void fill_topo_ts_default(void)
Definition options.c:6863
resend_desired_settable_options
void resend_desired_settable_options(void)
Definition options.c:6004
option_str_values
const struct strvec * option_str_values(const struct option *poption)
Definition options.c:950
option_changed
void option_changed(struct option *poption)
Definition options.c:783
option_bitwise_def
unsigned option_bitwise_def(const struct option *poption)
Definition options.c:1120
option_enum_str_to_int
int option_enum_str_to_int(const struct option *poption, const char *str)
Definition options.c:978
option_int_min
int option_int_min(const struct option *poption)
Definition options.c:891
option_bool_def
bool option_bool_def(const struct option *poption)
Definition options.c:843
option_font_def
const char * option_font_def(const struct option *poption)
Definition options.c:1187
tileset_name_for_topology
const char * tileset_name_for_topology(int topology_id)
Definition options.c:6777
optset_option_first
struct option * optset_option_first(const struct option_set *poptset)
Definition options.c:482
option_save_log_callback
void(* option_save_log_callback)(enum log_level lvl, const char *msg,...)
Definition options.h:483
server_optset
const struct option_set * server_optset
Definition options.c:4281
option_reset
bool option_reset(struct option *poption)
Definition options.c:744
options_free
void options_free(void)
Definition options.c:6579
option_description
const char * option_description(const struct option *poption)
Definition options.c:673
GUI_POPUP_TECH_HELP_DISABLED
@ GUI_POPUP_TECH_HELP_DISABLED
Definition options.h:76
GUI_POPUP_TECH_HELP_RULESET
@ GUI_POPUP_TECH_HELP_RULESET
Definition options.h:77
GUI_POPUP_TECH_HELP_ENABLED
@ GUI_POPUP_TECH_HELP_ENABLED
Definition options.h:75
option_help_text
const char * option_help_text(const struct option *poption)
Definition options.c:683
option_enum_get_str
const char * option_enum_get_str(const struct option *poption)
Definition options.c:1027
option_color_get
struct ft_color option_color_get(const struct option *poption)
Definition options.c:1225
option_enum_get_int
int option_enum_get_int(const struct option *poption)
Definition options.c:1015
option_number
int option_number(const struct option *poption)
Definition options.c:653
option_category
int option_category(const struct option *poption)
Definition options.c:703
desired_settable_option_update
void desired_settable_option_update(const char *op_name, const char *op_value, bool allow_replace)
Definition options.c:5861
option_set_default_ts
void option_set_default_ts(struct tileset *t)
Definition options.c:6804
video_mode_construct
static struct video_mode video_mode_construct(int width, int height)
Definition options.h:57
option_str_set
bool option_str_set(struct option *poption, const char *str)
Definition options.c:961
client_optset
const struct option_set * client_optset
Definition options.c:1315
option_name
const char * option_name(const struct option *poption)
Definition options.c:663
option_int_get
int option_int_get(const struct option *poption)
Definition options.c:869
options_init
void options_init(void)
Definition options.c:6481
messages_where
int messages_where[]
Definition options.c:5301
option_enum_set_str
bool option_enum_set_str(struct option *poption, const char *str)
Definition options.c:1092
option_color_set
bool option_color_set(struct option *poption, struct ft_color color)
Definition options.c:1248
option_set_changed_callback
void option_set_changed_callback(struct option *poption, void(*callback)(struct option *))
Definition options.c:772
option_bool_set
bool option_bool_set(struct option *poption, bool val)
Definition options.c:854
option_is_changeable
bool option_is_changeable(const struct option *poption)
Definition options.c:724
option_video_mode_set
bool option_video_mode_set(struct option *poption, struct video_mode mode)
Definition options.c:1288
GUI_GTK_MSGCHAT_MERGED
@ GUI_GTK_MSGCHAT_MERGED
Definition options.h:69
GUI_GTK_MSGCHAT_SEPARATE
@ GUI_GTK_MSGCHAT_SEPARATE
Definition options.h:68
GUI_GTK_MSGCHAT_SPLIT
@ GUI_GTK_MSGCHAT_SPLIT
Definition options.h:67
option_set_gui_data
void option_set_gui_data(struct option *poption, void *data)
Definition options.c:802
option_str_get
const char * option_str_get(const struct option *poption)
Definition options.c:928
optset_option_by_number
struct option * optset_option_by_number(const struct option_set *poptset, int id)
Definition options.c:455
option_get_gui_data
void * option_get_gui_data(const struct option *poption)
Definition options.c:812
option_enum_values
const struct strvec * option_enum_values(const struct option *poption)
Definition options.c:1064
option_enum_set_int
bool option_enum_set_int(struct option *poption, int val)
Definition options.c:1075
option_bool_get
bool option_bool_get(const struct option *poption)
Definition options.c:832
optset_category_number
int optset_category_number(const struct option_set *poptset)
Definition options.c:492
server_options_init
void server_options_init(void)
Definition options.c:4425
option_type
enum option_type option_type(const struct option *poption)
Definition options.c:693
option_enum_int_to_str
const char * option_enum_int_to_str(const struct option *poption, int val)
Definition options.c:1000
options_dialogs_update
void options_dialogs_update(void)
Definition options.c:6098
option_get_cb_data
int option_get_cb_data(const struct option *poption)
Definition options.c:822
video_mode_to_string
bool video_mode_to_string(char *buf, size_t buf_len, struct video_mode *mode)
Definition options.c:6753
option_optset
const struct option_set * option_optset(const struct option *poption)
Definition options.c:643
server_options_free
void server_options_free(void)
Definition options.c:4494
option_video_mode_get
struct video_mode option_video_mode_get(const struct option *poption)
Definition options.c:1263
option_next
struct option * option_next(const struct option *poption)
Definition options.c:734
option_str_def
const char * option_str_def(const struct option *poption)
Definition options.c:939
optset_category_name
const char * optset_category_name(const struct option_set *poptset, int category)
Definition options.c:502
option_int_max
int option_int_max(const struct option *poption)
Definition options.c:902
option_enum_def_str
const char * option_enum_def_str(const struct option *poption)
Definition options.c:1051
options_load
void options_load(void)
Definition options.c:6159
option_font_set
bool option_font_set(struct option *poption, const char *font)
Definition options.c:1209
option_font_target
const char * option_font_target(const struct option *poption)
Definition options.c:1198
FONT_NAME_SIZE
#define FONT_NAME_SIZE
Definition options.h:32
options_save
void options_save(option_save_log_callback log_cb)
Definition options.c:6341
string_to_video_mode
bool string_to_video_mode(const char *buf, struct video_mode *mode)
Definition options.c:6761
option_bitwise_values
const struct strvec * option_bitwise_values(const struct option *poption)
Definition options.c:1148
gui_options
struct client_options gui_options
Definition options.c:71
option_bitwise_set
bool option_bitwise_set(struct option *poption, unsigned val)
Definition options.c:1159
option_font_get
const char * option_font_get(const struct option *poption)
Definition options.c:1176
desired_settable_options_update
void desired_settable_options_update(void)
Definition options.c:5793
VIDEO_MODE
#define VIDEO_MODE(ARG_width, ARG_height)
Definition options.h:51
option_color_def
struct ft_color option_color_def(const struct option *poption)
Definition options.c:1236
overview_layers
overview_layers
Definition options.h:80
OLAYER_COUNT
@ OLAYER_COUNT
Definition options.h:87
OLAYER_BORDERS
@ OLAYER_BORDERS
Definition options.h:83
OLAYER_BACKGROUND
@ OLAYER_BACKGROUND
Definition options.h:81
OLAYER_CITIES
@ OLAYER_CITIES
Definition options.h:86
OLAYER_BORDERS_ON_OCEAN
@ OLAYER_BORDERS_ON_OCEAN
Definition options.h:84
OLAYER_UNITS
@ OLAYER_UNITS
Definition options.h:85
OLAYER_RELIEF
@ OLAYER_RELIEF
Definition options.h:82
option_bitwise_get
unsigned option_bitwise_get(const struct option *poption)
Definition options.c:1109
option_enum_def_int
int option_enum_def_int(const struct option *poption)
Definition options.c:1039
optset_option_by_name
struct option * optset_option_by_name(const struct option_set *poptset, const char *name)
Definition options.c:466
options_dialogs_set
void options_dialogs_set(void)
Definition options.c:6126
option_int_set
bool option_int_set(struct option *poption, int val)
Definition options.c:913
option_category_name
const char * option_category_name(const struct option *poption)
Definition options.c:713
option_int_def
int option_int_def(const struct option *poption)
Definition options.c:880
option_video_mode_def
struct video_mode option_video_mode_def(const struct option *poption)
Definition options.c:1275
specenum_gen.h
callback
Definition gui_main.c:2404
canvas
Definition canvas.h:22
client_options
Definition options.h:107
client_options::gui_gtk4_governor_range_max
int gui_gtk4_governor_range_max
Definition options.h:357
client_options::voteinfo_bar_use
bool voteinfo_bar_use
Definition options.h:179
client_options::silent_when_not_in_focus
bool silent_when_not_in_focus
Definition options.h:192
client_options::gui_sdl2_do_cursor_animation
bool gui_sdl2_do_cursor_animation
Definition options.h:421
client_options::gui_gtk5_citydlg_ysize
int gui_gtk5_citydlg_ysize
Definition options.h:390
client_options::gui_gtk4_metaserver_tab_first
bool gui_gtk4_metaserver_tab_first
Definition options.h:347
client_options::gui_gtk4_show_task_icons
bool gui_gtk4_show_task_icons
Definition options.h:342
client_options::update_city_text_in_refresh_tile
bool update_city_text_in_refresh_tile
Definition options.h:172
client_options::gui_gtk4_citydlg_xsize
int gui_gtk4_citydlg_xsize
Definition options.h:353
client_options::gui_sdl2_font_size
int gui_sdl2_font_size
Definition options.h:426
client_options::gui_qt_fullscreen
bool gui_qt_fullscreen
Definition options.h:443
client_options::gui_gtk4_font_help_link
char gui_gtk4_font_help_link[FONT_NAME_SIZE]
Definition options.h:362
client_options::show_previous_turn_messages
bool show_previous_turn_messages
Definition options.h:163
client_options::gui_gtk3_22_migrated_from_gtk3
bool gui_gtk3_22_migrated_from_gtk3
Definition options.h:134
client_options::gui_gtk3_font_help_text
char gui_gtk3_font_help_text[FONT_NAME_SIZE]
Definition options.h:291
client_options::gui_gtk5_new_messages_go_to_top
bool gui_gtk5_new_messages_go_to_top
Definition options.h:381
client_options::draw_native
bool draw_native
Definition options.h:216
client_options::gui_gtk2_migrated_from_2_5
bool gui_gtk2_migrated_from_2_5
Definition options.h:139
client_options::gui_qt_default_theme_name
char gui_qt_default_theme_name[512]
Definition options.h:447
client_options::sound_bell_at_new_turn
bool sound_bell_at_new_turn
Definition options.h:151
client_options::gui_gtk2_font_small
char gui_gtk2_font_small[FONT_NAME_SIZE]
Definition options.h:259
client_options::gui_sdl3_use_color_cursors
bool gui_sdl3_use_color_cursors
Definition options.h:435
client_options::gui_gtk3_22_governor_range_max
int gui_gtk3_22_governor_range_max
Definition options.h:321
client_options::gui_gtk3_22_mouse_over_map_focus
bool gui_gtk3_22_mouse_over_map_focus
Definition options.h:315
client_options::autoaccept_tileset_suggestion
bool autoaccept_tileset_suggestion
Definition options.h:184
client_options::autoaccept_musicset_suggestion
bool autoaccept_musicset_suggestion
Definition options.h:186
client_options::reqtree_show_icons
bool reqtree_show_icons
Definition options.h:222
client_options::enable_cursor_changes
bool enable_cursor_changes
Definition options.h:174
client_options::gui_gtk2_font_chatline
char gui_gtk2_font_chatline[FONT_NAME_SIZE]
Definition options.h:257
client_options::gui_sdl3_font_size
int gui_sdl3_font_size
Definition options.h:439
client_options::gui_gtk5_font_spaceship_label
char gui_gtk5_font_spaceship_label[FONT_NAME_SIZE]
Definition options.h:396
client_options::gui_gtk5_font_small
char gui_gtk5_font_small[FONT_NAME_SIZE]
Definition options.h:402
client_options::auto_turn_done
bool auto_turn_done
Definition options.h:165
client_options::gui_sdl2_migrated_from_sdl
bool gui_sdl2_migrated_from_sdl
Definition options.h:137
client_options::gui_qt_allied_chat_only
bool gui_qt_allied_chat_only
Definition options.h:445
client_options::gui_gtk4_fullscreen
bool gui_gtk4_fullscreen
Definition options.h:339
client_options::gui_qt_font_city_names
char gui_qt_font_city_names[FONT_NAME_SIZE]
Definition options.h:453
client_options::gui_gtk5_font_help_label
char gui_gtk5_font_help_label[FONT_NAME_SIZE]
Definition options.h:397
client_options::gui_gtk3_22_font_help_text
char gui_gtk3_22_font_help_text[FONT_NAME_SIZE]
Definition options.h:327
client_options::gui_gtk2_enable_tabs
bool gui_gtk2_enable_tabs
Definition options.h:239
client_options::gui_gtk3_22_metaserver_tab_first
bool gui_gtk3_22_metaserver_tab_first
Definition options.h:311
client_options::gui_gtk3_22_governor_range_min
int gui_gtk3_22_governor_range_min
Definition options.h:320
client_options::gui_gtk2_citydlg_ysize
int gui_gtk2_citydlg_ysize
Definition options.h:249
client_options::gui_gtk4_governor_range_min
int gui_gtk4_governor_range_min
Definition options.h:356
client_options::gui_gtk4_font_chatline
char gui_gtk4_font_chatline[FONT_NAME_SIZE]
Definition options.h:364
client_options::gui_gtk5_map_scrollbars
bool gui_gtk5_map_scrollbars
Definition options.h:376
client_options::gui_qt_font_city_productions
char gui_qt_font_city_productions[FONT_NAME_SIZE]
Definition options.h:454
client_options::gui_gtk5_font_comment_label
char gui_gtk5_font_comment_label[FONT_NAME_SIZE]
Definition options.h:403
client_options::draw_specials
bool draw_specials
Definition options.h:208
client_options::smooth_center_slide_msec
int smooth_center_slide_msec
Definition options.h:153
client_options::gui_gtk3_22_message_chat_location
int gui_gtk3_22_message_chat_location
Definition options.h:313
client_options::draw_city_output
bool draw_city_output
Definition options.h:195
client_options::gui_gtk3_citydlg_xsize
int gui_gtk3_citydlg_xsize
Definition options.h:281
client_options::gui_gtk5_chatline_autocompletion
bool gui_gtk5_chatline_autocompletion
Definition options.h:388
client_options::sound_enable_menu_music
bool sound_enable_menu_music
Definition options.h:189
client_options::player_dlg_show_dead_players
bool player_dlg_show_dead_players
Definition options.h:221
client_options::gui_sdl2_font_city_names
char gui_sdl2_font_city_names[64]
Definition options.h:423
client_options::gui_sdl3_default_theme_name
char gui_sdl3_default_theme_name[512]
Definition options.h:430
client_options::default_tileset_hex_name
char default_tileset_hex_name[512]
Definition options.h:117
client_options::draw_city_names
bool draw_city_names
Definition options.h:197
client_options::gui_qt_show_relations_panel
bool gui_qt_show_relations_panel
Definition options.h:458
client_options::gui_gtk5_mouse_over_map_focus
bool gui_gtk5_mouse_over_map_focus
Definition options.h:387
client_options::draw_city_productions
bool draw_city_productions
Definition options.h:199
client_options::default_server_port
int default_server_port
Definition options.h:110
client_options::gui_gtk3_font_spaceship_label
char gui_gtk3_font_spaceship_label[FONT_NAME_SIZE]
Definition options.h:288
client_options::default_sound_set_name
char default_sound_set_name[512]
Definition options.h:119
client_options::voteinfo_bar_hide_when_not_player
bool voteinfo_bar_hide_when_not_player
Definition options.h:181
client_options::gui_gtk5_show_chat_message_time
bool gui_gtk5_show_chat_message_time
Definition options.h:380
client_options::use_prev_server
bool use_prev_server
Definition options.h:111
client_options::gui_gtk3_22_font_reqtree_text
char gui_gtk3_22_font_reqtree_text[FONT_NAME_SIZE]
Definition options.h:334
client_options::gui_gtk3_font_city_label
char gui_gtk3_font_city_label[FONT_NAME_SIZE]
Definition options.h:286
client_options::gui_gtk5_font_city_productions
char gui_gtk5_font_city_productions[FONT_NAME_SIZE]
Definition options.h:405
client_options::gui_sdl_fullscreen
bool gui_sdl_fullscreen
Definition options.h:410
client_options::smooth_move_unit_msec
int smooth_move_unit_msec
Definition options.h:152
client_options::gui_gtk3_small_display_layout
bool gui_gtk3_small_display_layout
Definition options.h:278
client_options::gui_qt_wakeup_text
char gui_qt_wakeup_text[512]
Definition options.h:457
client_options::gui_gtk3_22_small_display_layout
bool gui_gtk3_22_small_display_layout
Definition options.h:314
client_options::goto_into_unknown
bool goto_into_unknown
Definition options.h:161
client_options::draw_mines
bool draw_mines
Definition options.h:206
client_options::gui_gtk3_governor_range_max
int gui_gtk3_governor_range_max
Definition options.h:285
client_options::gui_gtk2_font_city_names
char gui_gtk2_font_city_names[FONT_NAME_SIZE]
Definition options.h:261
client_options::gui_gtk4_allied_chat_only
bool gui_gtk4_allied_chat_only
Definition options.h:348
client_options::gui_gtk4_font_beta_label
char gui_gtk4_font_beta_label[FONT_NAME_SIZE]
Definition options.h:365
client_options::gui_gtk3_22_font_beta_label
char gui_gtk3_22_font_beta_label[FONT_NAME_SIZE]
Definition options.h:329
client_options::default_tileset_iso_name
char default_tileset_iso_name[512]
Definition options.h:132
client_options::default_metaserver
char default_metaserver[512]
Definition options.h:114
client_options::gui_sdl2_screen
struct video_mode gui_sdl2_screen
Definition options.h:419
client_options::gui_gtk3_22_popup_tech_help
int gui_gtk3_22_popup_tech_help
Definition options.h:319
client_options::draw_borders
bool draw_borders
Definition options.h:215
client_options::draw_fortress_airbase
bool draw_fortress_airbase
Definition options.h:207
client_options::gui_gtk2_font_help_label
char gui_gtk2_font_help_label[FONT_NAME_SIZE]
Definition options.h:254
client_options::draw_city_buycost
bool draw_city_buycost
Definition options.h:200
client_options::draw_unit_stack_size
bool draw_unit_stack_size
Definition options.h:219
client_options::gui_sdl_use_color_cursors
bool gui_sdl_use_color_cursors
Definition options.h:413
client_options::mapimg_layer
bool mapimg_layer[MAPIMG_LAYER_COUNT]
Definition options.h:228
client_options::gui_gtk4_show_chat_message_time
bool gui_gtk4_show_chat_message_time
Definition options.h:344
client_options::gui_gtk3_22_show_chat_message_time
bool gui_gtk3_22_show_chat_message_time
Definition options.h:308
client_options::gui_gtk3_show_chat_message_time
bool gui_gtk3_show_chat_message_time
Definition options.h:272
client_options::gui_sdl3_do_cursor_animation
bool gui_sdl3_do_cursor_animation
Definition options.h:434
client_options::gui_gtk2_citydlg_xsize
int gui_gtk2_citydlg_xsize
Definition options.h:248
client_options::gui_gtk3_22_citydlg_ysize
int gui_gtk3_22_citydlg_ysize
Definition options.h:318
client_options::gui_gtk2_chatline_autocompletion
bool gui_gtk2_chatline_autocompletion
Definition options.h:247
client_options::gui_gtk4_small_display_layout
bool gui_gtk4_small_display_layout
Definition options.h:350
client_options::gui_sdl3_fullscreen
bool gui_sdl3_fullscreen
Definition options.h:431
client_options::followtag_override
char followtag_override[5112]
Definition options.h:115
client_options::gui_gtk3_metaserver_tab_first
bool gui_gtk3_metaserver_tab_first
Definition options.h:275
client_options::gui_gtk4_font_notify_label
char gui_gtk4_font_notify_label[FONT_NAME_SIZE]
Definition options.h:359
client_options::gui_gtk3_font_city_names
char gui_gtk3_font_city_names[FONT_NAME_SIZE]
Definition options.h:296
client_options::gui_gtk4_font_city_label
char gui_gtk4_font_city_label[FONT_NAME_SIZE]
Definition options.h:358
client_options::gui_sdl3_screen
struct video_mode gui_sdl3_screen
Definition options.h:432
client_options::gui_gtk3_22_font_comment_label
char gui_gtk3_22_font_comment_label[FONT_NAME_SIZE]
Definition options.h:331
client_options::popup_new_cities
bool popup_new_cities
Definition options.h:168
client_options::draw_irrigation
bool draw_irrigation
Definition options.h:205
client_options::gui_qt_font_help_text
char gui_qt_font_help_text[FONT_NAME_SIZE]
Definition options.h:451
client_options::gui_gtk4_show_message_window_buttons
bool gui_gtk4_show_message_window_buttons
Definition options.h:346
client_options::gui_gtk3_font_notify_label
char gui_gtk3_font_notify_label[FONT_NAME_SIZE]
Definition options.h:287
client_options::gui_gtk4_message_chat_location
int gui_gtk4_message_chat_location
Definition options.h:349
client_options::gui_gtk3_dialogs_on_top
bool gui_gtk3_dialogs_on_top
Definition options.h:269
client_options::gui_qt_show_techs_panel
bool gui_qt_show_techs_panel
Definition options.h:459
client_options::gui_gtk3_22_font_spaceship_label
char gui_gtk3_22_font_spaceship_label[FONT_NAME_SIZE]
Definition options.h:324
client_options::gui_gtk4_dialogs_on_top
bool gui_gtk4_dialogs_on_top
Definition options.h:341
client_options::default_tileset_name
char default_tileset_name[512]
Definition options.h:130
client_options::gui_sdl3_font_city_productions
char gui_sdl3_font_city_productions[64]
Definition options.h:437
client_options::gui_gtk5_font_reqtree_text
char gui_gtk5_font_reqtree_text[FONT_NAME_SIZE]
Definition options.h:406
client_options::gui_gtk5_migrated_from_gtk4
bool gui_gtk5_migrated_from_gtk4
Definition options.h:135
client_options::gui_gtk3_22_font_chatline
char gui_gtk3_22_font_chatline[FONT_NAME_SIZE]
Definition options.h:328
client_options::draw_terrain
bool draw_terrain
Definition options.h:202
client_options::draw_units
bool draw_units
Definition options.h:212
client_options::gui_sdl2_font_city_productions
char gui_sdl2_font_city_productions[64]
Definition options.h:424
client_options::auto_center_on_automated
bool auto_center_on_automated
Definition options.h:157
client_options::gui_gtk3_font_beta_label
char gui_gtk3_font_beta_label[FONT_NAME_SIZE]
Definition options.h:293
client_options::send_desired_settings
bool send_desired_settings
Definition options.h:113
client_options::default_tileset_overhead_name
char default_tileset_overhead_name[512]
Definition options.h:131
client_options::gui_gtk2_font_reqtree_text
char gui_gtk2_font_reqtree_text[FONT_NAME_SIZE]
Definition options.h:263
client_options::gui_gtk2_font_help_text
char gui_gtk2_font_help_text[FONT_NAME_SIZE]
Definition options.h:256
client_options::gui_gtk2_map_scrollbars
bool gui_gtk2_map_scrollbars
Definition options.h:236
client_options::auto_center_each_turn
bool auto_center_each_turn
Definition options.h:159
client_options::gui_sdl2_swrenderer
bool gui_sdl2_swrenderer
Definition options.h:420
client_options::gui_gtk3_allied_chat_only
bool gui_gtk3_allied_chat_only
Definition options.h:276
client_options::gui_gtk3_font_reqtree_text
char gui_gtk3_font_reqtree_text[FONT_NAME_SIZE]
Definition options.h:298
client_options::gui_gtk4_font_city_names
char gui_gtk4_font_city_names[FONT_NAME_SIZE]
Definition options.h:368
client_options::gui_gtk3_22_font_city_names
char gui_gtk3_22_font_city_names[FONT_NAME_SIZE]
Definition options.h:332
client_options::gui_gtk4_popup_tech_help
int gui_gtk4_popup_tech_help
Definition options.h:355
client_options::gui_qt_show_preview
bool gui_qt_show_preview
Definition options.h:444
client_options::gui_gtk3_migrated_from_2_5
bool gui_gtk3_migrated_from_2_5
Definition options.h:140
client_options::gui_gtk5_small_display_layout
bool gui_gtk5_small_display_layout
Definition options.h:386
client_options::default_topology
int default_topology
Definition options.h:123
client_options::draw_fog_of_war
bool draw_fog_of_war
Definition options.h:214
client_options::gui_sdl3_font_city_names
char gui_sdl3_font_city_names[64]
Definition options.h:436
client_options::gui_gtk5_fullscreen
bool gui_gtk5_fullscreen
Definition options.h:375
client_options::gui_sdl_screen
struct video_mode gui_sdl_screen
Definition options.h:411
client_options::gui_gtk3_22_allied_chat_only
bool gui_gtk3_22_allied_chat_only
Definition options.h:312
client_options::default_server_host
char default_server_host[512]
Definition options.h:109
client_options::gui_gtk3_22_font_small
char gui_gtk3_22_font_small[FONT_NAME_SIZE]
Definition options.h:330
client_options::highlight_our_names
struct ft_color highlight_our_names
Definition options.h:177
client_options::gui_gtk3_22_show_message_window_buttons
bool gui_gtk3_22_show_message_window_buttons
Definition options.h:310
client_options::gui_sdl_do_cursor_animation
bool gui_sdl_do_cursor_animation
Definition options.h:412
client_options::gui_sdl3_use_theme_font_size
bool gui_sdl3_use_theme_font_size
Definition options.h:438
client_options::gui_gtk3_mouse_over_map_focus
bool gui_gtk3_mouse_over_map_focus
Definition options.h:279
client_options::draw_city_trade_routes
bool draw_city_trade_routes
Definition options.h:201
client_options::gui_qt_svgflags
bool gui_qt_svgflags
Definition options.h:461
client_options::gui_gtk3_22_font_notify_label
char gui_gtk3_22_font_notify_label[FONT_NAME_SIZE]
Definition options.h:323
client_options::gui_gtk3_22_new_messages_go_to_top
bool gui_gtk3_22_new_messages_go_to_top
Definition options.h:309
client_options::gui_gtk5_font_city_names
char gui_gtk5_font_city_names[FONT_NAME_SIZE]
Definition options.h:404
client_options::gui_gtk3_show_task_icons
bool gui_gtk3_show_task_icons
Definition options.h:270
client_options::gui_gtk3_22_font_help_link
char gui_gtk3_22_font_help_link[FONT_NAME_SIZE]
Definition options.h:326
client_options::gui_gtk4_mouse_over_map_focus
bool gui_gtk4_mouse_over_map_focus
Definition options.h:351
client_options::gui_gtk2_font_notify_label
char gui_gtk2_font_notify_label[FONT_NAME_SIZE]
Definition options.h:252
client_options::default_chat_logfile
char default_chat_logfile[512]
Definition options.h:122
client_options::unit_selection_clears_orders
bool unit_selection_clears_orders
Definition options.h:176
client_options::gui_qt_font_default
char gui_qt_font_default[FONT_NAME_SIZE]
Definition options.h:448
client_options::gui_qt_font_reqtree_text
char gui_qt_font_reqtree_text[FONT_NAME_SIZE]
Definition options.h:455
client_options::zoom_set
bool zoom_set
Definition options.h:231
client_options::gui_gtk4_font_city_productions
char gui_gtk4_font_city_productions[FONT_NAME_SIZE]
Definition options.h:369
client_options::heartbeat_enabled
bool heartbeat_enabled
Definition options.h:112
client_options::voteinfo_bar_new_at_front
bool voteinfo_bar_new_at_front
Definition options.h:182
client_options::gui_gtk3_22_chatline_autocompletion
bool gui_gtk3_22_chatline_autocompletion
Definition options.h:316
client_options::draw_unit_shields
bool draw_unit_shields
Definition options.h:218
client_options::gui_gtk5_enable_tabs
bool gui_gtk5_enable_tabs
Definition options.h:379
client_options::gui_gtk5_metaserver_tab_first
bool gui_gtk5_metaserver_tab_first
Definition options.h:383
client_options::center_when_popup_city
bool center_when_popup_city
Definition options.h:162
client_options::gui_sdl2_default_theme_name
char gui_sdl2_default_theme_name[512]
Definition options.h:417
client_options::gui_gtk2_metaserver_tab_first
bool gui_gtk2_metaserver_tab_first
Definition options.h:244
client_options::default_tileset_square_name
char default_tileset_square_name[512]
Definition options.h:116
client_options::wakeup_focus
bool wakeup_focus
Definition options.h:160
client_options::reqtree_curved_lines
bool reqtree_curved_lines
Definition options.h:223
client_options::gui_gtk3_new_messages_go_to_top
bool gui_gtk3_new_messages_go_to_top
Definition options.h:273
client_options::draw_cities
bool draw_cities
Definition options.h:211
client_options::gui_gtk3_22_dialogs_on_top
bool gui_gtk3_22_dialogs_on_top
Definition options.h:305
client_options::gui_qt_font_help_label
char gui_qt_font_help_label[FONT_NAME_SIZE]
Definition options.h:450
client_options::gui_gtk3_enable_tabs
bool gui_gtk3_enable_tabs
Definition options.h:271
client_options::gui_gtk5_allied_chat_only
bool gui_gtk5_allied_chat_only
Definition options.h:384
client_options::gui_gtk3_font_help_label
char gui_gtk3_font_help_label[FONT_NAME_SIZE]
Definition options.h:289
client_options::gui_gtk3_font_city_productions
char gui_gtk3_font_city_productions[FONT_NAME_SIZE]
Definition options.h:297
client_options::save_options_on_exit
bool save_options_on_exit
Definition options.h:125
client_options::gui_sdl2_fullscreen
bool gui_sdl2_fullscreen
Definition options.h:418
client_options::gui_qt_show_titlebar
bool gui_qt_show_titlebar
Definition options.h:456
client_options::sound_effects_volume
int sound_effects_volume
Definition options.h:191
client_options::gui_gtk3_22_fullscreen
bool gui_gtk3_22_fullscreen
Definition options.h:303
client_options::gui_gtk3_22_enable_tabs
bool gui_gtk3_22_enable_tabs
Definition options.h:307
client_options::gui_gtk2_show_chat_message_time
bool gui_gtk2_show_chat_message_time
Definition options.h:241
client_options::gui_gtk3_font_chatline
char gui_gtk3_font_chatline[FONT_NAME_SIZE]
Definition options.h:292
client_options::sound_enable_effects
bool sound_enable_effects
Definition options.h:188
client_options::draw_map_grid
bool draw_map_grid
Definition options.h:196
client_options::autoaccept_soundset_suggestion
bool autoaccept_soundset_suggestion
Definition options.h:185
client_options::ask_city_name
bool ask_city_name
Definition options.h:167
client_options::gui_gtk3_22_font_help_label
char gui_gtk3_22_font_help_label[FONT_NAME_SIZE]
Definition options.h:325
client_options::draw_city_growth
bool draw_city_growth
Definition options.h:198
client_options::mapimg_zoom
int mapimg_zoom
Definition options.h:227
client_options::ai_manual_turn_done
bool ai_manual_turn_done
Definition options.h:155
client_options::gui_sdl2_default_screen_size_set
bool gui_sdl2_default_screen_size_set
Definition options.h:143
client_options::gui_gtk3_22_map_scrollbars
bool gui_gtk3_22_map_scrollbars
Definition options.h:304
client_options::gui_gtk2_font_city_label
char gui_gtk2_font_city_label[FONT_NAME_SIZE]
Definition options.h:251
client_options::gui_sdl3_default_screen_size_set
bool gui_sdl3_default_screen_size_set
Definition options.h:144
client_options::smooth_combat_step_msec
int smooth_combat_step_msec
Definition options.h:154
client_options::draw_huts
bool draw_huts
Definition options.h:209
client_options::gui_gtk5_font_help_text
char gui_gtk5_font_help_text[FONT_NAME_SIZE]
Definition options.h:399
client_options::draw_focus_unit
bool draw_focus_unit
Definition options.h:213
client_options::first_boot
bool first_boot
Definition options.h:128
client_options::gui_sdl3_swrenderer
bool gui_sdl3_swrenderer
Definition options.h:433
client_options::gui_qt_font_chatline
char gui_qt_font_chatline[FONT_NAME_SIZE]
Definition options.h:452
client_options::gui_gtk5_governor_range_max
int gui_gtk5_governor_range_max
Definition options.h:393
client_options::gui_qt_sidebar_left
bool gui_qt_sidebar_left
Definition options.h:446
client_options::zoom_default_level
float zoom_default_level
Definition options.h:232
client_options::gui_gtk2_allied_chat_only
bool gui_gtk2_allied_chat_only
Definition options.h:245
client_options::default_tileset_isohex_name
char default_tileset_isohex_name[512]
Definition options.h:118
client_options::gui_gtk2_font_comment_label
char gui_gtk2_font_comment_label[FONT_NAME_SIZE]
Definition options.h:260
client_options::concise_city_production
bool concise_city_production
Definition options.h:164
client_options::gui_qt_migrated_from_2_5
bool gui_qt_migrated_from_2_5
Definition options.h:141
client_options::gui_gtk4_font_spaceship_label
char gui_gtk4_font_spaceship_label[FONT_NAME_SIZE]
Definition options.h:360
client_options::gui_gtk4_font_small
char gui_gtk4_font_small[FONT_NAME_SIZE]
Definition options.h:366
client_options::gui_gtk5_font_beta_label
char gui_gtk5_font_beta_label[FONT_NAME_SIZE]
Definition options.h:401
client_options::gui_gtk3_map_scrollbars
bool gui_gtk3_map_scrollbars
Definition options.h:268
client_options::draw_paths
bool draw_paths
Definition options.h:204
client_options::voteinfo_bar_always_show
bool voteinfo_bar_always_show
Definition options.h:180
client_options::gui_gtk5_dialogs_on_top
bool gui_gtk5_dialogs_on_top
Definition options.h:377
client_options::draw_city_outlines
bool draw_city_outlines
Definition options.h:194
client_options::mapimg_format
char mapimg_format[64]
Definition options.h:226
client_options::gui_gtk3_show_message_window_buttons
bool gui_gtk3_show_message_window_buttons
Definition options.h:274
client_options::mapimg_filename
char mapimg_filename[512]
Definition options.h:229
client_options::gui_gtk2_dialogs_on_top
bool gui_gtk2_dialogs_on_top
Definition options.h:237
client_options::gui_gtk3_popup_tech_help
int gui_gtk3_popup_tech_help
Definition options.h:283
client_options::gui_gtk4_chatline_autocompletion
bool gui_gtk4_chatline_autocompletion
Definition options.h:352
client_options::gui_sdl2_use_theme_font_size
bool gui_sdl2_use_theme_font_size
Definition options.h:425
client_options::default_music_set_name
char default_music_set_name[512]
Definition options.h:120
client_options::gui_gtk4_font_comment_label
char gui_gtk4_font_comment_label[FONT_NAME_SIZE]
Definition options.h:367
client_options::gui_gtk3_message_chat_location
int gui_gtk3_message_chat_location
Definition options.h:277
client_options::gui_gtk3_22_show_task_icons
bool gui_gtk3_22_show_task_icons
Definition options.h:306
client_options::draw_coastline
bool draw_coastline
Definition options.h:203
client_options::gui_gtk3_22_font_city_productions
char gui_gtk3_22_font_city_productions[FONT_NAME_SIZE]
Definition options.h:333
client_options::gui_gtk3_font_help_link
char gui_gtk3_font_help_link[FONT_NAME_SIZE]
Definition options.h:290
client_options::gui_gtk3_chatline_autocompletion
bool gui_gtk3_chatline_autocompletion
Definition options.h:280
client_options::popup_actor_arrival
bool popup_actor_arrival
Definition options.h:169
client_options::gui_gtk2_new_messages_go_to_top
bool gui_gtk2_new_messages_go_to_top
Definition options.h:242
client_options::gui_gtk4_enable_tabs
bool gui_gtk4_enable_tabs
Definition options.h:343
client_options::gui_sdl3_migrated_from_sdl2
bool gui_sdl3_migrated_from_sdl2
Definition options.h:138
client_options::gui_qt_show_wonders_panel
bool gui_qt_show_wonders_panel
Definition options.h:460
client_options::gui_gtk4_map_scrollbars
bool gui_gtk4_map_scrollbars
Definition options.h:340
client_options::gui_gtk3_font_small
char gui_gtk3_font_small[FONT_NAME_SIZE]
Definition options.h:294
client_options::gui_gtk3_fullscreen
bool gui_gtk3_fullscreen
Definition options.h:267
client_options::draw_full_citybar
bool draw_full_citybar
Definition options.h:217
client_options::gui_gtk5_font_help_link
char gui_gtk5_font_help_link[FONT_NAME_SIZE]
Definition options.h:398
client_options::sound_enable_game_music
bool sound_enable_game_music
Definition options.h:190
client_options::gui_gtk5_show_message_window_buttons
bool gui_gtk5_show_message_window_buttons
Definition options.h:382
client_options::gui_gtk5_citydlg_xsize
int gui_gtk5_citydlg_xsize
Definition options.h:389
client_options::gui_gtk5_font_chatline
char gui_gtk5_font_chatline[FONT_NAME_SIZE]
Definition options.h:400
client_options::gui_gtk2_font_city_productions
char gui_gtk2_font_city_productions[FONT_NAME_SIZE]
Definition options.h:262
client_options::gui_gtk4_new_messages_go_to_top
bool gui_gtk4_new_messages_go_to_top
Definition options.h:345
client_options::auto_center_on_combat
bool auto_center_on_combat
Definition options.h:158
client_options::meta_accelerators
bool meta_accelerators
Definition options.h:166
client_options::draw_pollution
bool draw_pollution
Definition options.h:210
client_options::gui_gtk5_governor_range_min
int gui_gtk5_governor_range_min
Definition options.h:392
client_options::gui_gtk2_font_spaceship_label
char gui_gtk2_font_spaceship_label[FONT_NAME_SIZE]
Definition options.h:253
client_options::separate_unit_selection
bool separate_unit_selection
Definition options.h:175
client_options::gui_gtk5_font_notify_label
char gui_gtk5_font_notify_label[FONT_NAME_SIZE]
Definition options.h:395
client_options::gui_gtk5_message_chat_location
int gui_gtk5_message_chat_location
Definition options.h:385
client_options::gui_gtk5_default_theme_name
char gui_gtk5_default_theme_name[512]
Definition options.h:374
client_options::migrate_fullscreen
bool migrate_fullscreen
Definition options.h:146
client_options::gui_qt_default_fonts_set
bool gui_qt_default_fonts_set
Definition options.h:142
client_options::default_sound_plugin_name
char default_sound_plugin_name[512]
Definition options.h:121
client_options::gui_gtk4_default_theme_name
char gui_gtk4_default_theme_name[512]
Definition options.h:338
client_options::gui_gtk3_governor_range_min
int gui_gtk3_governor_range_min
Definition options.h:284
client_options::gui_gtk2_font_help_link
char gui_gtk2_font_help_link[FONT_NAME_SIZE]
Definition options.h:255
client_options::gui_qt_font_notify_label
char gui_qt_font_notify_label[FONT_NAME_SIZE]
Definition options.h:449
client_options::auto_center_on_unit
bool auto_center_on_unit
Definition options.h:156
client_options::gui_sdl2_use_color_cursors
bool gui_sdl2_use_color_cursors
Definition options.h:422
client_options::gui_gtk2_show_message_window_buttons
bool gui_gtk2_show_message_window_buttons
Definition options.h:243
client_options::gui_gtk3_22_default_theme_name
char gui_gtk3_22_default_theme_name[512]
Definition options.h:302
client_options::gui_gtk2_show_task_icons
bool gui_gtk2_show_task_icons
Definition options.h:238
client_options::gui_gtk2_font_beta_label
char gui_gtk2_font_beta_label[FONT_NAME_SIZE]
Definition options.h:258
client_options::gui_gtk4_font_reqtree_text
char gui_gtk4_font_reqtree_text[FONT_NAME_SIZE]
Definition options.h:370
client_options::popup_attack_actions
bool popup_attack_actions
Definition options.h:170
client_options::gui_gtk5_popup_tech_help
int gui_gtk5_popup_tech_help
Definition options.h:391
client_options::gui_gtk5_show_task_icons
bool gui_gtk5_show_task_icons
Definition options.h:378
client_options::gui_gtk4_citydlg_ysize
int gui_gtk4_citydlg_ysize
Definition options.h:354
client_options::gui_gtk3_22_citydlg_xsize
int gui_gtk3_22_citydlg_xsize
Definition options.h:317
client_options::solid_color_behind_units
bool solid_color_behind_units
Definition options.h:150
client_options::gui_gtk3_22_font_city_label
char gui_gtk3_22_font_city_label[FONT_NAME_SIZE]
Definition options.h:322
client_options::gui_gtk3_migrated_from_gtk2
bool gui_gtk3_migrated_from_gtk2
Definition options.h:133
client_options::popup_last_move_to_allied
bool popup_last_move_to_allied
Definition options.h:171
client_options::gui_gtk2_mouse_over_map_focus
bool gui_gtk2_mouse_over_map_focus
Definition options.h:246
client_options::keyboardless_goto
bool keyboardless_goto
Definition options.h:173
client_options::gui_gtk2_popup_tech_help
int gui_gtk2_popup_tech_help
Definition options.h:250
client_options::gui_gtk5_font_city_label
char gui_gtk5_font_city_label[FONT_NAME_SIZE]
Definition options.h:394
client_options::gui_gtk3_font_comment_label
char gui_gtk3_font_comment_label[FONT_NAME_SIZE]
Definition options.h:295
client_options::gui_gtk4_font_help_text
char gui_gtk4_font_help_text[FONT_NAME_SIZE]
Definition options.h:363
client_options::default_user_name
char default_user_name[512]
Definition options.h:108
client_options::gui_gtk4_font_help_label
char gui_gtk4_font_help_label[FONT_NAME_SIZE]
Definition options.h:361
client_options::gui_gtk4_migrated_from_gtk3_22
bool gui_gtk4_migrated_from_gtk3_22
Definition options.h:136
client_options::gui_gtk3_citydlg_ysize
int gui_gtk3_citydlg_ysize
Definition options.h:282
client_options::gui_gtk2_better_fog
bool gui_gtk2_better_fog
Definition options.h:240
color
Definition colors.h:21
ft_color
Definition featured_text.h:141
option_set
Definition options.c:444
option
Definition options.c:514
option::poptset
const struct option_set * poptset
Definition options.c:516
overview
Definition options.h:91
overview::map_y0
double map_y0
Definition options.h:93
overview::map_x0
double map_x0
Definition options.h:93
overview::fog
bool fog
Definition options.h:102
overview::layers
bool layers[OLAYER_COUNT]
Definition options.h:103
overview::map
struct canvas * map
Definition options.h:97
overview::width
int width
Definition options.h:94
overview::window
struct canvas * window
Definition options.h:100
overview::height
int height
Definition options.h:94
strvec
Definition string_vector.c:29
tileset
Definition tilespec.c:481
video_mode
Definition options.h:46
video_mode::height
int height
Definition options.h:48
video_mode::width
int width
Definition options.h:47
support.h