/dports/games/dhewm3/dhewm3-1.5.1/neo/framework/async/ |
H A D | AsyncServer.h | 147 bool IsClientInGame( int clientNum ) const; 148 int GetClientPing( int clientNum ) const; 149 int GetClientPrediction( int clientNum ) const; 173 void UpdateUI( int clientNum ); 221 void ClearClient( int clientNum ); 223 void InitLocalClient( int clientNum ); 235 bool SendPingToClient( int clientNum ); 236 void SendGameInitToClient( int clientNum ); 237 bool SendSnapshotToClient( int clientNum ); 250 bool SendReliablePureToClient( int clientNum ); [all …]
|
H A D | NetworkSystem.cpp | 44 idAsyncNetwork::server.SendReliableGameMessage( clientNum, msg ); in ServerSendReliableMessage() 64 int idNetworkSystem::ServerGetClientPing( int clientNum ) { in ServerGetClientPing() argument 66 return idAsyncNetwork::server.GetClientPing( clientNum ); in ServerGetClientPing() 76 int idNetworkSystem::ServerGetClientPrediction( int clientNum ) { in ServerGetClientPrediction() argument 78 return idAsyncNetwork::server.GetClientPrediction( clientNum ); in ServerGetClientPrediction() 100 int idNetworkSystem::ServerGetClientTimeSinceLastInput( int clientNum ) { in ServerGetClientTimeSinceLastInput() argument 102 return idAsyncNetwork::server.GetClientTimeSinceLastInput( clientNum ); in ServerGetClientTimeSinceLastInput() 112 int idNetworkSystem::ServerGetClientOutgoingRate( int clientNum ) { in ServerGetClientOutgoingRate() argument 114 return idAsyncNetwork::server.GetClientOutgoingRate( clientNum ); in ServerGetClientOutgoingRate() 124 int idNetworkSystem::ServerGetClientIncomingRate( int clientNum ) { in ServerGetClientIncomingRate() argument [all …]
|
H A D | AsyncServer.cpp | 684 memset( &userCmds[i][clientNum], 0, sizeof( userCmds[i][clientNum] ) ); in InitClient() 699 localClientNum = clientNum; in InitLocalClient() 700 InitClient( clientNum, 0, 0 ); in InitLocalClient() 762 msg.WriteInt( clientNum ); in DropClient() 788 if ( clientNum == localClientNum ) { in SendReliableMessage() 1805 for ( clientNum = 0; clientNum < MAX_ASYNC_CLIENTS; clientNum++ ) { in ProcessConnectMessage() 1851 outMsg.WriteInt( clientNum ); in ProcessConnectMessage() 1969 DropClient( clientNum, reply ); in ProcessReliablePure() 2251 if ( clientNum >= 0 && clientNum < MAX_ASYNC_CLIENTS ) { in SendReliableGameMessage() 2276 assert( clientNum >= 0 && clientNum < MAX_ASYNC_CLIENTS ); in SendReliableGameMessageExcluding() [all …]
|
H A D | NetworkSystem.h | 46 virtual void ServerSendReliableMessage( int clientNum, const idBitMsg &msg ); 47 virtual void ServerSendReliableMessageExcluding( int clientNum, const idBitMsg &msg ); 48 virtual int ServerGetClientPing( int clientNum ); 49 virtual int ServerGetClientPrediction( int clientNum ); 50 virtual int ServerGetClientTimeSinceLastPacket( int clientNum ); 51 virtual int ServerGetClientTimeSinceLastInput( int clientNum ); 52 virtual int ServerGetClientOutgoingRate( int clientNum ); 53 virtual int ServerGetClientIncomingRate( int clientNum ); 54 virtual float ServerGetClientIncomingPacketLoss( int clientNum );
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/game/ |
H A D | MultiplayerGame.h | 112 void SpawnPlayer( int clientNum ); 118 bool Draw( int clientNum ); 174 void DisconnectClient( int clientNum ); 209 void CastVote( int clientNum, bool vote ); 212 void WantKilled( int clientNum ); 214 void DropWeapon( int clientNum ); 230 void ClearFrags( int clientNum ); 232 void EnterGame( int clientNum ); 234 bool IsInGame( int clientNum ); 369 playerState[ clientNum ].fragCount = 0; in ClearFrags() [all …]
|
H A D | Game_network.cpp | 114 localClientNum = clientNum; in InitLocalClient() 203 if ( clientNum == -1 ) { in ServerRemapDecl() 298 if ( entities[ clientNum ] ) { in ServerClientConnect() 300 delete entities[ clientNum ]; in ServerClientConnect() 302 userInfo[ clientNum ].Clear(); in ServerClientConnect() 326 SpawnPlayer( clientNum ); in ServerClientBegin() 335 outMsg.WriteByte( clientNum ); in ServerClientBegin() 368 memset( clientPVS[ clientNum ], 0, sizeof( clientPVS[ clientNum ] ) ); in ServerClientDisconnect() 371 delete entities[ clientNum ]; in ServerClientDisconnect() 986 InitLocalClient( clientNum ); in ClientReadSnapshot() [all …]
|
H A D | MultiplayerGame.cpp | 192 memset( &playerState[ clientNum ], 0, sizeof( playerState[ clientNum ] ) ); in ServerClientConnect() 204 memset( &playerState[ clientNum ], 0, sizeof( playerState[ clientNum ] ) ); in SpawnPlayer() 935 if ( clientNum < 0 || clientNum > gameLocal.numClients ) { in PlayerStats() 959 playerState[ clientNum ].vote = vote; in PlayerVote() 2567 outMsg.WriteByte( clientNum ); in ClientStartVote() 2714 assert( clientNum != -1 ); in ServerCallVote() 2847 if ( lastWinner == clientNum ) { in DisconnectClient() 2908 int clientNum; in MapRestart() local 2917 for ( clientNum = 0; clientNum < gameLocal.numClients; clientNum++ ) { in MapRestart() 2948 if ( i == clientNum ) { in SwitchToTeam() [all …]
|
H A D | Game_local.h | 303 virtual void SetLocalClient( int clientNum ); 306 virtual const idDict * GetUserInfo( int clientNum ); 316 virtual void SpawnPlayer( int clientNum ); 318 virtual bool Draw( int clientNum ); 325 virtual void ServerClientBegin( int clientNum ); 326 virtual void ServerClientDisconnect( int clientNum ); 337 virtual void SwitchTeam( int clientNum, int team ); 528 void InitLocalClient( int clientNum ); 529 void InitClientDeclRemap( int clientNum ); 532 bool ApplySnapshot( int clientNum, int sequence ); [all …]
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/d3xp/ |
H A D | Game_network.cpp | 114 localClientNum = clientNum; in InitLocalClient() 203 if ( clientNum == -1 ) { in ServerRemapDecl() 298 if ( entities[ clientNum ] ) { in ServerClientConnect() 300 delete entities[ clientNum ]; in ServerClientConnect() 302 userInfo[ clientNum ].Clear(); in ServerClientConnect() 326 SpawnPlayer( clientNum ); in ServerClientBegin() 335 outMsg.WriteByte( clientNum ); in ServerClientBegin() 368 memset( clientPVS[ clientNum ], 0, sizeof( clientPVS[ clientNum ] ) ); in ServerClientDisconnect() 371 delete entities[ clientNum ]; in ServerClientDisconnect() 1000 InitLocalClient( clientNum ); in ClientReadSnapshot() [all …]
|
H A D | MultiplayerGame.h | 151 void SpawnPlayer( int clientNum ); 157 bool Draw( int clientNum ); 226 void DisconnectClient( int clientNum ); 261 void CastVote( int clientNum, bool vote ); 264 void WantKilled( int clientNum ); 266 void DropWeapon( int clientNum ); 282 void ClearFrags( int clientNum ); 284 void EnterGame( int clientNum ); 286 bool IsInGame( int clientNum ); 481 playerState[ clientNum ].fragCount = 0; in ClearFrags() [all …]
|
/dports/games/ioquake3-server/ioquake3-1.36/code/cgame/ |
H A D | cg_consolecmds.c | 184 int clientNum; in CG_TellTarget_f() local 189 if ( clientNum == -1 ) { in CG_TellTarget_f() 199 int clientNum; in CG_TellAttacker_f() local 203 clientNum = CG_LastAttacker(); in CG_TellAttacker_f() 204 if ( clientNum == -1 ) { in CG_TellAttacker_f() 214 int clientNum; in CG_VoiceTellTarget_f() local 219 if ( clientNum == -1 ) { in CG_VoiceTellTarget_f() 229 int clientNum; in CG_VoiceTellAttacker_f() local 234 if ( clientNum == -1 ) { in CG_VoiceTellAttacker_f() 365 int clientNum; in CG_TaskSuicide_f() local [all …]
|
H A D | cg_event.c | 346 int itemNum, clientNum; in CG_UseItem() local 377 clientNum = cent->currentState.clientNum; in CG_UseItem() 378 if ( clientNum >= 0 && clientNum < MAX_CLIENTS ) { in CG_UseItem() 470 int clientNum; in CG_EntityEvent() local 485 clientNum = es->clientNum; in CG_EntityEvent() 486 if ( clientNum < 0 || clientNum >= MAX_CLIENTS ) { in CG_EntityEvent() 487 clientNum = 0; in CG_EntityEvent() 535 if ( clientNum == cg.predictedPlayerState.clientNum ) { in CG_EntityEvent() 545 if ( clientNum == cg.predictedPlayerState.clientNum ) { in CG_EntityEvent() 555 if ( clientNum == cg.predictedPlayerState.clientNum ) { in CG_EntityEvent() [all …]
|
/dports/games/ioquake3/ioquake3-1.36/code/cgame/ |
H A D | cg_consolecmds.c | 184 int clientNum; in CG_TellTarget_f() local 189 if ( clientNum == -1 ) { in CG_TellTarget_f() 199 int clientNum; in CG_TellAttacker_f() local 203 clientNum = CG_LastAttacker(); in CG_TellAttacker_f() 204 if ( clientNum == -1 ) { in CG_TellAttacker_f() 214 int clientNum; in CG_VoiceTellTarget_f() local 219 if ( clientNum == -1 ) { in CG_VoiceTellTarget_f() 229 int clientNum; in CG_VoiceTellAttacker_f() local 234 if ( clientNum == -1 ) { in CG_VoiceTellAttacker_f() 365 int clientNum; in CG_TaskSuicide_f() local [all …]
|
H A D | cg_event.c | 346 int itemNum, clientNum; in CG_UseItem() local 377 clientNum = cent->currentState.clientNum; in CG_UseItem() 378 if ( clientNum >= 0 && clientNum < MAX_CLIENTS ) { in CG_UseItem() 470 int clientNum; in CG_EntityEvent() local 485 clientNum = es->clientNum; in CG_EntityEvent() 486 if ( clientNum < 0 || clientNum >= MAX_CLIENTS ) { in CG_EntityEvent() 487 clientNum = 0; in CG_EntityEvent() 535 if ( clientNum == cg.predictedPlayerState.clientNum ) { in CG_EntityEvent() 545 if ( clientNum == cg.predictedPlayerState.clientNum ) { in CG_EntityEvent() 555 if ( clientNum == cg.predictedPlayerState.clientNum ) { in CG_EntityEvent() [all …]
|
/dports/games/evq3/evq3/code/cgame/ |
H A D | cg_consolecmds.c | 184 int clientNum; in CG_TellTarget_f() local 189 if ( clientNum == -1 ) { in CG_TellTarget_f() 199 int clientNum; in CG_TellAttacker_f() local 203 clientNum = CG_LastAttacker(); in CG_TellAttacker_f() 204 if ( clientNum == -1 ) { in CG_TellAttacker_f() 214 int clientNum; in CG_VoiceTellTarget_f() local 219 if ( clientNum == -1 ) { in CG_VoiceTellTarget_f() 229 int clientNum; in CG_VoiceTellAttacker_f() local 234 if ( clientNum == -1 ) { in CG_VoiceTellAttacker_f() 365 int clientNum; in CG_TaskSuicide_f() local [all …]
|
H A D | cg_event.c | 346 int itemNum, clientNum; in CG_UseItem() local 377 clientNum = cent->currentState.clientNum; in CG_UseItem() 378 if ( clientNum >= 0 && clientNum < MAX_CLIENTS ) { in CG_UseItem() 470 int clientNum; in CG_EntityEvent() local 485 clientNum = es->clientNum; in CG_EntityEvent() 486 if ( clientNum < 0 || clientNum >= MAX_CLIENTS ) { in CG_EntityEvent() 487 clientNum = 0; in CG_EntityEvent() 535 if ( clientNum == cg.predictedPlayerState.clientNum ) { in CG_EntityEvent() 545 if ( clientNum == cg.predictedPlayerState.clientNum ) { in CG_EntityEvent() 555 if ( clientNum == cg.predictedPlayerState.clientNum ) { in CG_EntityEvent() [all …]
|
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/cgame/ |
H A D | cg_consolecmds.c | 184 int clientNum; in CG_TellTarget_f() local 189 if ( clientNum == -1 ) { in CG_TellTarget_f() 199 int clientNum; in CG_TellAttacker_f() local 203 clientNum = CG_LastAttacker(); in CG_TellAttacker_f() 204 if ( clientNum == -1 ) { in CG_TellAttacker_f() 214 int clientNum; in CG_VoiceTellTarget_f() local 219 if ( clientNum == -1 ) { in CG_VoiceTellTarget_f() 229 int clientNum; in CG_VoiceTellAttacker_f() local 234 if ( clientNum == -1 ) { in CG_VoiceTellAttacker_f() 365 int clientNum; in CG_TaskSuicide_f() local [all …]
|
H A D | cg_event.c | 346 int itemNum, clientNum; in CG_UseItem() local 377 clientNum = cent->currentState.clientNum; in CG_UseItem() 378 if ( clientNum >= 0 && clientNum < MAX_CLIENTS ) { in CG_UseItem() 470 int clientNum; in CG_EntityEvent() local 485 clientNum = es->clientNum; in CG_EntityEvent() 486 if ( clientNum < 0 || clientNum >= MAX_CLIENTS ) { in CG_EntityEvent() 487 clientNum = 0; in CG_EntityEvent() 535 if ( clientNum == cg.predictedPlayerState.clientNum ) { in CG_EntityEvent() 545 if ( clientNum == cg.predictedPlayerState.clientNum ) { in CG_EntityEvent() 555 if ( clientNum == cg.predictedPlayerState.clientNum ) { in CG_EntityEvent() [all …]
|
/dports/devel/raknet/raknet-3.9.2_10,1/Samples/Tests/ |
H A D | ManyClientsOneServerBlockingTest.cpp | 8 for (int i=0;i<clientNum;i++) in WaitForConnectionRequestsToComplete() 99 for (int i=0;i<clientNum;i++)//Receive for all peers in WaitAndPrintResults() 198 const int clientNum= 256; in RunTest() local 200 RakPeerInterface *clientList[clientNum];//A list of clients in RunTest() 208 for (int i=0;i<clientNum;i++) in RunTest() 221 server->SetMaximumIncomingConnections(clientNum); in RunTest() 225 for (int i=0;i<clientNum;i++) in RunTest() 251 for (int i=0;i<clientNum;i++) in RunTest() 269 for (int i=0;i<clientNum;i++) in RunTest() 300 for (int i=0;i<clientNum;i++) in RunTest() [all …]
|
H A D | ManyClientsOneServerDeallocateBlockingTest.cpp | 8 for (int i=0;i<clientNum;i++) in WaitForConnectionRequestsToComplete() 101 for (int i=0;i<clientNum;i++)//Receive for all peers in WaitAndPrintResults() 231 for (int i=0;i<clientNum;i++) in RunTest() 242 server->SetMaximumIncomingConnections(clientNum); in RunTest() 260 for (int i=0;i<clientNum;i++) in RunTest() 287 for (int i=0;i<clientNum;i++) in RunTest() 309 for (int i=0;i<clientNum;i++) in RunTest() 334 WaitAndPrintResults(clientList,clientNum,isVerbose,server); in RunTest() 342 for (int i=0;i<clientNum;i++) in RunTest() 378 for (int i=0;i<clientNum;i++) in RunTest() [all …]
|
/dports/games/iortcw/iortcw-1.51c/SP/code/game/ |
H A D | g_bot.c | 49 int clientNum; member 450 botSpawnQueue[n].clientNum = clientNum; in AddBotToSpawnQueue() 456 ClientBegin( clientNum ); in AddBotToSpawnQueue() 465 void G_QueueBotBegin( int clientNum ) { in G_QueueBotBegin() argument 506 int clientNum; in G_AddBot() local 517 clientNum = trap_BotAllocateClient(); in G_AddBot() 518 if ( clientNum == -1 ) { in G_AddBot() 558 trap_BotFreeClient( clientNum ); in G_AddBot() 570 trap_BotFreeClient( clientNum ); in G_AddBot() 619 trap_BotFreeClient( clientNum ); in G_AddBot() [all …]
|
/dports/games/dhewm3/dhewm3-1.5.1/neo/framework/ |
H A D | Game.h | 89 virtual void SetLocalClient( int clientNum ) = 0; 97 virtual const idDict * GetUserInfo( int clientNum ) = 0; 106 virtual const idDict & GetPersistentPlayerInfo( int clientNum ) = 0; 127 virtual void SpawnPlayer( int clientNum ) = 0; 133 virtual bool Draw( int clientNum ) = 0; 155 virtual void ServerClientBegin( int clientNum ) = 0; 158 virtual void ServerClientDisconnect( int clientNum ) = 0; 161 virtual void ServerWriteInitialReliableMessages( int clientNum ) = 0; 167 virtual bool ServerApplySnapshot( int clientNum, int sequence ) = 0; 176 virtual bool ClientApplySnapshot( int clientNum, int sequence ) = 0; [all …]
|
/dports/games/iortcw/iortcw-1.51c/MP/code/game/ |
H A D | g_bot.c | 49 int clientNum; member 449 botSpawnQueue[n].clientNum = clientNum; in AddBotToSpawnQueue() 455 ClientBegin( clientNum ); in AddBotToSpawnQueue() 464 void G_QueueBotBegin( int clientNum ) { in G_QueueBotBegin() argument 505 int clientNum; in G_AddBot() local 516 clientNum = trap_BotAllocateClient(); in G_AddBot() 517 if ( clientNum == -1 ) { in G_AddBot() 557 trap_BotFreeClient( clientNum ); in G_AddBot() 569 trap_BotFreeClient( clientNum ); in G_AddBot() 618 trap_BotFreeClient( clientNum ); in G_AddBot() [all …]
|
/dports/games/ioquake3/ioquake3-1.36/code/game/ |
H A D | g_bot.c | 42 int clientNum; member 503 botSpawnQueue[n].clientNum = clientNum; in AddBotToSpawnQueue() 509 ClientBegin( clientNum ); in AddBotToSpawnQueue() 525 if( botSpawnQueue[n].clientNum == clientNum ) { in G_RemoveQueuedBotBegin() 563 int clientNum; in G_AddBot() local 652 clientNum = trap_BotAllocateClient(); in G_AddBot() 653 if ( clientNum == -1 ) { in G_AddBot() 662 if( PickTeam(clientNum) == TEAM_RED) { in G_AddBot() 677 bot = &g_entities[ clientNum ]; in G_AddBot() 690 ClientBegin( clientNum ); in G_AddBot() [all …]
|
/dports/games/ioquake3-server/ioquake3-1.36/code/game/ |
H A D | g_bot.c | 42 int clientNum; member 503 botSpawnQueue[n].clientNum = clientNum; in AddBotToSpawnQueue() 509 ClientBegin( clientNum ); in AddBotToSpawnQueue() 525 if( botSpawnQueue[n].clientNum == clientNum ) { in G_RemoveQueuedBotBegin() 563 int clientNum; in G_AddBot() local 652 clientNum = trap_BotAllocateClient(); in G_AddBot() 653 if ( clientNum == -1 ) { in G_AddBot() 662 if( PickTeam(clientNum) == TEAM_RED) { in G_AddBot() 677 bot = &g_entities[ clientNum ]; in G_AddBot() 690 ClientBegin( clientNum ); in G_AddBot() [all …]
|