Serverlist menu callbacks headers for multiplayer. More...
Go to the source code of this file.
Data Structures | |
struct | teamData_s |
Defines | |
#define | MAX_MESSAGE_TEXT 256 |
Typedefs | |
typedef struct teamData_s | teamData_t |
Functions | |
void | CL_Rcon_f (void) |
void | CL_Connect_f (void) |
void | CL_Disconnect_f (void) |
Binding for disconnect console command. | |
void | CL_Reconnect_f (void) |
The server is changing levels. | |
void | MP_CallbacksInit (void) |
void | MP_CallbacksShutdown (void) |
Variables | |
teamData_t | teamData |
Serverlist menu callbacks headers for multiplayer.
Definition in file mp_callbacks.h.
#define MAX_MESSAGE_TEXT 256 |
Definition at line 29 of file mp_callbacks.h.
typedef struct teamData_s teamData_t |
void CL_Connect_f | ( | void | ) |
Definition at line 39 of file mp_callbacks.c.
References _, ca_connecting, chrDisplayList, CL_Disconnect(), CL_SetClientState(), cls, Cmd_Argc(), Cmd_Argv(), Com_Printf(), Cvar_GetInteger(), DOUBLEQUOTE, MAX_VAR, MP_LoadDefaultTeamMultiplayer(), serverList_s::node, chr_list_s::num, PORT_SERVER, Q_strncpyz(), qfalse, selectedServer, client_static_s::servername, client_static_s::serverport, serverList_s::service, SV_Shutdown(), UI_InitStack(), UI_Popup(), and UI_PushWindow().
Referenced by MP_CallbacksInit().
void CL_Disconnect_f | ( | void | ) |
Binding for disconnect console command.
Definition at line 148 of file mp_callbacks.c.
References CL_Drop(), and SV_ShutdownWhenEmpty().
Referenced by MP_CallbacksInit().
void CL_Rcon_f | ( | void | ) |
Send the rest of the command line over as an unconnected command.
Definition at line 104 of file mp_callbacks.c.
References ca_connected, CL_RconCallback(), cls, Cmd_Argc(), Cmd_Args(), Cmd_Argv(), Com_Printf(), Com_sprintf(), DOUBLEQUOTE, MAX_STRING_CHARS, NET_Connect(), NET_OOB_Printf(), NET_StreamSetCallback(), client_static_s::netStream, port, PORT_SERVER, client_static_s::state, and cvar_s::string.
Referenced by MP_CallbacksInit().
void CL_Reconnect_f | ( | void | ) |
The server is changing levels.
Definition at line 157 of file mp_callbacks.c.
References ca_connecting, CL_Disconnect(), CL_Milliseconds(), CL_SetClientState(), cls, Com_Printf(), Com_ServerState(), client_static_s::connectTime, client_static_s::servername, and client_static_s::state.
Referenced by MP_CallbacksInit().
void MP_CallbacksInit | ( | void | ) |
Definition at line 282 of file mp_callbacks.c.
References CL_CompleteNetworkAddress(), CL_Connect_f(), CL_Disconnect_f(), CL_PingServers_f(), CL_Rcon_f(), CL_Reconnect_f(), CL_SelectTeam_Init_f(), CL_TeamNum_f(), Cmd_AddCommand(), Cmd_AddParamCompleteFunction(), Cvar_Get(), CVAR_USERINFO, MP_AutoTeam_f(), MP_LoadTeamMultiplayer_f(), MP_MultiplayerTeamSlotComments_f(), MP_SaveTeamMultiplayer_f(), MP_SaveTeamState_f(), MP_TeamSelect_f(), MP_ToggleActorForTeam_f(), and MP_UpdateMenuParameters_f().
Referenced by GAME_MP_InitStartup().
void MP_CallbacksShutdown | ( | void | ) |
Definition at line 307 of file mp_callbacks.c.
References Cmd_RemoveCommand().
Referenced by GAME_MP_Shutdown().
Definition at line 34 of file mp_callbacks.c.
Referenced by CL_ParseTeamInfoMessage(), and GAME_MP_Shutdown().