|
static void | connection_state_reset (void) |
|
static void | fc_host_row_class_init (FcHostRowClass *klass) |
|
static void | fc_host_row_init (FcHostRow *self) |
|
static void | fc_plr_row_class_init (FcPlrRowClass *klass) |
|
static void | fc_plr_row_init (FcPlrRow *self) |
|
static void | fc_scen_row_class_init (FcScenRowClass *klass) |
|
static void | fc_scen_row_init (FcScenRow *self) |
|
static void | fc_save_row_class_init (FcSaveRowClass *klass) |
|
static void | fc_save_row_init (FcSaveRow *self) |
|
static void | start_new_game_callback (GtkWidget *w, gpointer data) |
|
static void | start_scenario_callback (GtkWidget *w, gpointer data) |
|
static void | load_saved_game_callback (GtkWidget *w, gpointer data) |
|
static void | connect_network_game_callback (GtkWidget *w, gpointer data) |
|
static void | open_settings (void) |
|
static void | main_callback (GtkWidget *w, gpointer data) |
|
static void | intro_expose (GtkDrawingArea *w, cairo_t *cr, int width, int height, gpointer data) |
|
static void | intro_free (GtkWidget *w, gpointer *data) |
|
GtkWidget * | create_main_page (void) |
|
static GtkListStore * | save_dialog_store_new (void) |
|
static void | save_dialog_store_update (GtkListStore *store, const struct fileinfo_list *files) |
|
static void | save_dialog_update (struct save_dialog *pdialog) |
|
static void | save_dialog_file_chooser_callback (GtkWidget *widget, gint response, gpointer data) |
|
static void | save_dialog_file_chooser_popup (const char *title, GtkFileChooserAction action, save_dialog_action_fn_t cb) |
|
static void | save_dialog_response_callback (GtkWidget *w, gint response, gpointer data) |
|
static void | save_dialog_row_callback (GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column, gpointer data) |
|
static void | save_dialog_entry_callback (GtkEntry *entry, gpointer data) |
|
static void | save_dialog_list_callback (GtkTreeSelection *selection, gpointer data) |
|
static void | save_factory_bind (GtkSignalListItemFactory *self, GtkListItem *list_item, gpointer user_data) |
|
static void | save_factory_setup (GtkSignalListItemFactory *self, GtkListItem *list_item, gpointer user_data) |
|
static GtkWidget * | save_dialog_new (const char *title, const char *savelabel, const char *savefilelabel, save_dialog_action_fn_t action, save_dialog_files_fn_t files) |
|
static void | update_server_list (enum server_scan_type sstype, const struct server_list *list) |
|
void | destroy_server_scans (void) |
|
static gboolean | check_server_scan (gpointer data) |
|
static void | server_scan_error (struct server_scan *scan, const char *message) |
|
static void | update_network_lists (void) |
|
static gboolean | update_network_statusbar (gpointer data) |
|
static void | clear_network_statusbar (void) |
|
void | append_network_statusbar (const char *text, bool force) |
|
GtkWidget * | create_statusbar (void) |
|
static void | set_connection_state (enum connection_state state) |
|
void | handle_authentication_req (enum authentication_type type, const char *message) |
|
static void | connect_callback (GtkWidget *w, gpointer data) |
|
static void | network_activate_callback (GtkTreeView *view, GtkTreePath *arg1, GtkTreeViewColumn *arg2, gpointer data) |
|
static void | update_server_playerlist (const struct server *pserver) |
|
static void | network_list_callback (GtkTreeSelection *select, gpointer data) |
|
static void | update_network_page (void) |
|
static void | host_factory_bind (GtkSignalListItemFactory *self, GtkListItem *list_item, gpointer user_data) |
|
static void | host_factory_setup (GtkSignalListItemFactory *self, GtkListItem *list_item, gpointer user_data) |
|
static void | plr_factory_bind (GtkSignalListItemFactory *self, GtkListItem *list_item, gpointer user_data) |
|
static void | plr_factory_setup (GtkSignalListItemFactory *self, GtkListItem *list_item, gpointer user_data) |
|
GtkWidget * | create_network_page (void) |
|
static GtkTreeStore * | connection_list_store_new (void) |
|
static void | client_aitoggle_player (void *data) |
|
static void | client_take_player (struct player *pplayer) |
|
static void | object_put (GObject *object, struct player *pplayer, struct connection *pconn) |
|
static bool | object_extract (GObject *object, struct player **ppplayer, struct connection **ppconn) |
|
static void | game_options_callback (GtkWidget *w, gpointer data) |
|
static void | ai_skill_callback (GtkWidget *w, gpointer data) |
|
static void | ruleset_selected (const char *name) |
|
static void | ruleset_entry_changed (GtkWidget *w, gpointer data) |
|
static void | ai_fill_changed_by_user (GtkWidget *w, gpointer data) |
|
void | ai_fill_changed_by_server (int aifill) |
|
void | update_start_page (void) |
|
static void | close_conn_menu_popover (void) |
|
static void | conn_menu_team_chosen (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | conn_menu_ready_chosen (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | conn_menu_nation_chosen (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | conn_menu_player_command (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | conn_menu_player_take (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | conn_menu_connection_command (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static void | show_conn_popup (struct player *pplayer, struct connection *pconn) |
|
static void | conn_menu_info_chosen (GSimpleAction *action, GVariant *parameter, gpointer data) |
|
static GtkWidget * | create_conn_menu (struct player *pplayer, struct connection *pconn) |
|
static gboolean | delayed_unselect_path (gpointer data) |
|
static gboolean | connect_list_left_button (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
static gboolean | connect_list_right_button (GtkGestureClick *gesture, int n_press, double x, double y, gpointer data) |
|
static void | connection_list_row_callback (GtkTreeView *tree_view, GtkTreeIter *iter, GtkTreePath *path, gpointer data) |
|
static bool | conn_list_selection (struct player **ppplayer, struct connection **ppconn) |
|
static void | conn_list_select_conn (struct connection *pconn) |
|
static void | ready_button_callback (GtkWidget *w, gpointer data) |
|
static void | nation_button_callback (GtkWidget *w, gpointer data) |
|
static void | observe_button_callback (GtkWidget *w, gpointer data) |
|
static void | update_start_page_buttons (void) |
|
static bool | model_get_player_iter (GtkTreeModel *model, GtkTreeIter *iter, GtkTreeIter *start, const struct player *pplayer) |
|
static bool | model_get_conn_iter (GtkTreeModel *model, GtkTreeIter *iter, GtkTreeIter *parent, GtkTreeIter *start, const struct connection *pconn) |
|
void | real_conn_list_dialog_update (void *unused) |
|
static void | add_tree_col (GtkWidget *treeview, GType gtype, const char *title, int colnum, const char *key) |
|
GtkWidget * | create_start_page (void) |
|
void | handle_game_load (bool load_successful, const char *filename) |
|
static void | load_filename (const char *filename) |
|
static void | load_callback (void) |
|
static void | load_browse_callback (GtkWidget *w, gpointer data) |
|
static void | update_load_page (void) |
|
GtkWidget * | create_load_page (void) |
|
static void | scenario_list_callback (void) |
|
static void | scenario_callback (void) |
|
static void | scenario_browse_callback (GtkWidget *w, gpointer data) |
|
static void | update_scenario_page (void) |
|
static void | scenario_factory_bind (GtkSignalListItemFactory *self, GtkListItem *list_item, gpointer user_data) |
|
static void | scenario_factory_setup (GtkSignalListItemFactory *self, GtkListItem *list_item, gpointer user_data) |
|
GtkWidget * | create_scenario_page (void) |
|
enum client_pages | get_current_client_page (void) |
|
void | real_set_client_page (enum client_pages new_page) |
|
static struct fileinfo_list * | save_dialog_savegame_list (void) |
|
void | save_game_dialog_popup (void) |
|
static void | save_dialog_save_scenario (const char *filename) |
|
static struct fileinfo_list * | save_dialog_scenario_list (void) |
|
void | save_scenario_dialog_popup (void) |
|
static struct fileinfo_list * | save_dialog_mapimg_list (void) |
|
void | save_mapimg_dialog_popup (void) |
|
void | mapimg_client_save (const char *filename) |
|
void | set_rulesets (int num_rulesets, char **rulesets) |
|