/external/quake/quake/src/QW/server/ |
D | sv_user.c | 79 … [SV_New] Back buffered (%d0, clearing", host_client->name, host_client->netchan.message.cursize); in SV_New_f() 81 SZ_Clear(&host_client->netchan.message); in SV_New_f() 85 MSG_WriteByte (&host_client->netchan.message, svc_serverdata); in SV_New_f() 86 MSG_WriteLong (&host_client->netchan.message, PROTOCOL_VERSION); in SV_New_f() 87 MSG_WriteLong (&host_client->netchan.message, svs.spawncount); in SV_New_f() 88 MSG_WriteString (&host_client->netchan.message, gamedir); in SV_New_f() 93 MSG_WriteByte (&host_client->netchan.message, playernum); in SV_New_f() 96 MSG_WriteString (&host_client->netchan.message, PR_GetString(sv.edicts->v.message)); in SV_New_f() 99 MSG_WriteFloat(&host_client->netchan.message, movevars.gravity); in SV_New_f() 100 MSG_WriteFloat(&host_client->netchan.message, movevars.stopspeed); in SV_New_f() [all …]
|
D | sv_nchan.c | 28 cl->netchan.message.cursize > in ClientReliableCheckBlock() 29 cl->netchan.message.maxsize - maxsize - 1) { in ClientReliableCheckBlock() 44 cl->netchan.message.overflowed = true; // this will drop the client in ClientReliableCheckBlock() 71 cl->netchan.message.overflowed = true; // this will drop the client in ClientReliable_FinishWrite() 82 MSG_WriteAngle(&cl->netchan.message, f); in ClientReliableWrite_Angle() 91 MSG_WriteAngle16(&cl->netchan.message, f); in ClientReliableWrite_Angle16() 100 MSG_WriteByte(&cl->netchan.message, c); in ClientReliableWrite_Byte() 109 MSG_WriteChar(&cl->netchan.message, c); in ClientReliableWrite_Char() 118 MSG_WriteFloat(&cl->netchan.message, f); in ClientReliableWrite_Float() 127 MSG_WriteCoord(&cl->netchan.message, f); in ClientReliableWrite_Coord() [all …]
|
D | sv_ccmds.c | 420 s = NET_BaseAdrToString ( cl->netchan.remote_address); in SV_Status_f() 433 , (int)(1000*cl->netchan.frame_rate) in SV_Status_f() 435 , 100.0*cl->netchan.drop_count / cl->netchan.incoming_sequence); in SV_Status_f() 446 s = NET_BaseAdrToString ( cl->netchan.remote_address); in SV_Status_f() 467 , (int)(1000*cl->netchan.frame_rate) in SV_Status_f() 469 , 100.0*cl->netchan.drop_count / cl->netchan.incoming_sequence in SV_Status_f() 470 , cl->netchan.qport); in SV_Status_f()
|
D | sv_send.c | 597 if (Netchan_CanReliable (&client->netchan)) in SV_SendClientDatagram() 607 Netchan_Transmit (&client->netchan, msg.cursize, buf); in SV_SendClientDatagram() 723 if (c->netchan.message.cursize + c->backbuf_size[0] < in SV_SendClientMessages() 724 c->netchan.message.maxsize) { in SV_SendClientMessages() 730 SZ_Write(&c->netchan.message, c->backbuf_data[0], in SV_SendClientMessages() 752 if (c->netchan.message.overflowed) in SV_SendClientMessages() 754 SZ_Clear (&c->netchan.message); in SV_SendClientMessages() 760 c->netchan.cleartime = 0; // don't choke this message in SV_SendClientMessages() 768 if (!sv.paused && !Netchan_CanPacket (&c->netchan)) in SV_SendClientMessages() 777 Netchan_Transmit (&c->netchan, 0, NULL); // just update reliable in SV_SendClientMessages()
|
D | sv_main.c | 168 Netchan_Transmit (&cl->netchan, net_message.cursize in SV_FinalMessage() 186 MSG_WriteByte (&drop->netchan.message, svc_disconnect); in SV_DropClient() 321 SV_FullClientUpdate (client, &cl->netchan.message); in SV_FullClientUpdateToClient() 607 if (NET_CompareBaseAdr (adr, cl->netchan.remote_address) in SVC_DirectConnect() 608 && ( cl->netchan.qport == qport in SVC_DirectConnect() 609 || adr.port == cl->netchan.remote_address.port )) in SVC_DirectConnect() 677 Netchan_Setup (&newcl->netchan , adr, qport); in SVC_DirectConnect() 1101 if (!NET_CompareBaseAdr (net_from, cl->netchan.remote_address)) in SV_ReadPackets() 1103 if (cl->netchan.qport != qport) in SV_ReadPackets() 1105 if (cl->netchan.remote_address.port != net_from.port) in SV_ReadPackets() [all …]
|
D | server.h | 191 netchan_t netchan; member
|
D | sv_ents.c | 459 frame = &client->frames[client->netchan.incoming_sequence & UPDATE_MASK]; in SV_WriteEntitiesToClient()
|
/external/quake/quake/src/QW/client/ |
D | cl_parse.c | 121 for (i=cls.netchan.outgoing_sequence-UPDATE_BACKUP+1 in CL_CalcNet() 122 ; i <= cls.netchan.outgoing_sequence in CL_CalcNet() 139 i = (cls.netchan.outgoing_sequence-a) & NET_TIMINGSMASK; in CL_CalcNet() 191 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in CL_CheckOrDownloadFile() 192 MSG_WriteString (&cls.netchan.message, va("download %s", cls.downloadname)); in CL_CheckOrDownloadFile() 252 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Model_NextDownload() 254 …MSG_WriteString (&cls.netchan.message, va(prespawn_name, cl.servercount, cl.worldmodel->checksum2)… in Model_NextDownload() 295 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Sound_NextDownload() 297 MSG_WriteString (&cls.netchan.message, va(modellist_name, cl.servercount, 0)); in Sound_NextDownload() 401 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in CL_ParseDownload() [all …]
|
D | cl_cam.c | 115 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Cam_Unlock() 116 MSG_WriteString (&cls.netchan.message, "ptrack"); in Cam_Unlock() 128 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Cam_Lock() 129 MSG_WriteString (&cls.netchan.message, st); in Cam_Lock() 340 frame = &cl.frames[cls.netchan.incoming_sequence & UPDATE_MASK]; in Cam_Track() 363 MSG_WriteByte (&cls.netchan.message, clc_tmove); in Cam_Track() 364 MSG_WriteCoord (&cls.netchan.message, desired_position[0]); in Cam_Track() 365 MSG_WriteCoord (&cls.netchan.message, desired_position[1]); in Cam_Track() 366 MSG_WriteCoord (&cls.netchan.message, desired_position[2]); in Cam_Track() 379 MSG_WriteByte (&cls.netchan.message, clc_tmove); in Cam_Track() [all …]
|
D | cl_pred.c | 135 if (cls.netchan.outgoing_sequence - cls.netchan.incoming_sequence >= UPDATE_BACKUP-1) in CL_PredictMove() 141 from = &cl.frames[cls.netchan.incoming_sequence & UPDATE_MASK]; in CL_PredictMove() 168 for (i=1 ; i<UPDATE_BACKUP-1 && cls.netchan.incoming_sequence+i < in CL_PredictMove() 169 cls.netchan.outgoing_sequence; i++) in CL_PredictMove() 171 to = &cl.frames[(cls.netchan.incoming_sequence+i) & UPDATE_MASK]; in CL_PredictMove()
|
D | cl_input.c | 401 i = cls.netchan.outgoing_sequence & UPDATE_MASK; in CL_SendCmd() 407 seq_hash = cls.netchan.outgoing_sequence; in CL_SendCmd() 439 i = (cls.netchan.outgoing_sequence-2) & UPDATE_MASK; in CL_SendCmd() 444 i = (cls.netchan.outgoing_sequence-1) & UPDATE_MASK; in CL_SendCmd() 449 i = (cls.netchan.outgoing_sequence) & UPDATE_MASK; in CL_SendCmd() 459 if (cls.netchan.outgoing_sequence - cl.validsequence >= UPDATE_BACKUP-1) in CL_SendCmd() 465 cl.frames[cls.netchan.outgoing_sequence&UPDATE_MASK].delta_sequence = cl.validsequence; in CL_SendCmd() 470 cl.frames[cls.netchan.outgoing_sequence&UPDATE_MASK].delta_sequence = -1; in CL_SendCmd() 478 Netchan_Transmit (&cls.netchan, buf.cursize, buf.data); in CL_SendCmd()
|
D | cl_main.c | 340 to = cls.netchan.remote_address; in CL_Rcon_f() 382 SZ_Clear (&cls.netchan.message); in CL_ClearState() 429 Netchan_Transmit (&cls.netchan, 6, (byte*) final); in CL_Disconnect() 430 Netchan_Transmit (&cls.netchan, 6, (byte*) final); in CL_Disconnect() 431 Netchan_Transmit (&cls.netchan, 6, (byte*) final); in CL_Disconnect() 778 MSG_WriteChar (&cls.netchan.message, clc_stringcmd); in CL_Reconnect_f() 779 MSG_WriteString (&cls.netchan.message, "new"); in CL_Reconnect_f() 820 Netchan_Setup (&cls.netchan, net_from, cls.qport); in CL_ConnectionlessPacket() 821 MSG_WriteChar (&cls.netchan.message, clc_stringcmd); in CL_ConnectionlessPacket() 822 MSG_WriteString (&cls.netchan.message, "new"); in CL_ConnectionlessPacket() [all …]
|
D | cmd.c | 619 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Cmd_ForwardToServer() 620 SZ_Print (&cls.netchan.message, Cmd_Argv(0)); in Cmd_ForwardToServer() 623 SZ_Print (&cls.netchan.message, " "); in Cmd_ForwardToServer() 624 SZ_Print (&cls.netchan.message, Cmd_Args()); in Cmd_ForwardToServer() 647 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Cmd_ForwardToServer_f() 648 SZ_Print (&cls.netchan.message, Cmd_Args()); in Cmd_ForwardToServer_f()
|
D | cl_demo.c | 197 i = cls.netchan.outgoing_sequence & UPDATE_MASK; in CL_GetDemoMessage() 213 cls.netchan.outgoing_sequence++; in CL_GetDemoMessage() 238 cls.netchan.outgoing_sequence = LittleLong(i); in CL_GetDemoMessage() 240 cls.netchan.incoming_sequence = LittleLong(i); in CL_GetDemoMessage() 358 len = LittleLong(cls.netchan.outgoing_sequence); in CL_WriteSetDemoMessage() 360 len = LittleLong(cls.netchan.incoming_sequence); in CL_WriteSetDemoMessage() 752 Netchan_Setup (&cls.netchan, net_from, 0); in CL_PlayDemo_f()
|
D | cl_ents.c | 238 cl.frames[cls.netchan.incoming_sequence&UPDATE_MASK].invalid = true; in FlushEntityPacket() 274 newpacket = cls.netchan.incoming_sequence&UPDATE_MASK; in CL_ParsePacketEntities() 293 if (cls.netchan.outgoing_sequence - oldpacket >= UPDATE_BACKUP-1) in CL_ParsePacketEntities() 298 cl.validsequence = cls.netchan.incoming_sequence; in CL_ParsePacketEntities() 305 cl.validsequence = cls.netchan.incoming_sequence; in CL_ParsePacketEntities() 421 pack = &cl.frames[cls.netchan.incoming_sequence&UPDATE_MASK].packet_entities; in CL_LinkPacketEntities() 984 VectorCopy(cl.frames[cls.netchan.outgoing_sequence&UPDATE_MASK].playerstate[cl.playernum].origin, in CL_SetUpPlayerPrediction() 1073 cl_oldvisedicts = cl_visedicts_list[(cls.netchan.incoming_sequence-1)&1]; in CL_EmitEntities() 1074 cl_visedicts = cl_visedicts_list[cls.netchan.incoming_sequence&1]; in CL_EmitEntities()
|
D | cvar.c | 141 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Cvar_Set() 142 SZ_Print (&cls.netchan.message, va("setinfo \"%s\" \"%s\"\n", var_name, value)); in Cvar_Set()
|
D | skin.c | 258 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Skin_NextDownload() 259 MSG_WriteString (&cls.netchan.message, in Skin_NextDownload()
|
D | screen.c | 447 if (cls.netchan.outgoing_sequence - cls.netchan.incoming_acknowledged < UPDATE_BACKUP-1) in SCR_DrawNet() 804 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in SCR_RSShot_f() 805 SZ_Print (&cls.netchan.message, "snap\n"); in SCR_RSShot_f()
|
D | docs.txt | 55 When the client receives the S2C_CONNECTION, it initializes cls.netchan and sends 56 a "new" string command over the netchan to the server.
|
D | gl_ngraph.c | 99 i = (cls.netchan.outgoing_sequence-a) & NET_TIMINGSMASK; in R_NetGraph()
|
D | client.h | 167 netchan_t netchan; member
|
D | gl_screen.c | 454 if (cls.netchan.outgoing_sequence - cls.netchan.incoming_acknowledged < UPDATE_BACKUP-1) in SCR_DrawNet()
|
D | view.c | 202 if ( fabs(cl.frames[(cls.netchan.outgoing_sequence-1)&UPDATE_MASK].cmd.forwardmove) < 200) in V_DriftPitch() 1001 view_frame = &cl.frames[cls.netchan.incoming_sequence & UPDATE_MASK]; in V_RenderView()
|
D | r_misc.c | 233 i = (cls.netchan.outgoing_sequence-a) & NET_TIMINGSMASK; in R_NetGraph()
|
D | sbar.c | 1013 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Sbar_DeathmatchOverlay() 1014 SZ_Print (&cls.netchan.message, "pings"); in Sbar_DeathmatchOverlay()
|