Freeciv-3.2
|
#include <stdlib.h>
#include <SDL2/SDL.h>
#include "fcintl.h"
#include "log.h"
#include "client_main.h"
#include "clinet.h"
#include "packhand.h"
#include "servers.h"
#include "chatline.h"
#include "colors.h"
#include "graphics.h"
#include "gui_id.h"
#include "gui_main.h"
#include "gui_tilespec.h"
#include "mapview.h"
#include "messagewin.h"
#include "optiondlg.h"
#include "pages.h"
#include "themespec.h"
#include "widget.h"
#include "connectdlg.h"
Go to the source code of this file.
Variables | |
static struct server_list * | server_list = NULL |
static struct server_scan * | server_scan = NULL |
static struct advanced_dialog * | meta_server = NULL |
static struct small_dialog * | connect_dlg = NULL |
User interacted with cancel -button
Definition at line 526 of file connectdlg.c.
Referenced by cancel_passwd_callback(), and popup_join_game_dialog().
Close password dialog with no password given.
Definition at line 770 of file connectdlg.c.
Referenced by popup_new_user_passwd_dialog(), and popup_user_passwd_dialog().
Close and destroy the dialog.
Definition at line 1094 of file connectdlg.c.
User interacted with connect -widget
Definition at line 88 of file connectdlg.c.
Referenced by popup_join_game_dialog().
New Password
Definition at line 909 of file connectdlg.c.
Referenced by popup_new_user_passwd_dialog().
User interacted with password widget
Definition at line 729 of file connectdlg.c.
Referenced by popup_user_passwd_dialog().
User interacted with playername widget.
Definition at line 463 of file connectdlg.c.
Referenced by popup_join_game_dialog().
User interacted with port number widget.
Definition at line 503 of file connectdlg.c.
Referenced by popup_join_game_dialog().
Verify Password
Definition at line 926 of file connectdlg.c.
Referenced by popup_new_user_passwd_dialog().
User interacted with servername widget.
Definition at line 483 of file connectdlg.c.
Referenced by popup_join_game_dialog().
Close servers dialog.
Definition at line 123 of file connectdlg.c.
Referenced by popup_connection_dialog(), and select_meta_servers_callback().
void handle_authentication_req | ( | enum authentication_type | type, |
const char * | message | ||
) |
Popup passwd dialog depending on what type of authentication request the server is making.
Definition at line 1119 of file connectdlg.c.
Provide a packet handler for packet_game_load
Definition at line 80 of file connectdlg.c.
User interacted with server list window.
Definition at line 115 of file connectdlg.c.
Referenced by popup_connection_dialog().
Open connection dialog for either meta or lan scan.
Definition at line 219 of file connectdlg.c.
Referenced by servers_callback().
Open dialog for joining to game.
Definition at line 539 of file connectdlg.c.
Referenced by real_set_client_page().
Open dialog for new password.
Definition at line 952 of file connectdlg.c.
Referenced by convert_second_passwd_callback(), and handle_authentication_req().
Open password dialog.
Definition at line 782 of file connectdlg.c.
Referenced by handle_authentication_req().
Wrapper on server_scan_begin() and server_scan_get_list() functions.
WARNING !: use "server_scan_finish()" to free server list.
Definition at line 187 of file connectdlg.c.
Referenced by popup_connection_dialog().
Server selected from dialog.
Definition at line 142 of file connectdlg.c.
Referenced by popup_connection_dialog().
User interacted with "Next" -button after entering password.
Definition at line 743 of file connectdlg.c.
Referenced by popup_new_user_passwd_dialog(), and popup_user_passwd_dialog().
Provide an interface for connecting to a Freeciv server. sdl2-client does it as popup main start menu which != connecting dlg.
Definition at line 1155 of file connectdlg.c.
Callback function for when there's an error in the server scan.
Definition at line 159 of file connectdlg.c.
Referenced by sdl_create_server_list().
|
static |
Definition at line 65 of file connectdlg.c.
Referenced by close_connection_dialog(), popup_join_game_dialog(), popup_new_user_passwd_dialog(), and popup_user_passwd_dialog().
|
static |
Definition at line 64 of file connectdlg.c.
Referenced by close_connection_dialog(), and popup_connection_dialog().
Definition at line 61 of file connectdlg.c.
Referenced by close_connection_dialog(), delete_server_list(), exit_meta_server_dlg_callback(), popup_connection_dialog(), and server_scan_error().
|
static |
Definition at line 62 of file connectdlg.c.