diff options
Diffstat (limited to 'src/net_client.h')
-rw-r--r-- | src/net_client.h | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/src/net_client.h b/src/net_client.h index a752b747..9d02d130 100644 --- a/src/net_client.h +++ b/src/net_client.h @@ -24,31 +24,27 @@ #ifndef NET_CLIENT_H #define NET_CLIENT_H -#include "doomdef.h" #include "doomtype.h" #include "d_ticcmd.h" #include "sha1.h" #include "net_defs.h" -#define MAXPLAYERNAME 30 - -boolean NET_CL_Connect(net_addr_t *addr); +boolean NET_CL_Connect(net_addr_t *addr, net_connect_data_t *data); void NET_CL_Disconnect(void); void NET_CL_Run(void); void NET_CL_Init(void); -void NET_CL_StartGame(); +void NET_CL_LaunchGame(void); +void NET_CL_StartGame(net_gamesettings_t *settings); void NET_CL_SendTiccmd(ticcmd_t *ticcmd, int maketic); +boolean NET_CL_GetSettings(net_gamesettings_t *_settings); void NET_Init(void); +void NET_BindVariables(void); + extern boolean net_client_connected; extern boolean net_client_received_wait_data; -extern boolean net_client_controller; -extern unsigned int net_clients_in_game; -extern unsigned int net_drones_in_game; -extern boolean net_waiting_for_start; -extern char net_player_names[MAXPLAYERS][MAXPLAYERNAME]; -extern char net_player_addresses[MAXPLAYERS][MAXPLAYERNAME]; -extern int net_player_number; +extern net_waitdata_t net_client_wait_data; +extern boolean net_waiting_for_launch; extern char *net_player_name; extern sha1_digest_t net_server_wad_sha1sum; @@ -58,6 +54,6 @@ extern sha1_digest_t net_local_wad_sha1sum; extern sha1_digest_t net_local_deh_sha1sum; extern unsigned int net_local_is_freedoom; +extern boolean drone; #endif /* #ifndef NET_CLIENT_H */ - |