Open source remastering of the Freespace 2 engine
multi_data.cpp File Reference
#include <time.h>
#include <ctype.h>
#include "network/multi.h"
#include "network/multi_data.h"
#include "network/multi_xfer.h"
#include "network/multiutil.h"
#include "playerman/player.h"
#include "cfile/cfile.h"
#include "globalincs/systemvars.h"

Go to the source code of this file.


struct  np_data


#define MAX_MULTI_DATA   40


typedef struct np_data np_data


int multi_data_is_data (char *filename)
int multi_data_get_free ()
int multi_data_add_new (char *filename, int player_index)
void multi_data_maybe_reload ()
void multi_data_reset ()
void multi_data_handle_join (int player_index)
void multi_data_handle_drop (int player_index)
void multi_data_do ()
void multi_data_handle_incoming (int handle)
void multi_data_send_my_junk ()


np_data Multi_data [MAX_MULTI_DATA]
time_t Multi_data_time = 0

Macro Definition Documentation

#define MAX_MULTI_DATA   40

Definition at line 30 of file multi_data.cpp.

Typedef Documentation

typedef struct np_data np_data

Function Documentation

int multi_data_add_new ( char *  filename,
int  player_index 

Definition at line 381 of file multi_data.cpp.

void multi_data_do ( )

Definition at line 103 of file multi_data.cpp.

int multi_data_get_free ( )

Definition at line 365 of file multi_data.cpp.

void multi_data_handle_drop ( int  player_index)

Definition at line 90 of file multi_data.cpp.

void multi_data_handle_incoming ( int  handle)

Definition at line 143 of file multi_data.cpp.

void multi_data_handle_join ( int  player_index)

Definition at line 79 of file multi_data.cpp.

int multi_data_is_data ( char *  filename)

Definition at line 338 of file multi_data.cpp.

void multi_data_maybe_reload ( )

Definition at line 410 of file multi_data.cpp.

void multi_data_reset ( )

Definition at line 68 of file multi_data.cpp.

void multi_data_send_my_junk ( )

Definition at line 233 of file multi_data.cpp.

Variable Documentation

np_data Multi_data[MAX_MULTI_DATA]

Definition at line 40 of file multi_data.cpp.

time_t Multi_data_time = 0

Definition at line 43 of file multi_data.cpp.