1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
/*
* Copyright (C) Volition, Inc. 1999. All rights reserved.
*
* All source code herein is the property of Volition, Inc. You may not sell
* or otherwise commercially exploit the source or things you created based on the
* source.
*
*/
#ifndef _MULTI_PLAYER_DATA_HEADER_FILE
#define _MULTI_PLAYER_DATA_HEADER_FILE
// -------------------------------------------------------------------------
// MULTI DATA DEFINES/VARS
//
// -------------------------------------------------------------------------
// MULTI DATA FUNCTIONS
//
// reset the data xfer system
void multi_data_reset();
// handle a player join (clear out lists of files, etc)
void multi_data_handle_join(int player_index);
// handle a player drop (essentially the same as multi_data_handle_join)
void multi_data_handle_drop(int player_index);
// do all sync related data stuff (server-side only)
void multi_data_do();
// handle an incoming xfer request from the xfer system
void multi_data_handle_incoming(int handle);
// send all my files as necessary
void multi_data_send_my_junk();
#endif
|