UFO: Alien Invasion
Loading...
Searching...
No Matches
mp_serverlist.h File Reference

Serverlist management headers for multiplayer. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  serverList_t

Macros

#define MAX_BOOKMARKS   16

Functions

void GAME_MP_PingServers_f (void)
 The first function called when entering the multiplayer menu, then CL_Frame takes over.
void GAME_MP_ParseTeamInfoMessage (dbuffer *msg)
 Team selection text.
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

Detailed Description

Serverlist management headers for multiplayer.

Definition in file mp_serverlist.h.

Macro Definition Documentation

◆ MAX_BOOKMARKS

#define MAX_BOOKMARKS   16

Function Documentation

◆ CL_ParseServerInfoMessage()

void CL_ParseServerInfoMessage ( dbuffer * msg,
const char * hostname )

◆ GAME_MP_ParseTeamInfoMessage()

void GAME_MP_ParseTeamInfoMessage ( dbuffer * msg)

Team selection text.

This function fills the multiplayer_selectteam menu with content

See also
NET_OOB_Printf
SVC_TeamInfo
GAME_MP_SelectTeam_Init_f
Todo
warning must not be into the player list. if we see this we are the first player that would be connected to the server

Definition at line 208 of file mp_serverlist.cpp.

References _, cgi, DEBUG_CLIENT, GAME_MP_ParseTeamInfoMessage(), Info_IntegerForKey(), Info_ValueForKey(), MAX_TEAMS, teamData_t::maxPlayersPerTeam, teamData_t::maxteams, OBJZERO, TEAM_NO_ACTIVE, teamData_t::teamCount, teamData, TEXT_MULTIPLAYER_USERLIST, TEXT_MULTIPLAYER_USERTEAM, and va().

Referenced by GAME_MP_HandleServerCommand(), and GAME_MP_ParseTeamInfoMessage().

◆ GAME_MP_PingServers_f()

void GAME_MP_PingServers_f ( void )

◆ GAME_MP_ServerListInit()

void GAME_MP_ServerListInit ( const struct cgame_import_s * import)

◆ GAME_MP_ServerListShutdown()

void GAME_MP_ServerListShutdown ( void )

Variable Documentation

◆ selectedServer