FS2_Open
Open source remastering of the Freespace 2 engine
|
#include "globalincs/pstypes.h"
#include "network/psnet2.h"
#include "network/multi_ping.h"
#include "network/multi_options.h"
#include "io/keycontrol.h"
#include "globalincs/globals.h"
Go to the source code of this file.
Classes | |
struct | header |
struct | net_player_server_info |
struct | net_player_info |
struct | net_player |
struct | netgame_info |
struct | active_game |
struct | server_item |
struct | join_request |
struct | network_buffer |
Typedefs | |
typedef struct header | header |
typedef struct net_player_server_info | net_player_server_info |
typedef struct net_player_info | net_player_info |
typedef struct net_player | net_player |
typedef struct netgame_info | netgame_info |
typedef struct active_game | active_game |
typedef struct server_item | server_item |
typedef struct join_request | join_request |
typedef struct network_buffer | network_buffer |
#define AG_FLAG_CONNECTION_SPEED_MASK ((1<<12)|(1<<13)|(1<<14)) |
#define AG_FLAG_STATE_MASK (AG_FLAG_FORMING|AG_FLAG_BRIEFING|AG_FLAG_DEBRIEF|AG_FLAG_PAUSE|AG_FLAG_IN_MISSION) |
#define AG_FLAG_TYPE_MASK (AG_FLAG_COOP|AG_FLAG_TEAMS|AG_FLAG_DOGFIGHT) |
#define ASTEROID_SIG_MIN (DEBRIS_SIG_MAX+1) |
#define DEBRIS_SIG_MIN (REAL_SHIP_SIG_MAX+1) |
#define MULTI_CONNECTED | ( | np | ) | (np.flags & NETINFO_FLAG_CONNECTED) |
#define MULTI_COOP ((Game_mode & GM_MULTIPLAYER) && (Netgame.type_flags & NG_TYPE_COOP)) |
#define MULTI_DOGFIGHT ((Game_mode & GM_MULTIPLAYER) && (Netgame.type_flags & NG_TYPE_DOGFIGHT)) |
#define MULTI_FS_SERVER_COMPATIBLE_VERSION MULTI_FS_SERVER_VERSION |
#define MULTI_HOST | ( | np | ) | (np.flags & NETINFO_FLAG_GAME_HOST) |
#define MULTI_IN_MISSION ( (Netgame.game_state == NETGAME_STATE_IN_MISSION) || (Netgame.game_state == NETGAME_STATE_PAUSED) ) |
#define MULTI_IS_TRACKER_GAME (Om_tracker_flag) |
#define MULTI_NOT_COOP ((Game_mode & GM_MULTIPLAYER) && !(Netgame.type_flags & NG_TYPE_COOP)) |
#define MULTI_NOT_DOGFIGHT ((Game_mode & GM_MULTIPLAYER) && !(Netgame.type_flags & NG_TYPE_DOGFIGHT)) |
#define MULTI_NOT_TEAM ((Game_mode & GM_MULTIPLAYER) && !(Netgame.type_flags & NG_TYPE_TEAM)) |
#define MULTI_OBSERVER | ( | np | ) | (np.flags & NETINFO_FLAG_OBSERVER) |
#define MULTI_PERM_OBSERVER | ( | np | ) | ((np.flags & NETINFO_FLAG_OBSERVER) && !(np.flags & NETINFO_FLAG_OBS_PLAYER)) |
#define MULTI_SERVER | ( | np | ) | (np.flags & NETINFO_FLAG_AM_MASTER) |
#define MULTI_STANDALONE | ( | np | ) | ((np.flags & NETINFO_FLAG_AM_MASTER) && !(np.flags & NETINFO_FLAG_GAME_HOST)) |
#define MULTI_TEAM ((Game_mode & GM_MULTIPLAYER) && (Netgame.type_flags & NG_TYPE_TEAM)) |
#define MULTI_TEMP_OBSERVER | ( | np | ) | ((np.flags & NETINFO_FLAG_OBSERVER) && (np.flags & NETINFO_FLAG_OBS_PLAYER)) |
#define MULTIPLAYER_CLIENT ( (Game_mode & GM_MULTIPLAYER) && !(Net_player->flags & NETINFO_FLAG_AM_MASTER) ) |
#define MULTIPLAYER_HOST ( (Game_mode & GM_MULTIPLAYER) && (Net_player->flags & NETINFO_FLAG_GAME_HOST) ) |
#define MULTIPLAYER_MASTER ( (Game_mode & GM_MULTIPLAYER) && (Net_player->flags & NETINFO_FLAG_AM_MASTER) ) |
#define MULTIPLAYER_STANDALONE ( (Game_mode & GM_MULTIPLAYER) && (Net_players[0].flags & NETINFO_FLAG_AM_MASTER) && !(Net_players[0].flags & NETINFO_FLAG_GAME_HOST) ) |
#define MY_NET_PLAYER_NUM (NET_PLAYER_INDEX(Net_player)) |
#define NET_PLAYER_INDEX | ( | np | ) | (np-Net_players) |
#define NET_PLAYER_NUM | ( | np | ) | (NET_PLAYER_INDEX(np)) |
#define NETPLAYER_IS_DEAD | ( | player | ) | (player->flags & (NETINFO_FLAG_LIMBO|NETINFO_FLAG_RESPAWNING)) |
#define NETPLAYER_IS_OBSERVER | ( | player | ) | (player->flags & (NETINFO_FLAG_OBSERVER|NETINFO_FLAG_OBS_PLAYER)) |
#define NG_TYPE_TEAM ( NG_TYPE_TVT | NG_TYPE_SW ) |
#define NG_VERSION_ID NG_VERSION_ID_FULL |
#define NPERM_SIG_MIN (ASTEROID_SIG_MAX+1) |
#define STANDALONE_SHIP_SIG (SHIP_SIG_MAX+1) |
typedef struct active_game active_game |
typedef struct join_request join_request |
typedef struct net_player net_player |
typedef struct net_player_info net_player_info |
typedef struct net_player_server_info net_player_server_info |
typedef struct netgame_info netgame_info |
typedef struct network_buffer network_buffer |
typedef struct server_item server_item |
active_game* Active_game_head |
server_item* Game_server_head |
ushort Multi_ingame_join_sig |
Definition at line 504 of file multi_ingame.cpp.
join_request Multi_restr_join_request |
char Multi_tracker_login[MULTI_TRACKER_STRING_LEN+1] |
char Multi_tracker_passwd[MULTI_TRACKER_STRING_LEN+1] |
char Multi_tracker_squad_name[MULTI_TRACKER_STRING_LEN+1] |
net_player* Net_player |
net_player Net_players[MAX_PLAYERS] |
netgame_info Netgame |
ushort Next_asteroid_signature |
Definition at line 89 of file multiutil.cpp.
ushort Next_debris_signature |
Definition at line 91 of file multiutil.cpp.
ushort Next_non_perm_signature |
Definition at line 90 of file multiutil.cpp.
ushort Next_ship_signature |
Definition at line 88 of file multiutil.cpp.
int Om_tracker_flag |
Definition at line 247 of file optionsmenumulti.cpp.