|
Freeciv-3.1
|
#include <stdio.h>#include <time.h>#include <sys/stat.h>#include <gtk/gtk.h>#include "fcintl.h"#include "log.h"#include "mem.h"#include "shared.h"#include "support.h"#include "dataio.h"#include "game.h"#include "mapimg.h"#include "version.h"#include "client_main.h"#include "climisc.h"#include "clinet.h"#include "connectdlg_common.h"#include "packhand.h"#include "servers.h"#include "update_queue.h"#include "chatline.h"#include "connectdlg.h"#include "dialogs.h"#include "graphics.h"#include "gui_main.h"#include "gui_stuff.h"#include "mapview.h"#include "optiondlg.h"#include "plrdlg.h"#include "repodlgs.h"#include "voteinfo_bar.h"#include "pages.h"Go to the source code of this file.
Data Structures | |
| struct | server_scan_timer_data |
| struct | save_dialog |
Typedefs | |
| typedef void(* | save_dialog_action_fn_t) (const char *filename) |
| typedef struct fileinfo_list *(* | save_dialog_files_fn_t) (void) |
Enumerations | |
| enum | save_dialog_columns { SD_COL_PRETTY_NAME = 0 , SD_COL_FULL_PATH , SD_COL_NUM } |
| enum | save_dialog_response { SD_RES_BROWSE , SD_RES_DELETE , SD_RES_SAVE } |
| enum | connection_state { LOGIN_TYPE , NEW_PASSWORD_TYPE , ENTER_PASSWORD_TYPE , WAITING_TYPE } |
| enum | connection_list_columns { CL_COL_PLAYER_NUMBER = 0 , CL_COL_USER_NAME , CL_COL_READY_STATE , CL_COL_PLAYER_NAME , CL_COL_FLAG , CL_COL_COLOR , CL_COL_NATION , CL_COL_TEAM , CL_COL_CONN_ID , CL_COL_STYLE , CL_COL_WEIGHT , CL_COL_COLLAPSED , CL_NUM_COLUMNS } |
Functions | |
| static void | connection_state_reset (void) |
| 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 gboolean | intro_expose (GtkWidget *w, cairo_t *cr, 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 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) |
| 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 | conn_menu_team_chosen (GObject *object, gpointer data) |
| static void | conn_menu_ready_chosen (GObject *object, gpointer data) |
| static void | conn_menu_nation_chosen (GObject *object, gpointer data) |
| static void | conn_menu_player_command (GObject *object, gpointer data) |
| static void | conn_menu_player_take (GObject *object, gpointer data) |
| static void | conn_menu_connection_command (GObject *object, gpointer data) |
| static void | show_conn_popup (struct player *pplayer, struct connection *pconn) |
| static void | conn_menu_info_chosen (GObject *object, gpointer data) |
| static GtkWidget * | create_conn_menu (struct player *pplayer, struct connection *pconn) |
| static gboolean | delayed_unselect_path (gpointer data) |
| static gboolean | connection_list_event (GtkWidget *widget, GdkEventButton *event, 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) |
| 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) |
Variables | |
| static GtkWidget * | scenario_description |
| static GtkWidget * | scenario_authors |
| static GtkWidget * | scenario_filename |
| static GtkWidget * | scenario_version |
| static GtkListStore * | load_store |
| static GtkListStore * | scenario_store |
| static GtkListStore * | meta_store |
| static GtkListStore * | lan_store |
| static GtkListStore * | server_playerlist_store |
| static GtkWidget * | server_playerlist_view |
| static GtkTreeSelection * | load_selection |
| static GtkTreeSelection * | scenario_selection |
| static GtkTreeSelection * | meta_selection |
| static GtkTreeSelection * | lan_selection |
| static enum client_pages | current_page = -1 |
| static struct server_scan_timer_data | meta_scan = { NULL, 0 } |
| static struct server_scan_timer_data | lan_scan = { NULL, 0 } |
| static GtkWidget * | statusbar |
| static GtkWidget * | statusbar_frame |
| static GQueue * | statusbar_queue |
| static guint | statusbar_timer = 0 |
| static GtkWidget * | ruleset_combo |
| static bool | holding_srv_list_mutex = FALSE |
| static GtkWidget * | network_login_label |
| static GtkWidget * | network_login |
| static GtkWidget * | network_host_label |
| static GtkWidget * | network_host |
| static GtkWidget * | network_port_label |
| static GtkWidget * | network_port |
| static GtkWidget * | network_password_label |
| static GtkWidget * | network_password |
| static GtkWidget * | network_confirm_password_label |
| static GtkWidget * | network_confirm_password |
| static enum connection_state | connection_status |
| GtkWidget * | start_message_area |
| static GtkWidget * | start_options_table |
| static GtkWidget * | observe_button |
| static GtkWidget * | ready_button |
| static GtkWidget * | nation_button |
| static GtkTreeStore * | connection_list_store |
| static GtkTreeView * | connection_list_view |
| static GtkWidget * | start_aifill_spin = NULL |
| static GtkWidget * | ai_lvl_combobox = NULL |
| static bool | no_ruleset_callback = FALSE |
| static bool | send_new_aifill_to_server = TRUE |
| typedef void(* save_dialog_action_fn_t) (const char *filename) |
| typedef struct fileinfo_list *(* save_dialog_files_fn_t) (void) |
| enum connection_state |
| enum save_dialog_columns |
| enum save_dialog_response |
|
static |
Helper function for adding columns to a tree view. If 'key' is not NULL then the added column is added to the object data of the treeview using g_object_set_data under 'key'.
Definition at line 2585 of file pages.c.
Referenced by create_start_page().
| void ai_fill_changed_by_server | ( | int | aifill | ) |
Server changed AI fill setting.
Definition at line 1649 of file pages.c.
Referenced by option_gui_update_extra().
|
static |
Definition at line 1638 of file pages.c.
Referenced by create_start_page().
|
static |
AI skill setting callback.
Definition at line 1585 of file pages.c.
Referenced by create_start_page().
| void append_network_statusbar | ( | const char * | text, |
| bool | force | ||
| ) |
Queue statusbar label text change.
Definition at line 891 of file pages.c.
Referenced by connect_callback(), handle_authentication_req(), real_output_window_append(), and set_connection_state().
|
static |
This function updates the list of servers every so often.
Definition at line 788 of file pages.c.
Referenced by update_network_lists().
|
static |
Clear statusbar queue.
Definition at line 877 of file pages.c.
Referenced by append_network_statusbar(), and real_set_client_page().
|
static |
Maybe toggle AI of the player if the client could take the player. This function shouldn't be used directly, see in client_take_player().
Definition at line 1505 of file pages.c.
Referenced by client_take_player().
|
static |
Send the /take command by chat and toggle AI if needed (after that).
Definition at line 1519 of file pages.c.
Referenced by conn_menu_player_take(), conn_menu_player_take(), and nation_button_callback().
|
static |
Selects connection's row in the connection/player list.
Definition at line 2090 of file pages.c.
Referenced by real_conn_list_dialog_update().
|
static |
Returns TRUE if a row is selected in the connection/player list. Fills the not null data.
Definition at line 2054 of file pages.c.
Referenced by nation_button_callback(), observe_button_callback(), real_conn_list_dialog_update(), and update_start_page_buttons().
|
static |
Miscellaneous callback for the conn menu that allows an arbitrary command (/cmdlevel, /cut, etc.) to be run on the connection.
Definition at line 1748 of file pages.c.
Referenced by create_conn_menu().
|
static |
Callback for when the "info" entry is chosen from the conn menu.
Definition at line 1793 of file pages.c.
Referenced by create_conn_menu().
|
static |
Callback for when the pick-nation entry is chosen from the conn menu.
Definition at line 1708 of file pages.c.
Referenced by create_conn_menu().
|
static |
Miscellaneous callback for the conn menu that allows an arbitrary command (/observe, /remove, /hard, etc.) to be run on the player.
Definition at line 1721 of file pages.c.
Referenced by create_conn_menu().
|
static |
Take command in the conn menu.
Definition at line 1735 of file pages.c.
Referenced by create_conn_menu().
|
static |
Callback for when the "ready" entry is chosen from the conn menu.
Definition at line 1695 of file pages.c.
Referenced by create_conn_menu().
|
static |
Callback for when a team is chosen from the conn menu.
Definition at line 1678 of file pages.c.
Referenced by create_conn_menu().
|
static |
If on the network page, switch page to the login page (with new server and port). if on the login page, send connect and/or authentication requests to the server.
Definition at line 1040 of file pages.c.
Referenced by create_network_page(), and network_activate_callback().
|
static |
Reset the connection status and switch to network page.
Definition at line 132 of file pages.c.
Referenced by create_main_page().
|
static |
Called on a button event on the pregame player list.
Definition at line 1984 of file pages.c.
Referenced by create_start_page().
|
static |
Mark a row as collapsed or expanded.
Definition at line 2039 of file pages.c.
Referenced by create_start_page().
|
inlinestatic |
Create a new tree store for connection list.
Definition at line 1484 of file pages.c.
Referenced by create_start_page().
|
static |
Reset the connection state.
Definition at line 995 of file pages.c.
Referenced by connect_network_game_callback().
|
static |
Called when you click on a player; this function pops up a menu to allow changing the team.
Definition at line 1807 of file pages.c.
Referenced by connect_list_right_button(), and connection_list_event().
| GtkWidget * create_load_page | ( | void | ) |
| GtkWidget * create_main_page | ( | void | ) |
| GtkWidget * create_network_page | ( | void | ) |
| GtkWidget * create_scenario_page | ( | void | ) |
| GtkWidget * create_start_page | ( | void | ) |
| GtkWidget * create_statusbar | ( | void | ) |
|
static |
Unselect a tree path.
Definition at line 1968 of file pages.c.
Referenced by connect_list_left_button(), and connection_list_event().
| void destroy_server_scans | ( | void | ) |
Free the server scans.
Definition at line 765 of file pages.c.
Referenced by ui_main(), and update_network_lists().
|
static |
Request the game options dialog.
Definition at line 1577 of file pages.c.
Referenced by create_start_page().
| enum client_pages get_current_client_page | ( | void | ) |
Returns current client page
Definition at line 3343 of file pages.c.
Referenced by animation_idle_cb(), get_client_page(), main_message_area_resize(), set_turn_done_button_state(), and update_info_label().
| void handle_authentication_req | ( | enum authentication_type | type, |
| const char * | message | ||
| ) |
Configure the dialog depending on what type of authentication request the server is making.
Definition at line 1004 of file pages.c.
Referenced by client_handle_packet().
| void handle_game_load | ( | bool | load_successful, |
| const char * | filename | ||
| ) |
This regenerates the player information from a loaded game on the server.
Definition at line 2837 of file pages.c.
Referenced by client_handle_packet().
|
static |
This is called whenever the intro graphic needs a graphics refresh.
Definition at line 164 of file pages.c.
Referenced by create_main_page().
|
static |
This is called when main page is getting destroyed.
Definition at line 219 of file pages.c.
Referenced by create_main_page().
|
static |
Call the default GTK+ requester for saved game loading.
Definition at line 2877 of file pages.c.
Referenced by create_load_page().
|
static |
Loads the currently selected game.
Definition at line 2860 of file pages.c.
Referenced by create_load_page().
|
static |
Load a savegame/scenario.
Definition at line 2852 of file pages.c.
Referenced by client_handle_packet(), dlsend_packet_game_load(), dsend_packet_game_load(), load_browse_callback(), load_callback(), receive_packet_game_load_100(), scenario_browse_callback(), and scenario_callback().
|
static |
Go to the load page, spawning a server.
Definition at line 124 of file pages.c.
Referenced by create_main_page().
|
static |
Cancel, by terminating the connection and going back to main page.
Definition at line 149 of file pages.c.
Referenced by create_load_page(), create_network_page(), create_scenario_page(), and create_start_page().
| void mapimg_client_save | ( | const char * | filename | ) |
Save map image. On error popup a message window for the user.
Definition at line 3568 of file pages.c.
Referenced by save_mapimg_callback(), save_mapimg_callback(), and save_mapimg_dialog_popup().
|
static |
Search a connection iterator in the model. Begin the iteration at 'start' or at the start of the model if 'start' is set to NULL.
Definition at line 2311 of file pages.c.
Referenced by real_conn_list_dialog_update().
|
static |
Search a player iterator in the model. Begin the iteration at 'start' or at the start of the model if 'start' is set to NULL.
Definition at line 2280 of file pages.c.
Referenced by real_conn_list_dialog_update().
|
static |
'nation_button' clicked callback.
Definition at line 2155 of file pages.c.
Referenced by create_start_page().
|
static |
Connect on list item double-click.
Definition at line 1095 of file pages.c.
Referenced by create_network_page().
|
static |
Sets the host, port and player list of the selected server.
Definition at line 1136 of file pages.c.
Referenced by create_network_page().
|
static |
Extract the player and the connection set with object_put(). Returns TRUE if at least one of them isn't NULL.
Definition at line 1550 of file pages.c.
Referenced by conn_menu_connection_command(), conn_menu_connection_command(), conn_menu_info_chosen(), conn_menu_info_chosen(), conn_menu_nation_chosen(), conn_menu_nation_chosen(), conn_menu_player_command(), conn_menu_player_command(), conn_menu_player_take(), conn_menu_player_take(), conn_menu_ready_chosen(), conn_menu_ready_chosen(), conn_menu_team_chosen(), and conn_menu_team_chosen().
|
static |
Connect the object to the player and the connection.
Definition at line 1531 of file pages.c.
Referenced by create_conn_menu().
|
static |
'observe_button' clicked callback.
Definition at line 2175 of file pages.c.
Referenced by create_start_page().
|
static |
Callback to open settings dialog.
Definition at line 141 of file pages.c.
Referenced by create_main_page().
|
static |
'ready_button' clicked callback.
Definition at line 2141 of file pages.c.
Referenced by create_start_page().
| void real_conn_list_dialog_update | ( | void * | unused | ) |
Update the connected users list at pregame state.
Definition at line 2340 of file pages.c.
Referenced by conn_list_dialog_update().
| void real_set_client_page | ( | enum client_pages | new_page | ) |
Changes the current page. The action is delayed.
Definition at line 3351 of file pages.c.
Referenced by set_client_page_callback().
|
static |
Ruleset selection callback. Note that this gets also called when ever user types to entry box. In that case we don't want to set_ruleset() after each letter.
Definition at line 1623 of file pages.c.
Referenced by create_start_page().
|
static |
Ruleset name has been given
Definition at line 1611 of file pages.c.
Referenced by ruleset_entry_changed().
|
static |
Handle save filename entry activation.
Definition at line 546 of file pages.c.
Referenced by save_dialog_new().
|
static |
Callback for save_dialog_file_chooser_new().
Definition at line 442 of file pages.c.
Referenced by save_dialog_file_chooser_popup().
|
static |
Create a file chooser for both the load and save commands.
Definition at line 462 of file pages.c.
Referenced by load_browse_callback(), save_dialog_response_callback(), and scenario_browse_callback().
|
static |
Handle the save list selection changes.
Definition at line 554 of file pages.c.
Referenced by save_dialog_new().
|
static |
Save mapimg 'save_dialog_files_fn_t' implementation. If possible, only the current directory is used. As fallback, the files in the save directories are listed.
Definition at line 3541 of file pages.c.
Referenced by save_mapimg_dialog_popup().
|
static |
Create a new save dialog.
Definition at line 575 of file pages.c.
Referenced by save_game_dialog_popup(), save_mapimg_dialog_popup(), and save_scenario_dialog_popup().
|
static |
Handle save dialog response.
Definition at line 486 of file pages.c.
Referenced by save_dialog_entry_callback(), save_dialog_new(), and save_dialog_row_callback().
|
static |
Handle save list double click.
Definition at line 535 of file pages.c.
Referenced by save_dialog_new().
|
static |
Save scenario 'save_dialog_action_fn_t' implementation.
Definition at line 3504 of file pages.c.
Referenced by save_scenario_dialog_popup().
|
static |
Save game 'save_dialog_files_fn_t' implementation.
Definition at line 3477 of file pages.c.
Referenced by save_game_dialog_popup().
|
static |
Save scenario 'save_dialog_files_fn_t' implementation.
Definition at line 3512 of file pages.c.
Referenced by save_scenario_dialog_popup().
|
inlinestatic |
Create a new file list store.
Definition at line 397 of file pages.c.
Referenced by create_load_page(), and save_dialog_new().
|
static |
Fill a file list store with 'files'.
Definition at line 407 of file pages.c.
Referenced by save_dialog_update(), and update_load_page().
|
static |
Update a save dialog.
Definition at line 425 of file pages.c.
Referenced by save_dialog_new(), and save_dialog_response_callback().
| void save_game_dialog_popup | ( | void | ) |
Save game dialog.
Definition at line 3485 of file pages.c.
Referenced by save_game_as_callback(), and save_game_as_callback().
| void save_mapimg_dialog_popup | ( | void | ) |
Save scenario dialog.
Definition at line 3549 of file pages.c.
Referenced by save_mapimg_as_callback(), and save_mapimg_as_callback().
| void save_scenario_dialog_popup | ( | void | ) |
Save scenario dialog.
Definition at line 3520 of file pages.c.
Referenced by save_scenario_callback(), and save_scenario_callback().
|
static |
Call the default GTK+ requester for scenario loading.
Definition at line 3056 of file pages.c.
Referenced by create_scenario_page().
|
static |
Loads the currently selected scenario.
Definition at line 3040 of file pages.c.
Referenced by create_scenario_page().
|
static |
Updates the info for the currently selected scenario.
Definition at line 2984 of file pages.c.
Referenced by create_scenario_page().
|
static |
Callback function for when there's an error in the server scan.
Definition at line 822 of file pages.c.
Referenced by fc_client::update_network_lists(), and update_network_lists().
|
static |
Update network page connection state.
Definition at line 927 of file pages.c.
Referenced by connect_callback(), connection_state_reset(), handle_authentication_req(), and real_set_client_page().
| void set_rulesets | ( | int | num_rulesets, |
| char ** | rulesets | ||
| ) |
Set the list of available rulesets. The default ruleset should be "default", and if the user changes this then set_ruleset() should be called.
Definition at line 3584 of file pages.c.
Referenced by handle_ruleset_choices().
|
static |
Show details about a user in the Connected Users dialog in a popup.
Definition at line 1762 of file pages.c.
Referenced by conn_menu_info_chosen(), and conn_menu_info_chosen().
|
static |
Spawn a server, if there isn't one, using the default settings.
Definition at line 102 of file pages.c.
Referenced by create_main_page(), and show_main_page().
|
static |
Go to the scenario page, spawning a server.
Definition at line 115 of file pages.c.
Referenced by create_main_page().
|
static |
Update the load page.
Definition at line 2887 of file pages.c.
Referenced by real_set_client_page().
|
static |
Stop and restart the metaserver and lan server scans.
Definition at line 835 of file pages.c.
Referenced by create_network_page(), and real_set_client_page().
|
static |
Update the network page.
Definition at line 1181 of file pages.c.
Referenced by real_set_client_page().
|
static |
Update statusbar label text.
Definition at line 861 of file pages.c.
Referenced by create_statusbar().
|
static |
Update the scenario page.
Definition at line 3066 of file pages.c.
Referenced by real_set_client_page().
|
static |
|
static |
Fills the server player list with the players in the given server, or clears it if there is no player data.
Definition at line 1107 of file pages.c.
Referenced by network_list_callback().
| void update_start_page | ( | void | ) |
Update the start page.
Definition at line 1670 of file pages.c.
Referenced by handle_game_info(), handle_player_info(), and real_set_client_page().
|
static |
Update the buttons of the start page.
Definition at line 2195 of file pages.c.
Referenced by create_start_page(), and real_conn_list_dialog_update().
|
static |
Definition at line 1460 of file pages.c.
Referenced by create_start_page(), and real_conn_list_dialog_update().
|
static |
Definition at line 1457 of file pages.c.
Referenced by create_start_page(), and real_conn_list_dialog_update().
|
static |
Definition at line 1458 of file pages.c.
Referenced by conn_list_select_conn(), conn_list_selection(), create_start_page(), delayed_unselect_path(), and real_conn_list_dialog_update().
|
static |
Definition at line 856 of file pages.c.
Referenced by connect_callback(), real_set_client_page(), set_connection_state(), fc_client::set_connection_state(), and fc_client::slot_connect().
|
static |
Definition at line 78 of file pages.c.
Referenced by apply_titlebar(), fc_game_tab_widget::current_changed(), get_current_client_page(), handle_diplomacy_init_meeting(), qtg_close_connection_dialog(), real_set_client_page(), side_blink_endturn(), side_disable_endturn(), and voteinfo_gui_update().
Definition at line 95 of file pages.c.
Referenced by check_server_scan(), fc_client::check_server_scan(), network_list_callback(), and fc_client::slot_selection_changed().
|
static |
Definition at line 87 of file pages.c.
Referenced by destroy_server_scans(), fc_client::destroy_server_scans(), popup_connection_dialog(), servers_callback(), fc_client::slot_lan_scan(), fc_client::update_network_lists(), and update_network_lists().
|
static |
Definition at line 74 of file pages.c.
Referenced by create_network_page(), update_network_page(), and update_server_list().
|
static |
Definition at line 68 of file pages.c.
Referenced by create_network_page().
|
static |
Definition at line 73 of file pages.c.
Referenced by create_load_page(), load_callback(), and real_set_client_page().
|
static |
Definition at line 68 of file pages.c.
Referenced by create_load_page(), load_callback(), and update_load_page().
|
static |
Definition at line 86 of file pages.c.
Referenced by destroy_server_scans(), fc_client::destroy_server_scans(), network_list_callback(), fc_client::slot_meta_scan(), fc_client::slot_selection_changed(), fc_client::update_network_lists(), and update_network_lists().
|
static |
Definition at line 74 of file pages.c.
Referenced by create_network_page(), network_list_callback(), update_network_page(), and update_server_list().
|
static |
Definition at line 68 of file pages.c.
Referenced by create_network_page().
|
static |
Definition at line 1456 of file pages.c.
Referenced by create_start_page(), nation_button_callback(), and update_start_page_buttons().
|
static |
Definition at line 696 of file pages.c.
Referenced by connect_callback(), create_network_page(), and set_connection_state().
|
static |
Definition at line 696 of file pages.c.
Referenced by create_network_page(), and set_connection_state().
|
static |
Definition at line 693 of file pages.c.
Referenced by connect_callback(), create_network_page(), network_list_callback(), set_connection_state(), update_network_page(), and update_server_list().
|
static |
Definition at line 693 of file pages.c.
Referenced by create_network_page().
|
static |
Definition at line 692 of file pages.c.
Referenced by connect_callback(), create_network_page(), real_set_client_page(), set_connection_state(), and update_network_page().
|
static |
Definition at line 692 of file pages.c.
Referenced by create_network_page().
|
static |
Definition at line 695 of file pages.c.
Referenced by connect_callback(), create_network_page(), and set_connection_state().
|
static |
Definition at line 695 of file pages.c.
Referenced by create_network_page(), and set_connection_state().
|
static |
Definition at line 694 of file pages.c.
Referenced by connect_callback(), create_network_page(), network_list_callback(), set_connection_state(), update_network_page(), and update_server_list().
|
static |
Definition at line 694 of file pages.c.
Referenced by create_network_page().
Definition at line 1606 of file pages.c.
Referenced by ruleset_selected(), and set_rulesets().
|
static |
Definition at line 1456 of file pages.c.
Referenced by create_start_page(), and update_start_page_buttons().
|
static |
Definition at line 1456 of file pages.c.
Referenced by create_start_page(), and update_start_page_buttons().
|
static |
Definition at line 93 of file pages.c.
Referenced by create_start_page(), ruleset_entry_changed(), and set_rulesets().
|
static |
Definition at line 64 of file pages.c.
Referenced by create_scenario_page(), receive_packet_edit_game_100(), and scenario_list_callback().
|
static |
Definition at line 63 of file pages.c.
Referenced by create_scenario_page(), and scenario_list_callback().
|
static |
Definition at line 65 of file pages.c.
Referenced by create_scenario_page(), and scenario_list_callback().
|
static |
Definition at line 73 of file pages.c.
Referenced by create_scenario_page(), real_set_client_page(), scenario_callback(), and scenario_list_callback().
|
static |
Definition at line 68 of file pages.c.
Referenced by create_scenario_page(), scenario_callback(), scenario_list_callback(), and update_scenario_page().
|
static |
Definition at line 66 of file pages.c.
Referenced by create_scenario_page(), and scenario_list_callback().
User changed AI fill setting.
Definition at line 1637 of file pages.c.
Referenced by ai_fill_changed_by_server(), and ai_fill_changed_by_user().
|
static |
Definition at line 70 of file pages.c.
Referenced by create_network_page(), and update_server_playerlist().
|
static |
Definition at line 71 of file pages.c.
Referenced by create_network_page().
|
static |
Definition at line 1459 of file pages.c.
Referenced by ai_fill_changed_by_server(), and create_start_page().
| GtkWidget* start_message_area |
Definition at line 1453 of file pages.c.
Referenced by chatline_is_scrolled_to_bottom(), chatline_scroll_to_bottom(), create_start_page(), and real_output_window_append().
|
static |
Definition at line 1455 of file pages.c.
Referenced by create_start_page(), and real_set_client_page().
|
static |
Definition at line 89 of file pages.c.
Referenced by append_network_statusbar(), clear_network_statusbar(), create_statusbar(), setup_widgets(), and update_network_statusbar().
|
static |
Definition at line 89 of file pages.c.
Referenced by append_network_statusbar(), create_statusbar(), and real_set_client_page().
|
static |
Definition at line 90 of file pages.c.
Referenced by append_network_statusbar(), clear_network_statusbar(), create_statusbar(), and update_network_statusbar().
|
static |
Definition at line 91 of file pages.c.
Referenced by create_statusbar().