Open source remastering of the Freespace 2 engine
fs2netd_client.cpp File Reference
#include "bmpman/bmpman.h"
#include "cfile/cfile.h"
#include "cfile/cfilesystem.h"
#include "cmdline/cmdline.h"
#include "fs2netd/fs2netd_client.h"
#include "fs2netd/tcp_client.h"
#include "gamesnd/gamesnd.h"
#include "globalincs/alphacolors.h"
#include "globalincs/pstypes.h"
#include "graphics/2d.h"
#include "graphics/font.h"
#include "io/timer.h"
#include "mod_table/mod_table.h"
#include "network/multi.h"
#include "network/multi_log.h"
#include "network/multi_options.h"
#include "network/multi_pxo.h"
#include "network/multimsgs.h"
#include "network/multiui.h"
#include "network/multiutil.h"
#include "network/stand_gui.h"
#include "osapi/osregistry.h"
#include "playerman/player.h"
#include "popup/popup.h"
#include <cstdio>
#include <stdlib.h>
#include <unistd.h>
#include <cerrno>
#include <string>
#include <limits.h>

Go to the source code of this file.


#define FS2NETD_DEFAULT_PORT   "12009"
#define FS2NETD_DEFAULT_SERVER   "fs2netd.game-warden.com"
#define FS2NETD_DEFAULT_CHAT_SERVER   "fs2netd.game-warden.com"
#define FS2NETD_DEFAULT_BANNER_URL   "http://fs2netd.game-warden.com/files/banners"


void HUD_printf (const char *format,...)
int game_hacked_data ()
void fs2netd_options_config_init ()
bool fs2netd_is_online ()
void fs2netd_reset_connection ()
void fs2netd_disconnect ()
void fs2netd_connect ()
int fs2netd_login_do ()
bool fs2netd_login ()
void fs2netd_do_frame ()
void fs2netd_gameserver_start ()
void fs2netd_gameserver_update (bool force)
void fs2netd_gameserver_disconnect ()
void fs2netd_send_game_request ()
int fs2netd_check_mission_do ()
bool fs2netd_check_mission (char *mission_name)
void fs2netd_store_stats ()
int fs2netd_update_ban_list_do ()
void fs2netd_update_ban_list ()
bool fs2netd_player_banned (net_addr *addr)
int fs2netd_get_valid_missions_do ()
bool fs2netd_get_valid_missions ()
int fs2netd_update_valid_tables_do ()
int fs2netd_update_valid_tables ()
void fs2netd_add_table_validation (const char *tblname)
int fs2netd_get_pilot_info (const char *callsign, player *out_plr, bool first_call)
void fs2netd_close ()
void fs2netd_update_game_count (const char *chan_name)
void fs2netd_spew_table_checksums (char *outfile)


int Multi_debrief_stats_accept_code
SCP_vector< crc_valid_statusTable_valid_status
char Multi_fs_tracker_channel [MAX_PATH] = ""
char Multi_fs_tracker_filter [MAX_PATH] = ""
tracker_game_data Multi_tracker_game_data

Macro Definition Documentation

#define FS2NETD_DEFAULT_BANNER_URL   "http://fs2netd.game-warden.com/files/banners"

Definition at line 51 of file fs2netd_client.cpp.

#define FS2NETD_DEFAULT_CHAT_SERVER   "fs2netd.game-warden.com"

Definition at line 50 of file fs2netd_client.cpp.

#define FS2NETD_DEFAULT_PORT   "12009"

Definition at line 48 of file fs2netd_client.cpp.

#define FS2NETD_DEFAULT_SERVER   "fs2netd.game-warden.com"

Definition at line 49 of file fs2netd_client.cpp.

Function Documentation

void fs2netd_add_table_validation ( const char *  tblname)

Definition at line 1554 of file fs2netd_client.cpp.

bool fs2netd_check_mission ( char *  mission_name)

Definition at line 951 of file fs2netd_client.cpp.

int fs2netd_check_mission_do ( )

Definition at line 927 of file fs2netd_client.cpp.

void fs2netd_close ( )

Definition at line 1633 of file fs2netd_client.cpp.

void fs2netd_connect ( )

Definition at line 241 of file fs2netd_client.cpp.

void fs2netd_disconnect ( )

Definition at line 199 of file fs2netd_client.cpp.

void fs2netd_do_frame ( )

Definition at line 785 of file fs2netd_client.cpp.

void fs2netd_gameserver_disconnect ( )

Definition at line 897 of file fs2netd_client.cpp.

void fs2netd_gameserver_start ( )

Definition at line 823 of file fs2netd_client.cpp.

void fs2netd_gameserver_update ( bool  force)

Definition at line 865 of file fs2netd_client.cpp.

int fs2netd_get_pilot_info ( const char *  callsign,
player out_plr,
bool  first_call 

Definition at line 1582 of file fs2netd_client.cpp.

bool fs2netd_get_valid_missions ( )

Definition at line 1381 of file fs2netd_client.cpp.

int fs2netd_get_valid_missions_do ( )

Definition at line 1253 of file fs2netd_client.cpp.

bool fs2netd_is_online ( )

Definition at line 168 of file fs2netd_client.cpp.

bool fs2netd_login ( )

Definition at line 360 of file fs2netd_client.cpp.

int fs2netd_login_do ( )

Definition at line 273 of file fs2netd_client.cpp.

void fs2netd_options_config_init ( )

Definition at line 103 of file fs2netd_client.cpp.

bool fs2netd_player_banned ( net_addr addr)

Definition at line 1220 of file fs2netd_client.cpp.

void fs2netd_reset_connection ( )

Definition at line 173 of file fs2netd_client.cpp.

void fs2netd_send_game_request ( )

Definition at line 915 of file fs2netd_client.cpp.

void fs2netd_spew_table_checksums ( char *  outfile)

Definition at line 1662 of file fs2netd_client.cpp.

void fs2netd_store_stats ( )

Definition at line 1078 of file fs2netd_client.cpp.

void fs2netd_update_ban_list ( )

Definition at line 1181 of file fs2netd_client.cpp.

int fs2netd_update_ban_list_do ( )

Definition at line 1157 of file fs2netd_client.cpp.

void fs2netd_update_game_count ( const char *  chan_name)

Definition at line 1649 of file fs2netd_client.cpp.

int fs2netd_update_valid_tables ( )

Definition at line 1479 of file fs2netd_client.cpp.

int fs2netd_update_valid_tables_do ( )

Definition at line 1439 of file fs2netd_client.cpp.

int game_hacked_data ( )

Definition at line 208 of file fredstubs.cpp.

void HUD_printf ( const char *  format,

Definition at line 527 of file hudmessage.cpp.

Variable Documentation

int Multi_debrief_stats_accept_code

Definition at line 8615 of file multiui.cpp.

char Multi_fs_tracker_channel[MAX_PATH] = ""

Definition at line 80 of file fs2netd_client.cpp.

char Multi_fs_tracker_filter[MAX_PATH] = ""

Definition at line 83 of file fs2netd_client.cpp.

tracker_game_data Multi_tracker_game_data

Definition at line 85 of file fs2netd_client.cpp.

SCP_vector<crc_valid_status> Table_valid_status

Definition at line 77 of file fs2netd_client.cpp.