Home
last modified time | relevance | path

Searched refs:maxclients (Results 1 – 22 of 22) sorted by relevance

/external/quake/quake/src/WinQuake/
Dhost.cpp161 svs.maxclients = 1; in Host_FindMaxClients()
169 svs.maxclients = Q_atoi (com_argv[i+1]); in Host_FindMaxClients()
172 svs.maxclients = 8; in Host_FindMaxClients()
183 svs.maxclients = Q_atoi (com_argv[i+1]); in Host_FindMaxClients()
185 svs.maxclients = 8; in Host_FindMaxClients()
187 if (svs.maxclients < 1) in Host_FindMaxClients()
188 svs.maxclients = 8; in Host_FindMaxClients()
189 else if (svs.maxclients > MAX_SCOREBOARD) in Host_FindMaxClients()
190 svs.maxclients = MAX_SCOREBOARD; in Host_FindMaxClients()
192 svs.maxclientslimit = svs.maxclients; in Host_FindMaxClients()
[all …]
Dcl_parse.cpp227 cl.maxclients = MSG_ReadByte (); in CL_ParseServerInfo()
228 if (cl.maxclients < 1 || cl.maxclients > MAX_SCOREBOARD) in CL_ParseServerInfo()
230 Con_Printf("Bad maxclients (%u) from server\n", cl.maxclients); in CL_ParseServerInfo()
233 cl.scores = (scoreboard_t*) Hunk_AllocName (cl.maxclients*sizeof(*cl.scores), "scores"); in CL_ParseServerInfo()
395 if (num > 0 && num <= cl.maxclients) in CL_ParseUpdate()
413 if (i > cl.maxclients) in CL_ParseUpdate()
425 if (num > 0 && num <= cl.maxclients) in CL_ParseUpdate()
636 if (slot > cl.maxclients) in CL_NewTranslation()
842 if (i >= cl.maxclients) in CL_ParseServerMessage()
850 if (i >= cl.maxclients) in CL_ParseServerMessage()
[all …]
Dsv_main.cpp200 MSG_WriteByte (&client->message, svs.maxclients); in SV_SendServerinfo()
319 for (i=0 ; i<svs.maxclients ; i++) in SV_CheckForNewClients()
322 if (i == svs.maxclients) in SV_CheckForNewClients()
762 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++) in SV_UpdateToReliableMessages()
766 for (j=0, client = svs.clients ; j<svs.maxclients ; j++, client++) in SV_UpdateToReliableMessages()
779 for (j=0, client = svs.clients ; j<svs.maxclients ; j++, client++) in SV_UpdateToReliableMessages()
827 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++) in SV_SendClientMessages()
937 if (entnum > svs.maxclients && !svent->u.v.modelindex) in SV_CreateBaseline()
947 if (entnum > 0 && entnum <= svs.maxclients) in SV_CreateBaseline()
1021 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++) in SV_SaveSpawnparms()
[all …]
Dhost_cmd.cpp91 print ("players: %i active (%i max)\n\n", net_activeconnections, svs.maxclients); in Host_Status_f()
92 for (j=0, client = svs.clients ; j<svs.maxclients ; j++, client++) in Host_Status_f()
233 for (i=0, client = svs.clients ; i<svs.maxclients ; i++, client++) in Host_Ping_f()
494 if (svs.maxclients != 1) in Host_Savegame_f()
512 for (i=0 ; i<svs.maxclients ; i++) in Host_Savegame_f()
755 for (i=svs.maxclients+1 ; i<sv.num_edicts ; i++) in SaveGamestate()
974 if (j < 0 || j >= svs.maxclients) in Host_Please_f()
993 for (j=0, cl = svs.clients ; j<svs.maxclients ; j++, cl++) in Host_Please_f()
1064 for (j = 0, client = svs.clients; j < svs.maxclients; j++, client++) in Host_Say()
1129 for (j = 0, client = svs.clients; j < svs.maxclients; j++, client++) in Host_Tell_f()
[all …]
Dpr_cmds.cpp299 if (entnum < 1 || entnum > svs.maxclients) in PF_sprint()
330 if (entnum < 1 || entnum > svs.maxclients) in PF_centerprint()
698 if (check > svs.maxclients) in PF_newcheckclient()
699 check = svs.maxclients; in PF_newcheckclient()
701 if (check == svs.maxclients) in PF_newcheckclient()
708 if (i == svs.maxclients+1) in PF_newcheckclient()
811 if (entnum < 1 || entnum > svs.maxclients) in PF_stuffcmd()
1238 for (j=0, client = svs.clients ; j<svs.maxclients ; j++, client++) in PF_lightstyle()
1521 if (entnum < 1 || entnum > svs.maxclients) in WriteDest()
1623 if (i < 1 || i > svs.maxclients) in PF_setspawnparms()
Dnet_main.cpp117 if (net_activeconnections >= svs.maxclients) in NET_NewQSocket()
200 Con_Printf ("\"maxplayers\" is \"%u\"\n", svs.maxclients); in MaxPlayers_f()
225 svs.maxclients = n; in MaxPlayers_f()
730 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++) in NET_SendToAll()
758 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++) in NET_SendToAll()
Dserver.h24 int maxclients; member
Dsv_user.cpp604 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++) in SV_RunClients()
625 if (!sv.paused && (svs.maxclients > 1 || key_dest == key_game) ) in SV_RunClients()
Dclient.h215 int maxclients; member
Dnet_loop.cpp59 hostcache[0].maxusers = svs.maxclients; in Loop_SearchForHosts()
Dsbar.cpp397 for (i=0 ; i<cl.maxclients ; i++) in Sbar_SortFrags()
835 (cl.maxclients != 1) && in Sbar_DrawFace()
948 if (cl.maxclients != 1) in Sbar_Draw()
Dnet_dgrm.cpp881 MSG_WriteByte(&net_message, svs.maxclients); in _Datagram_CheckNewConnections()
898 …for (clientNumber = 0, client = svs.clients; clientNumber < svs.maxclients; clientNumber++, client… in _Datagram_CheckNewConnections()
907 if (clientNumber == svs.maxclients) in _Datagram_CheckNewConnections()
Dgl_rmain.cpp648 if (i >= 1 && i<=cl.maxclients /* && !strcmp (currententity->model->name, "progs/player.mdl") */) in R_DrawAliasModel()
699 if (i >= 1 && i<=cl.maxclients /* && !strcmp (currententity->model->name, "progs/player.mdl") */) in R_DrawAliasModel()
980 if (cl.maxclients > 1) in R_SetupFrame()
Dr_misc.cpp374 if (cl.maxclients > 1) in R_SetupFrame()
Dmenu.cpp489 if (svs.maxclients != 1) in M_Menu_Save_f()
2557 maxplayers = svs.maxclients; in M_Menu_GameOptions_f()
Dpr_edict.cpp92 for ( i=svs.maxclients+1 ; i<sv.num_edicts ; i++) in ED_Alloc()
Dnet_ser.cpp915 MSG_WriteByte(&net_message, svs.maxclients); in _Serial_CheckNewConnections()
Dview.cpp1001 if (cl.maxclients > 1) in V_RenderView()
Dsv_phys.cpp1534 if (i > 0 && i <= svs.maxclients) in SV_Physics()
DWinQuake.ncb1244maxclients�client_state_t::gametype�client_state_t::worldmodel�model_s *�client_state_t::free_efra…
/external/quake/quake/src/QW/server/
Dsv_main.c69 cvar_t maxclients = {"maxclients","8", false, true}; variable
637 if ( maxclients.value > MAX_CLIENTS ) in SVC_DirectConnect()
641 if (maxspectators.value + maxclients.value > MAX_CLIENTS) in SVC_DirectConnect()
642 Cvar_SetValue ("maxspectators", MAX_CLIENTS - maxspectators.value + maxclients.value); in SVC_DirectConnect()
644 || (!spectator && clients >= (int)maxclients.value) ) in SVC_DirectConnect()
1321 Cvar_RegisterVariable (&maxclients); in SV_InitLocal()
/external/quake/quake/src/QW/
Dcmds.txt414 maxclients