]> icculus.org git repositories - taylor/freespace2.git/blob - include/multi_data.h
Initial revision
[taylor/freespace2.git] / include / multi_data.h
1 /*
2  * $Logfile: /Freespace2/code/Network/multi_data.h $
3  * $Revision$
4  * $Date$
5  * $Author$
6  *
7  * $Log$
8  * Revision 1.1  2002/05/03 03:28:12  root
9  * Initial revision
10  * 
11  * 
12  * 4     12/14/98 12:13p Dave
13  * Spiffed up xfer system a bit. Put in support for squad logo file xfer.
14  * Need to test now.
15  * 
16  * 3     11/05/98 5:55p Dave
17  * Big pass at reducing #includes
18  * 
19  * 2     10/07/98 10:53a Dave
20  * Initial checkin.
21  * 
22  * 1     10/07/98 10:50a Dave
23  * 
24  * 4     3/26/98 6:01p Dave
25  * Put in file checksumming routine in cfile. Made pilot pic xferring more
26  * robust. Cut header size of voice data packets in half. Put in
27  * restricted game host query system.
28  * 
29  * 3     3/23/98 5:42p Dave
30  * Put in automatic xfer of pilot pic files. Changed multi_xfer system so
31  * that it can support multiplayer sends/received between client and
32  * server simultaneously.
33  * 
34  * 2     3/21/98 7:14p Dave
35  * Fixed up standalone player slot switching. Made training missions not
36  * count towards player stats.
37  * 
38  * 1     2/19/98 6:21p Dave
39  * Player data file xfer module.
40  * 
41  * $NoKeywords: $
42  */
43
44 #ifndef _MULTI_PLAYER_DATA_HEADER_FILE
45 #define _MULTI_PLAYER_DATA_HEADER_FILE
46
47 // -------------------------------------------------------------------------
48 // MULTI DATA DEFINES/VARS
49 //
50
51
52 // -------------------------------------------------------------------------
53 // MULTI DATA FUNCTIONS
54 //
55
56 // reset the data xfer system
57 void multi_data_reset();
58
59 // handle a player join (clear out lists of files, etc)
60 void multi_data_handle_join(int player_index);
61
62 // handle a player drop (essentially the same as multi_data_handle_join)
63 void multi_data_handle_drop(int player_index);
64
65 // do all sync related data stuff (server-side only)
66 void multi_data_do();
67
68 // handle an incoming xfer request from the xfer system
69 void multi_data_handle_incoming(int handle);
70
71 // send all my files as necessary
72 void multi_data_send_my_junk();
73
74
75 #endif
76