/external/quake/quake/src/QW/server/ |
D | sv_main.c | 166 for (i=0, cl = svs.clients ; i<MAX_CLIENTS ; i++, cl++) in SV_FinalMessage() 278 i = client - svs.clients; in SV_FullClientUpdate() 350 Con_Printf ("%s\n", svs.info); in SVC_Status() 353 cl = &svs.clients[i]; in SVC_Status() 381 sz = &svs.log[svs.logsequence&1]; in SV_CheckLog() 386 || (realtime - svs.logtime > LOG_FLUSH && sz->cursize) ) in SV_CheckLog() 389 svs.logtime = realtime; in SV_CheckLog() 390 svs.logsequence++; in SV_CheckLog() 391 sz = &svs.log[svs.logsequence&1]; in SV_CheckLog() 393 Con_Printf ("beginning fraglog sequence %i\n", svs.logsequence); in SV_CheckLog() [all …]
|
D | sv_ccmds.c | 73 svs.last_heartbeat = -99999; in SV_SetMaster_f() 173 for (i=0,cl=svs.clients ; i<MAX_CLIENTS ; i++,cl++) in SV_SetPlayer() 357 for (i = 0, cl = svs.clients; i < MAX_CLIENTS; i++, cl++) in SV_Kick_f() 389 cpu = (svs.stats.latched_active+svs.stats.latched_idle); in SV_Status_f() 391 cpu = 100*svs.stats.latched_active/cpu; in SV_Status_f() 392 avg = 1000*svs.stats.latched_active / STATFRAMES; in SV_Status_f() 393 pak = (float)svs.stats.latched_packets/ STATFRAMES; in SV_Status_f() 407 for (i=0,cl=svs.clients ; i<MAX_CLIENTS ; i++,cl++) in SV_Status_f() 440 for (i=0,cl=svs.clients ; i<MAX_CLIENTS ; i++,cl++) in SV_Status_f() 508 for (j = 0, client = svs.clients; j < MAX_CLIENTS; j++, client++) in SV_ConSay_f() [all …]
|
D | sv_init.c | 23 server_static_t svs; // persistant server info variable 158 svs.serverflags = pr_global_struct->serverflags; in SV_SaveSpawnparms() 160 for (i=0, host_client = svs.clients ; i<MAX_CLIENTS ; i++, host_client++) in SV_SaveSpawnparms() 290 svs.spawncount++; // any partially connected client will be in SV_SpawnServer() 332 svs.clients[i].edict = ent; in SV_SpawnServer() 334 svs.clients[i].old_frags = 0; in SV_SpawnServer() 381 pr_global_struct->serverflags = svs.serverflags; in SV_SpawnServer() 408 Info_SetValueForKey (svs.info, "map", sv.name, MAX_SERVERINFO_STRING); in SV_SpawnServer()
|
D | sv_user.c | 72 gamedir = Info_ValueForKey (svs.info, "*gamedir"); in SV_New_f() 87 MSG_WriteLong (&host_client->netchan.message, svs.spawncount); in SV_New_f() 116 MSG_WriteString (&host_client->netchan.message, va("fullserverinfo \"%s\"\n", svs.info) ); in SV_New_f() 136 if ( atoi(Cmd_Argv(1)) != svs.spawncount ) in SV_Soundlist_f() 186 if ( atoi(Cmd_Argv(1)) != svs.spawncount ) in SV_Modellist_f() 235 if ( atoi(Cmd_Argv(1)) != svs.spawncount ) in SV_PreSpawn_f() 280 MSG_WriteString (&host_client->netchan.message, va("cmd spawn %i 0\n",svs.spawncount) ); in SV_PreSpawn_f() 286 va("cmd prespawn %i %i\n", svs.spawncount, buf) ); in SV_PreSpawn_f() 310 if ( atoi(Cmd_Argv(1)) != svs.spawncount ) in SV_Spawn_f() 336 for (i=n, client = svs.clients + n ; i<MAX_CLIENTS ; i++, client++) in SV_Spawn_f() [all …]
|
D | pr_cmds.c | 243 client = &svs.clients[entnum-1]; in PF_sprint() 273 cl = &svs.clients[entnum-1]; in PF_centerprint() 692 cl = &svs.clients[entnum-1]; in PF_stuffcmd() 1062 for (j=0, client = svs.clients ; j<MAX_CLIENTS ; j++, client++) in PF_lightstyle() 1178 noaim = Info_ValueForKey (svs.clients[i-1].userinfo, "noaim"); in PF_aim() 1320 return &svs.clients[entnum-1].netchan.message; in WriteDest() 1351 return &svs.clients[entnum-1]; in Write_GetClient() 1483 client = svs.clients + (i-1); in PF_setspawnparms() 1500 if (svs.spawncount == last_spawncount) in PF_changelevel() 1502 last_spawncount = svs.spawncount; in PF_changelevel() [all …]
|
D | sv_send.c | 209 for (i=0, cl = svs.clients ; i<MAX_CLIENTS ; i++, cl++) in SV_BroadcastPrintf() 298 for (j = 0, client = svs.clients; j < MAX_CLIENTS; j++, client++) in SV_Multicast() 530 ent = svs.clients[client->spec_track - 1].edict; in SV_UpdateClientStats() 625 for (i=0, host_client = svs.clients ; i<MAX_CLIENTS ; i++, host_client++) in SV_UpdateToReliableMessages() 636 for (j=0, client = svs.clients ; j<MAX_CLIENTS ; j++, client++) in SV_UpdateToReliableMessages() 670 for (j=0, client = svs.clients ; j<MAX_CLIENTS ; j++, client++) in SV_UpdateToReliableMessages() 709 for (i=0, c = svs.clients ; i<MAX_CLIENTS ; i++, c++) in SV_SendClientMessages() 800 for (i=0, c = svs.clients ; i<MAX_CLIENTS ; i++, c++) in SV_SendMessagesToAll()
|
D | server.h | 329 extern server_static_t svs; // persistant server info
|
D | sv_ents.c | 331 for (j=0,cl=svs.clients ; j<MAX_CLIENTS ; j++,cl++) in SV_WritePlayersToClient()
|
D | pr_edict.c | 977 Info_SetValueForStarKey (svs.info, "*progs", num, MAX_SERVERINFO_STRING); in PR_LoadProgs()
|
/external/quake/quake/src/WinQuake/ |
D | host.cpp | 161 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 …]
|
D | host_cmd.cpp | 91 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() 287 svs.serverflags = 0; // haven't completed an episode yet in Host_Map_f() 494 if (svs.maxclients != 1) in Host_Savegame_f() 512 for (i=0 ; i<svs.maxclients ; i++) in Host_Savegame_f() 514 if (svs.clients[i].active && (svs.clients[i].edict->u.v.health <= 0) ) in Host_Savegame_f() 536 fprintf (f, "%f\n", svs.clients->spawn_parms[i]); in Host_Savegame_f() 707 svs.clients->spawn_parms[i] = spawn_parms[i]; in Host_Loadgame_f() 755 for (i=svs.maxclients+1 ; i<sv.num_edicts ; i++) in SaveGamestate() [all …]
|
D | sv_main.cpp | 25 server_static_t svs; variable 200 MSG_WriteByte (&client->message, svs.maxclients); in SV_SendServerinfo() 252 client = svs.clients + clientnum; in SV_ConnectClient() 319 for (i=0 ; i<svs.maxclients ; i++) in SV_CheckForNewClients() 320 if (!svs.clients[i].active) in SV_CheckForNewClients() 322 if (i == svs.maxclients) in SV_CheckForNewClients() 325 svs.clients[i].netconnection = ret; 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() [all …]
|
D | pr_cmds.cpp | 299 if (entnum < 1 || entnum > svs.maxclients) in PF_sprint() 305 client = &svs.clients[entnum-1]; in PF_sprint() 330 if (entnum < 1 || entnum > svs.maxclients) in PF_centerprint() 336 client = &svs.clients[entnum-1]; 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() 816 host_client = &svs.clients[entnum-1]; in PF_stuffcmd() [all …]
|
D | net_main.cpp | 117 if (net_activeconnections >= svs.maxclients) in NET_NewQSocket() 200 Con_Printf ("\"maxplayers\" is \"%u\"\n", svs.maxclients); in MaxPlayers_f() 213 if (n > svs.maxclientslimit) in MaxPlayers_f() 215 n = svs.maxclientslimit; 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() 836 net_numsockets = svs.maxclientslimit; in NET_Init()
|
D | sv_user.cpp | 604 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()
|
D | server.h | 205 extern server_static_t svs; // persistant server info
|
D | net_dgrm.cpp | 881 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()
|
D | net_loop.cpp | 59 hostcache[0].maxusers = svs.maxclients; in Loop_SearchForHosts()
|
D | menu.cpp | 489 if (svs.maxclients != 1) in M_Menu_Save_f() 2557 maxplayers = svs.maxclients; in M_Menu_GameOptions_f() 2559 maxplayers = svs.maxclientslimit; in M_Menu_GameOptions_f() 2700 if (maxplayers > svs.maxclientslimit) in M_NetStart_Change() 2702 maxplayers = svs.maxclientslimit; in M_NetStart_Change()
|
D | sv_phys.cpp | 1061 if ( ! svs.clients[num-1].active ) in SV_Physics_Client() 1534 if (i > 0 && i <= svs.maxclients) in SV_Physics()
|
D | pr_edict.cpp | 92 for ( i=svs.maxclients+1 ; i<sv.num_edicts ; i++) in ED_Alloc()
|
D | net_ser.cpp | 915 MSG_WriteByte(&net_message, svs.maxclients); in _Serial_CheckNewConnections()
|
D | WinQuake.ncb | 1244 …SSV_SendClientMessagesSV_InitSV_UpdateToReliableMessagesSV_AddToFatPVSsvsserver_static_tSV_…
|
/external/quake/quake/src/QW/client/ |
D | cvar.c | 131 Info_SetValueForKey (svs.info, var_name, value, MAX_SERVERINFO_STRING); in Cvar_Set()
|