2 * Copyright (C) Volition, Inc. 1999. All rights reserved.
4 * All source code herein is the property of Volition, Inc. You may not sell
5 * or otherwise commercially exploit the source or things you created based on
10 * $Logfile: /Freespace2/code/Network/multi_data.h $
16 * Revision 1.2 2002/06/09 04:41:14 relnev
17 * added copyright header
19 * Revision 1.1.1.1 2002/05/03 03:28:12 root
23 * 4 12/14/98 12:13p Dave
24 * Spiffed up xfer system a bit. Put in support for squad logo file xfer.
27 * 3 11/05/98 5:55p Dave
28 * Big pass at reducing #includes
30 * 2 10/07/98 10:53a Dave
33 * 1 10/07/98 10:50a Dave
35 * 4 3/26/98 6:01p Dave
36 * Put in file checksumming routine in cfile. Made pilot pic xferring more
37 * robust. Cut header size of voice data packets in half. Put in
38 * restricted game host query system.
40 * 3 3/23/98 5:42p Dave
41 * Put in automatic xfer of pilot pic files. Changed multi_xfer system so
42 * that it can support multiplayer sends/received between client and
43 * server simultaneously.
45 * 2 3/21/98 7:14p Dave
46 * Fixed up standalone player slot switching. Made training missions not
47 * count towards player stats.
49 * 1 2/19/98 6:21p Dave
50 * Player data file xfer module.
55 #ifndef _MULTI_PLAYER_DATA_HEADER_FILE
56 #define _MULTI_PLAYER_DATA_HEADER_FILE
58 // -------------------------------------------------------------------------
59 // MULTI DATA DEFINES/VARS
63 // -------------------------------------------------------------------------
64 // MULTI DATA FUNCTIONS
67 // reset the data xfer system
68 void multi_data_reset();
70 // handle a player join (clear out lists of files, etc)
71 void multi_data_handle_join(int player_index);
73 // handle a player drop (essentially the same as multi_data_handle_join)
74 void multi_data_handle_drop(int player_index);
76 // do all sync related data stuff (server-side only)
79 // handle an incoming xfer request from the xfer system
80 void multi_data_handle_incoming(int handle);
82 // send all my files as necessary
83 void multi_data_send_my_junk();