diff options
author | Simon Howard | 2006-02-19 13:42:27 +0000 |
---|---|---|
committer | Simon Howard | 2006-02-19 13:42:27 +0000 |
commit | bef7af18c671dbe1ff4d822206a15f4bcab56e67 (patch) | |
tree | e69f9be3eae2200d20cd207b42cae153b94f884f /src/net_common.h | |
parent | 76d69779c9bcebec6a2188d6b9e2483240e26a8a (diff) | |
download | chocolate-doom-bef7af18c671dbe1ff4d822206a15f4bcab56e67.tar.gz chocolate-doom-bef7af18c671dbe1ff4d822206a15f4bcab56e67.tar.bz2 chocolate-doom-bef7af18c671dbe1ff4d822206a15f4bcab56e67.zip |
Move tic number expansion code to common code. Parse game data packets
received from the server.
Strip down d_net.[ch] to work through the new networking code. Remove
game sync code.
Remove i_net.[ch] as it is no longer needed.
Working networking!
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 374
Diffstat (limited to 'src/net_common.h')
-rw-r--r-- | src/net_common.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/net_common.h b/src/net_common.h index 4f5605dc..657804fb 100644 --- a/src/net_common.h +++ b/src/net_common.h @@ -1,7 +1,7 @@ // Emacs style mode select -*- C++ -*- //----------------------------------------------------------------------------- // -// $Id: net_common.h 279 2006-01-10 19:59:26Z fraggle $ +// $Id: net_common.h 374 2006-02-19 13:42:27Z fraggle $ // // Copyright(C) 2005 Simon Howard // @@ -21,6 +21,14 @@ // 02111-1307, USA. // // $Log$ +// Revision 1.4 2006/02/19 13:42:27 fraggle +// Move tic number expansion code to common code. Parse game data packets +// received from the server. +// Strip down d_net.[ch] to work through the new networking code. Remove +// game sync code. +// Remove i_net.[ch] as it is no longer needed. +// Working networking! +// // Revision 1.3 2006/01/10 19:59:26 fraggle // Reliable packet transport mechanism // @@ -103,5 +111,7 @@ void NET_Conn_Disconnect(net_connection_t *conn); void NET_Conn_Run(net_connection_t *conn); net_packet_t *NET_Conn_NewReliable(net_connection_t *conn, int packet_type); +unsigned int NET_ExpandTicNum(unsigned int relative, unsigned int b); + #endif /* #ifndef NET_COMMON_H */ |