UFO: Alien Invasion
|
Serverlist management headers for multiplayer. More...
Go to the source code of this file.
Data Structures | |
struct | serverList_s |
Macros | |
#define | MAX_BOOKMARKS 16 |
Typedefs | |
typedef struct serverList_s | serverList_t |
Functions | |
void | GAME_MP_PingServers_f (void) |
The first function called when entering the multiplayer menu, then CL_Frame takes over. More... | |
void | GAME_MP_ParseTeamInfoMessage (dbuffer *msg) |
Team selection text. More... | |
void | CL_ParseServerInfoMessage (dbuffer *msg, const char *hostname) |
void | GAME_MP_ServerListInit (const struct cgame_import_s *import) |
void | GAME_MP_ServerListShutdown (void) |
Variables | |
serverList_t * | selectedServer |
Serverlist management headers for multiplayer.
Definition in file mp_serverlist.h.
#define MAX_BOOKMARKS 16 |
Definition at line 28 of file mp_serverlist.h.
Referenced by GAME_MP_BookmarkAdd_f(), GAME_MP_CompleteNetworkAddress(), and GAME_MP_ServerListInit().
typedef struct serverList_s serverList_t |
Team selection text.
This function fills the multiplayer_selectteam menu with content
Definition at line 208 of file mp_serverlist.cpp.
References _, DEBUG_CLIENT, Info_IntegerForKey(), Info_ValueForKey(), MAX_TEAMS, teamData_s::maxPlayersPerTeam, teamData_s::maxteams, OBJZERO, TEAM_NO_ACTIVE, teamData_s::teamCount, teamData, TEXT_MULTIPLAYER_USERLIST, TEXT_MULTIPLAYER_USERTEAM, user, and va().
Referenced by GAME_MP_HandleServerCommand().
The first function called when entering the multiplayer menu, then CL_Frame takes over.
Definition at line 531 of file mp_serverlist.cpp.
References cgame_import_s::Cmd_Argv(), DEBUG_CLIENT, DOUBLEQUOTE, GAME_MP_QueryMasterServerThread(), GAME_MP_ServerListDiscoveryCallback(), i, lastServerQuery, cgame_import_s::NET_DatagramSocketNew(), OBJZERO, PORT_CLIENT, PORT_SERVER, Q_streq, serverListLength, serverListPos, SERVERQUERYTIMEOUT, serversAlreadyQueried, serverText, and TEXT_LIST.
void GAME_MP_ServerListInit | ( | const struct cgame_import_s * | import | ) |
Definition at line 597 of file mp_serverlist.cpp.
Referenced by GAME_MP_Shutdown().
serverList_t* selectedServer |
Definition at line 39 of file mp_serverlist.cpp.
Referenced by GAME_MP_Connect_f().