/external/quake/quake/src/WinQuake/ |
host.cpp | 162 svs.maxclients = 1; 170 svs.maxclients = Q_atoi (com_argv[i+1]); 173 svs.maxclients = 8; 184 svs.maxclients = Q_atoi (com_argv[i+1]); 186 svs.maxclients = 8; 188 if (svs.maxclients < 1) 189 svs.maxclients = 8; 190 else if (svs.maxclients > MAX_SCOREBOARD) 191 svs.maxclients = MAX_SCOREBOARD; 193 svs.maxclientslimit = svs.maxclients; [all...] |
cl_parse.cpp | 226 // parse maxclients 227 cl.maxclients = MSG_ReadByte (); 228 if (cl.maxclients < 1 || cl.maxclients > MAX_SCOREBOARD) 230 Con_Printf("Bad maxclients (%u) from server\n", cl.maxclients); 233 cl.scores = (scoreboard_t*) Hunk_AllocName (cl.maxclients*sizeof(*cl.scores), "scores"); 395 if (num > 0 && num <= cl.maxclients) 413 if (i > cl.maxclients) 414 Sys_Error ("i >= cl.maxclients"); [all...] |
sv_main.cpp | 200 MSG_WriteByte (&client->message, svs.maxclients); 319 for (i=0 ; i<svs.maxclients ; i++) 322 if (i == svs.maxclients) 762 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++) 766 for (j=0, client = svs.clients ; j<svs.maxclients ; j++, client++) 779 for (j=0, client = svs.clients ; j<svs.maxclients ; j++, client++) 827 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++) 937 if (entnum > svs.maxclients && !svent->u.v.modelindex) 947 if (entnum > 0 && entnum <= svs.maxclients) 1021 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++ [all...] |
host_cmd.cpp | 91 print ("players: %i active (%i max)\n\n", net_activeconnections, svs.maxclients); 92 for (j=0, client = svs.clients ; j<svs.maxclients ; j++, client++) 233 for (i=0, client = svs.clients ; i<svs.maxclients ; i++, client++) 494 if (svs.maxclients != 1) 512 for (i=0 ; i<svs.maxclients ; i++) 755 for (i=svs.maxclients+1 ; i<sv.num_edicts ; i++) 974 if (j < 0 || j >= svs.maxclients) 993 for (j=0, cl = svs.clients ; j<svs.maxclients ; j++, cl++) 1064 for (j = 0, client = svs.clients; j < svs.maxclients; j++, client++) 1129 for (j = 0, client = svs.clients; j < svs.maxclients; j++, client++ [all...] |
net_main.cpp | 117 if (net_activeconnections >= svs.maxclients) 200 Con_Printf ("\"maxplayers\" is \"%u\"\n", svs.maxclients); 225 svs.maxclients = n; 730 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++) 758 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++)
|
pr_cmds.cpp | 299 if (entnum < 1 || entnum > svs.maxclients) 330 if (entnum < 1 || entnum > svs.maxclients) 698 if (check > svs.maxclients) 699 check = svs.maxclients; 701 if (check == svs.maxclients) 708 if (i == svs.maxclients+1) 811 if (entnum < 1 || entnum > svs.maxclients) 1238 for (j=0, client = svs.clients ; j<svs.maxclients ; j++, client++) 1521 if (entnum < 1 || entnum > svs.maxclients) 1623 if (i < 1 || i > svs.maxclients) [all...] |
client.h | 215 int maxclients; member in struct:__anon10654 228 scoreboard_t *scores; // [cl.maxclients]
|
net_loop.cpp | 59 hostcache[0].maxusers = svs.maxclients;
|
server.h | 24 int maxclients; member in struct:__anon10908 26 struct client_s *clients; // [maxclients]
|
sv_user.cpp | 604 for (i=0, host_client = svs.clients ; i<svs.maxclients ; i++, host_client++) 625 if (!sv.paused && (svs.maxclients > 1 || key_dest == key_game) )
|
r_misc.cpp | 374 if (cl.maxclients > 1)
|
net_dgrm.cpp | 881 MSG_WriteByte(&net_message, svs.maxclients); 898 for (clientNumber = 0, client = svs.clients; clientNumber < svs.maxclients; clientNumber++, client++) 907 if (clientNumber == svs.maxclients) [all...] |
sbar.cpp | 397 for (i=0 ; i<cl.maxclients ; i++) 835 (cl.maxclients != 1) && 948 if (cl.maxclients != 1)
|
gl_rmain.cpp | 648 if (i >= 1 && i<=cl.maxclients /* && !strcmp (currententity->model->name, "progs/player.mdl") */) 699 if (i >= 1 && i<=cl.maxclients /* && !strcmp (currententity->model->name, "progs/player.mdl") */) 980 if (cl.maxclients > 1) [all...] |
menu.cpp | 489 if (svs.maxclients != 1) [all...] |
net_ser.cpp | 915 MSG_WriteByte(&net_message, svs.maxclients);
|
pr_edict.cpp | 92 for ( i=svs.maxclients+1 ; i<sv.num_edicts ; i++)
|
view.cpp | 1001 if (cl.maxclients > 1) 1014 if (!cl.paused /* && (sv.maxclients > 1 || key_dest == key_game) */ )
|
sv_phys.cpp | [all...] |
/external/quake/quake/src/QW/server/ |
sv_main.c | 69 cvar_t maxclients = {"maxclients","8", false, true}; variable 637 if ( maxclients.value > MAX_CLIENTS ) 638 Cvar_SetValue ("maxclients", MAX_CLIENTS); 641 if (maxspectators.value + maxclients.value > MAX_CLIENTS) 642 Cvar_SetValue ("maxspectators", MAX_CLIENTS - maxspectators.value + maxclients.value); 644 || (!spectator && clients >= (int)maxclients.value) ) 1321 Cvar_RegisterVariable (&maxclients); [all...] |