mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-07 18:31:26 -10:00
I've tested this through compiling and through hand checking. Normalises line endings in ALL files to \n.
44 lines
1.0 KiB
C
44 lines
1.0 KiB
C
/*
|
|
* 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
|