diff options
author | Simon Howard | 2006-01-02 21:50:26 +0000 |
---|---|---|
committer | Simon Howard | 2006-01-02 21:50:26 +0000 |
commit | fba617a6b4504c9a21f2a7f0749570f741fa8254 (patch) | |
tree | 9ffe6a0417179fac55ff4068b9a0b3abbce88ba0 /src/net_client.h | |
parent | dd2339bca5ee57aaee232061a4015cf30454e42e (diff) | |
download | chocolate-doom-fba617a6b4504c9a21f2a7f0749570f741fa8254.tar.gz chocolate-doom-fba617a6b4504c9a21f2a7f0749570f741fa8254.tar.bz2 chocolate-doom-fba617a6b4504c9a21f2a7f0749570f741fa8254.zip |
Restructure the waiting screen code. Establish our own separate event
loop while waiting for the game to start, to avoid affecting the original
code too much. Move some _gui variables to net_client.c.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 252
Diffstat (limited to 'src/net_client.h')
-rw-r--r-- | src/net_client.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/net_client.h b/src/net_client.h index b746a8e7..2723eab6 100644 --- a/src/net_client.h +++ b/src/net_client.h @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: net_client.h 239 2006-01-02 00:00:08Z fraggle $ +// $Id: net_client.h 252 2006-01-02 21:50:26Z fraggle $ // // Copyright(C) 2005 Simon Howard // @@ -21,6 +21,11 @@ // 02111-1307, USA. // // $Log$ +// 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 +// code too much. Move some _gui variables to net_client.c. +// // Revision 1.5 2006/01/02 00:00:08 fraggle // Neater prefixes: NET_Client -> NET_CL_. NET_Server -> NET_SV_. // @@ -46,11 +51,17 @@ #ifndef NET_CLIENT_H #define NET_CLIENT_H +#include "doomtype.h" #include "net_defs.h" boolean NET_CL_Connect(net_addr_t *addr); void NET_CL_Disconnect(void); void NET_CL_Run(void); +extern boolean net_client_connected; +extern boolean net_client_controller; +extern int net_clients_in_game; +extern boolean net_waiting_for_start; + #endif /* #ifndef NET_CLIENT_H */ |