]> icculus.org git repositories - taylor/freespace2.git/blob - include/multi_data.h
fix issue with looping audio streams
[taylor/freespace2.git] / include / multi_data.h
1 /*
2  * Copyright (C) Volition, Inc. 1999.  All rights reserved.
3  *
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
6  * the source.
7  */
8
9 /*
10  * $Logfile: /Freespace2/code/Network/multi_data.h $
11  * $Revision$
12  * $Date$
13  * $Author$
14  *
15  * $Log$
16  * Revision 1.2  2002/06/09 04:41:14  relnev
17  * added copyright header
18  *
19  * Revision 1.1.1.1  2002/05/03 03:28:12  root
20  * Initial import.
21  * 
22  * 
23  * 4     12/14/98 12:13p Dave
24  * Spiffed up xfer system a bit. Put in support for squad logo file xfer.
25  * Need to test now.
26  * 
27  * 3     11/05/98 5:55p Dave
28  * Big pass at reducing #includes
29  * 
30  * 2     10/07/98 10:53a Dave
31  * Initial checkin.
32  * 
33  * 1     10/07/98 10:50a Dave
34  * 
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.
39  * 
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.
44  * 
45  * 2     3/21/98 7:14p Dave
46  * Fixed up standalone player slot switching. Made training missions not
47  * count towards player stats.
48  * 
49  * 1     2/19/98 6:21p Dave
50  * Player data file xfer module.
51  * 
52  * $NoKeywords: $
53  */
54
55 #ifndef _MULTI_PLAYER_DATA_HEADER_FILE
56 #define _MULTI_PLAYER_DATA_HEADER_FILE
57
58 // -------------------------------------------------------------------------
59 // MULTI DATA DEFINES/VARS
60 //
61
62
63 // -------------------------------------------------------------------------
64 // MULTI DATA FUNCTIONS
65 //
66
67 // reset the data xfer system
68 void multi_data_reset();
69
70 // handle a player join (clear out lists of files, etc)
71 void multi_data_handle_join(int player_index);
72
73 // handle a player drop (essentially the same as multi_data_handle_join)
74 void multi_data_handle_drop(int player_index);
75
76 // do all sync related data stuff (server-side only)
77 void multi_data_do();
78
79 // handle an incoming xfer request from the xfer system
80 void multi_data_handle_incoming(int handle);
81
82 // send all my files as necessary
83 void multi_data_send_my_junk();
84
85
86 #endif
87