Freeciv-3.3
|
#include "client_main.h"
#include "editgui_g.h"
#include "options.h"
#include "chatline_g.h"
#include "citydlg_g.h"
#include "connectdlg_g.h"
#include "dialogs_g.h"
#include "diplodlg_g.h"
#include "graphics_g.h"
#include "gui_main_g.h"
#include "mapview_g.h"
#include "repodlgs_g.h"
#include "themes_g.h"
#include "gui_interface.h"
Go to the source code of this file.
Variables | |
static struct gui_funcs | funcs |
Call add_idle_callback callback
Definition at line 414 of file gui_interface.c.
Call add_net_input callback
Definition at line 382 of file gui_interface.c.
void canvas_copy | ( | struct canvas * | dest, |
struct canvas * | src, | ||
int | src_x, | ||
int | src_y, | ||
int | dest_x, | ||
int | dest_y, | ||
int | width, | ||
int | height | ||
) |
Call canvas_copy callback
Definition at line 233 of file gui_interface.c.
Call canvas_create callback
Definition at line 193 of file gui_interface.c.
void canvas_fill_sprite_area | ( | struct canvas * | pcanvas, |
struct sprite * | psprite, | ||
struct color * | pcolor, | ||
int | canvas_x, | ||
int | canvas_y | ||
) |
Call canvas_fill_sprite_area callback
Definition at line 300 of file gui_interface.c.
Call canvas_free callback
Definition at line 201 of file gui_interface.c.
Call canvas_mapview_init callback
Definition at line 225 of file gui_interface.c.
void canvas_put_curved_line | ( | struct canvas * | pcanvas, |
struct color * | pcolor, | ||
enum line_type | ltype, | ||
int | start_x, | ||
int | start_y, | ||
int | dx, | ||
int | dy | ||
) |
Call canvas_put_curved_line callback
Definition at line 320 of file gui_interface.c.
void canvas_put_line | ( | struct canvas * | pcanvas, |
struct color * | pcolor, | ||
enum line_type | ltype, | ||
int | start_x, | ||
int | start_y, | ||
int | dx, | ||
int | dy | ||
) |
Call canvas_put_line callback
Definition at line 310 of file gui_interface.c.
void canvas_put_rectangle | ( | struct canvas * | pcanvas, |
struct color * | pcolor, | ||
int | canvas_x, | ||
int | canvas_y, | ||
int | width, | ||
int | height | ||
) |
Call canvas_put_rectangle callback
Definition at line 289 of file gui_interface.c.
void canvas_put_sprite | ( | struct canvas * | pcanvas, |
int | canvas_x, | ||
int | canvas_y, | ||
struct sprite * | psprite, | ||
int | offset_x, | ||
int | offset_y, | ||
int | width, | ||
int | height | ||
) |
Call canvas_put_sprite callback
Definition at line 243 of file gui_interface.c.
void canvas_put_sprite_fogged | ( | struct canvas * | pcanvas, |
int | canvas_x, | ||
int | canvas_y, | ||
struct sprite * | psprite, | ||
bool | fog, | ||
int | fog_x, | ||
int | fog_y | ||
) |
Call canvas_put_sprite_fogged callback
Definition at line 277 of file gui_interface.c.
void canvas_put_sprite_full | ( | struct canvas * | pcanvas, |
int | canvas_x, | ||
int | canvas_y, | ||
struct sprite * | psprite | ||
) |
Call canvas_put_sprite_full callback
Definition at line 255 of file gui_interface.c.
void canvas_put_sprite_full_scaled | ( | struct canvas * | pcanvas, |
int | canvas_x, | ||
int | canvas_y, | ||
int | canvas_w, | ||
int | canvas_h, | ||
struct sprite * | psprite | ||
) |
Call canvas_put_sprite_full_scaled callback
Definition at line 265 of file gui_interface.c.
void canvas_put_text | ( | struct canvas * | pcanvas, |
int | canvas_x, | ||
int | canvas_y, | ||
enum client_font | font, | ||
struct color * | pcolor, | ||
const char * | text | ||
) |
Call canvas_put_text callback
Definition at line 340 of file gui_interface.c.
Call canvas_set_zoom callback
Definition at line 209 of file gui_interface.c.
Call city_dialog_is_open callback
Definition at line 602 of file gui_interface.c.
Call close_connection_dialog callback
Definition at line 406 of file gui_interface.c.
Call color_alloc callback
Definition at line 177 of file gui_interface.c.
Call color_free callback
Definition at line 185 of file gui_interface.c.
Call create_sprite callback
Definition at line 141 of file gui_interface.c.
struct sprite * crop_sprite | ( | struct sprite * | source, |
int | x, | ||
int | y, | ||
int | width, | ||
int | height, | ||
struct sprite * | mask, | ||
int | mask_offset_x, | ||
int | mask_offset_y, | ||
float | scale, | ||
bool | smooth | ||
) |
Call crop_sprite callback
Definition at line 157 of file gui_interface.c.
Call editgui_notify_object_changed callback
Definition at line 494 of file gui_interface.c.
Call editgui_notify_object_created callback
Definition at line 486 of file gui_interface.c.
Call editgui_popdown_all callback
Definition at line 518 of file gui_interface.c.
Call editgui_popup_properties callback
Definition at line 502 of file gui_interface.c.
Call editgui_refresh callback
Definition at line 478 of file gui_interface.c.
Call editgui_tileset_changed callback
Definition at line 510 of file gui_interface.c.
void endgame_report_dialog_player | ( | const struct packet_endgame_player * | packet | ) |
Call endgame_report_dialog_player callback
Definition at line 765 of file gui_interface.c.
void endgame_report_dialog_start | ( | const struct packet_endgame_report * | packet | ) |
Call endgame_report_dialog_start callback
Definition at line 757 of file gui_interface.c.
Call free_sprite callback
Definition at line 169 of file gui_interface.c.
enum client_pages get_current_client_page | ( | void | ) |
Call get_current_client_page callback
Definition at line 438 of file gui_interface.c.
Return gui_funcs table. Used by gui side to get table for filling with function addresses.
Definition at line 43 of file gui_interface.c.
Referenced by setup_gui_funcs(), and setup_gui_funcs().
Call get_gui_specific_themes_directories callback
Definition at line 642 of file gui_interface.c.
Call get_gui_type callback
Definition at line 93 of file gui_interface.c.
Call get_sprite_dimensions callback
Definition at line 149 of file gui_interface.c.
Call get_text_size callback
Definition at line 331 of file gui_interface.c.
Call get_usable_themes_in_directory callback
Definition at line 650 of file gui_interface.c.
Call gui_clear_theme callback
Definition at line 634 of file gui_interface.c.
Call gui_init_meeting callback
Definition at line 658 of file gui_interface.c.
Call gui_load_theme callback
Definition at line 626 of file gui_interface.c.
Call gui_prepare_clause_updt callback
Definition at line 676 of file gui_interface.c.
Call gui_recv_accept_treaty callback
Definition at line 700 of file gui_interface.c.
void gui_recv_cancel_meeting | ( | struct treaty * | ptreaty, |
struct player * | they, | ||
struct player * | initiator | ||
) |
Call gui_recv_cancel_meeting callback
Definition at line 667 of file gui_interface.c.
Call gui_recv_create_clause callback
Definition at line 684 of file gui_interface.c.
Call gui_recv_remove_clause callback
Definition at line 692 of file gui_interface.c.
Call gui_update_font callback
Definition at line 470 of file gui_interface.c.
Call handmade_scenario_warning callback
Definition at line 586 of file gui_interface.c.
Call has_zoom_support callback
Definition at line 217 of file gui_interface.c.
Call insert_client_build_info callback
Definition at line 101 of file gui_interface.c.
Call is_view_supported callback
Definition at line 109 of file gui_interface.c.
Call load_gfxfile callback
Definition at line 125 of file gui_interface.c.
Call load_gfxnumber callback
Definition at line 133 of file gui_interface.c.
Call map_canvas_size_refresh callback
Definition at line 350 of file gui_interface.c.
Call options_extra_init callback
Definition at line 366 of file gui_interface.c.
Call popdown_all_city_dialogs callback
Definition at line 578 of file gui_interface.c.
Call popdown_city_dialog callback
Definition at line 570 of file gui_interface.c.
void popup_combat_info | ( | int | attacker_unit_id, |
int | defender_unit_id, | ||
int | attacker_hp, | ||
int | defender_hp, | ||
bool | make_att_veteran, | ||
bool | make_def_veteran | ||
) |
Call popup_combat_info callback
Definition at line 526 of file gui_interface.c.
Call popup_image callback
Definition at line 773 of file gui_interface.c.
Call real_city_dialog_popup callback
Definition at line 554 of file gui_interface.c.
Call real_city_dialog_refresh callback
Definition at line 562 of file gui_interface.c.
Call real_conn_list_dialog_update callback
Definition at line 398 of file gui_interface.c.
Call real_economy_report_dialog_update callback
Definition at line 741 of file gui_interface.c.
Call real_focus_units_changed callback
Definition at line 454 of file gui_interface.c.
void real_output_window_append | ( | const char * | astring, |
const struct text_tag_list * | tags, | ||
int | conn_id | ||
) |
Call real_output_window_append callback
Definition at line 83 of file gui_interface.c.
Call real_science_report_dialog_update callback
Definition at line 717 of file gui_interface.c.
void real_set_client_page | ( | enum client_pages | page | ) |
Call real_set_client_page callback
Definition at line 430 of file gui_interface.c.
Call real_units_report_dialog_update callback
Definition at line 749 of file gui_interface.c.
Call refresh_unit_city_dialogs callback
Definition at line 594 of file gui_interface.c.
Call remove_net_input callback
Definition at line 390 of file gui_interface.c.
void request_action_confirmation | ( | const char * | expl, |
struct act_confirmation_data * | data | ||
) |
Call request_action_confirmation callback
Definition at line 708 of file gui_interface.c.
Call request_transport callback
Definition at line 610 of file gui_interface.c.
Call science_report_dialog_popup callback
Definition at line 733 of file gui_interface.c.
Call science_report_dialog_redraw callback
Definition at line 725 of file gui_interface.c.
Call server_connect callback
Definition at line 374 of file gui_interface.c.
Call set_rulesets callback
Definition at line 358 of file gui_interface.c.
Call set_unit_icon callback
Definition at line 446 of file gui_interface.c.
Call set_unit_icons_more_arrow callback
Definition at line 462 of file gui_interface.c.
Call setup_gui_properties callback
Definition at line 781 of file gui_interface.c.
Call sound_bell callback
Definition at line 422 of file gui_interface.c.
Call start_turn callback
Definition at line 546 of file gui_interface.c.
Call tileset_type_set callback
Definition at line 117 of file gui_interface.c.
Call ui_exit callback
Definition at line 67 of file gui_interface.c.
Call ui_init callback
Definition at line 51 of file gui_interface.c.
Call ui_main callback
Definition at line 59 of file gui_interface.c.
Call update_infra_dialog callback
Definition at line 618 of file gui_interface.c.
Call update_timeout_label callback
Definition at line 538 of file gui_interface.c.
Call version_message callback
Definition at line 75 of file gui_interface.c.
Definition at line 37 of file gui_interface.c.
Referenced by add_idle_callback(), add_net_input(), canvas_copy(), canvas_create(), canvas_fill_sprite_area(), canvas_free(), canvas_mapview_init(), canvas_put_curved_line(), canvas_put_line(), canvas_put_rectangle(), canvas_put_sprite(), canvas_put_sprite_fogged(), canvas_put_sprite_full(), canvas_put_sprite_full_scaled(), canvas_put_text(), canvas_set_zoom(), city_dialog_is_open(), close_connection_dialog(), color_alloc(), color_free(), create_sprite(), crop_sprite(), editgui_notify_object_changed(), editgui_notify_object_created(), editgui_popdown_all(), editgui_popup_properties(), editgui_refresh(), editgui_tileset_changed(), endgame_report_dialog_player(), endgame_report_dialog_start(), fc_interface_init_client(), fc_interface_init_server(), fc_interface_init_tool(), free_sprite(), get_current_client_page(), get_gui_funcs(), get_gui_specific_themes_directories(), get_gui_type(), get_sprite_dimensions(), get_text_size(), get_usable_themes_in_directory(), gui_clear_theme(), gui_init_meeting(), gui_load_theme(), gui_prepare_clause_updt(), gui_recv_accept_treaty(), gui_recv_cancel_meeting(), gui_recv_create_clause(), gui_recv_remove_clause(), gui_update_font(), handmade_scenario_warning(), has_zoom_support(), insert_client_build_info(), is_view_supported(), load_gfxfile(), load_gfxnumber(), map_canvas_size_refresh(), options_extra_init(), popdown_all_city_dialogs(), popdown_city_dialog(), popup_combat_info(), popup_image(), real_city_dialog_popup(), real_city_dialog_refresh(), real_conn_list_dialog_update(), real_economy_report_dialog_update(), real_focus_units_changed(), real_output_window_append(), real_science_report_dialog_update(), real_set_client_page(), real_units_report_dialog_update(), refresh_unit_city_dialogs(), remove_net_input(), request_action_confirmation(), request_transport(), science_report_dialog_popup(), science_report_dialog_redraw(), server_connect(), set_rulesets(), set_unit_icon(), set_unit_icons_more_arrow(), setup_gui_funcs(), setup_gui_funcs(), setup_gui_properties(), sound_bell(), start_turn(), tileset_type_set(), ui_exit(), ui_init(), ui_main(), update_infra_dialog(), update_timeout_label(), and version_message().