From 79b77612579be43566fcbac7a153da22b4cd9dd7 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Sat, 7 Jan 2006 20:08:11 +0000 Subject: Send player name and address in the waiting data packets. Display these on the waiting screen, and improve the waiting screen appearance. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 262 --- src/net_client.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/net_client.h') diff --git a/src/net_client.h b/src/net_client.h index 2723eab6..9200e167 100644 --- a/src/net_client.h +++ b/src/net_client.h @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: net_client.h 252 2006-01-02 21:50:26Z fraggle $ +// $Id: net_client.h 262 2006-01-07 20:08:11Z fraggle $ // // Copyright(C) 2005 Simon Howard // @@ -21,6 +21,10 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.7 2006/01/07 20:08:11 fraggle +// Send player name and address in the waiting data packets. Display these +// on the waiting screen, and improve the waiting screen appearance. +// // Revision 1.6 2006/01/02 21:50:26 fraggle // Restructure the waiting screen code. Establish our own separate event // loop while waiting for the game to start, to avoid affecting the original @@ -51,9 +55,12 @@ #ifndef NET_CLIENT_H #define NET_CLIENT_H +#include "doomdef.h" #include "doomtype.h" #include "net_defs.h" +#define MAXPLAYERNAME 30 + boolean NET_CL_Connect(net_addr_t *addr); void NET_CL_Disconnect(void); void NET_CL_Run(void); @@ -62,6 +69,8 @@ extern boolean net_client_connected; extern boolean net_client_controller; extern int net_clients_in_game; extern boolean net_waiting_for_start; +extern char net_player_names[MAXPLAYERS][MAXPLAYERNAME]; +extern char net_player_addresses[MAXPLAYERS][MAXPLAYERNAME]; #endif /* #ifndef NET_CLIENT_H */ -- cgit v1.2.3