Freeciv-3.3
Loading...
Searching...
No Matches
Functions
connectdlg.cpp File Reference
#include "fcintl.h"
#include "log.h"
#include "support.h"
#include "connectdlg_g.h"
#include "chatline_common.h"
#include "client_main.h"
#include "packhand_gen.h"
#include "connectdlg.h"
#include "fc_client.h"

Go to the source code of this file.

Functions

void qtg_close_connection_dialog ()
 
void handle_authentication_req (enum authentication_type type, const char *message)
 
void handle_game_load (bool load_successful, const char *filename)
 
void qtg_server_connect ()
 

Function Documentation

◆ handle_authentication_req()

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 50 of file connectdlg.cpp.

◆ handle_game_load()

void handle_game_load ( bool  load_successful,
const char filename 
)

Provide a packet handler for packet_game_load.

This regenerates the player information from a loaded game on the server.

Definition at line 62 of file connectdlg.cpp.

◆ qtg_close_connection_dialog()

void qtg_close_connection_dialog ( )

Close and destroy the dialog. But only if we don't have a local server running (that we started).

Definition at line 39 of file connectdlg.cpp.

Referenced by setup_gui_funcs().

◆ qtg_server_connect()

void qtg_server_connect ( )

Provide an interface for connecting to a Freeciv server.

Definition at line 77 of file connectdlg.cpp.

Referenced by setup_gui_funcs().