/external/quake/quake/src/QW/server/ |
sv_nchan.c | 28 cl->netchan.message.cursize > 29 cl->netchan.message.maxsize - maxsize - 1) { 44 cl->netchan.message.overflowed = true; // this will drop the client 71 cl->netchan.message.overflowed = true; // this will drop the client 82 MSG_WriteAngle(&cl->netchan.message, f); 91 MSG_WriteAngle16(&cl->netchan.message, f); 100 MSG_WriteByte(&cl->netchan.message, c); 109 MSG_WriteChar(&cl->netchan.message, c); 118 MSG_WriteFloat(&cl->netchan.message, f); 127 MSG_WriteCoord(&cl->netchan.message, f) [all...] |
sv_user.c | 79 Con_Printf("WARNING %s: [SV_New] Back buffered (%d0, clearing", host_client->name, host_client->netchan.message.cursize); 81 SZ_Clear(&host_client->netchan.message); 85 MSG_WriteByte (&host_client->netchan.message, svc_serverdata); 86 MSG_WriteLong (&host_client->netchan.message, PROTOCOL_VERSION); 87 MSG_WriteLong (&host_client->netchan.message, svs.spawncount); 88 MSG_WriteString (&host_client->netchan.message, gamedir); 93 MSG_WriteByte (&host_client->netchan.message, playernum); 96 MSG_WriteString (&host_client->netchan.message, PR_GetString(sv.edicts->v.message)); 99 MSG_WriteFloat(&host_client->netchan.message, movevars.gravity); 100 MSG_WriteFloat(&host_client->netchan.message, movevars.stopspeed) [all...] |
sv_ccmds.c | 420 s = NET_BaseAdrToString ( cl->netchan.remote_address);
433 , (int)(1000*cl->netchan.frame_rate)
435 , 100.0*cl->netchan.drop_count / cl->netchan.incoming_sequence);
446 s = NET_BaseAdrToString ( cl->netchan.remote_address); 467 , (int)(1000*cl->netchan.frame_rate) 469 , 100.0*cl->netchan.drop_count / cl->netchan.incoming_sequence
470 , cl->netchan.qport);
|
sv_send.c | 597 if (Netchan_CanReliable (&client->netchan)) 607 Netchan_Transmit (&client->netchan, msg.cursize, buf); 723 if (c->netchan.message.cursize + c->backbuf_size[0] < 724 c->netchan.message.maxsize) { 730 SZ_Write(&c->netchan.message, c->backbuf_data[0], 752 if (c->netchan.message.overflowed) 754 SZ_Clear (&c->netchan.message); 760 c->netchan.cleartime = 0; // don't choke this message 768 if (!sv.paused && !Netchan_CanPacket (&c->netchan)) 777 Netchan_Transmit (&c->netchan, 0, NULL); // just update reliabl [all...] |
sv_main.c | 168 Netchan_Transmit (&cl->netchan, net_message.cursize 186 MSG_WriteByte (&drop->netchan.message, svc_disconnect); 321 SV_FullClientUpdate (client, &cl->netchan.message); 607 if (NET_CompareBaseAdr (adr, cl->netchan.remote_address) 608 && ( cl->netchan.qport == qport 609 || adr.port == cl->netchan.remote_address.port )) 677 Netchan_Setup (&newcl->netchan , adr, qport); 1101 if (!NET_CompareBaseAdr (net_from, cl->netchan.remote_address)) 1103 if (cl->netchan.qport != qport) 1105 if (cl->netchan.remote_address.port != net_from.port [all...] |
server.h | 191 netchan_t netchan;
member in struct:client_s
|
sv_ents.c | 280 // , client->netchan.outgoing_sequence & UPDATE_MASK); 459 frame = &client->frames[client->netchan.incoming_sequence & UPDATE_MASK];
|
pr_cmds.c | 1320 return &svs.clients[entnum-1].netchan.message; 1567 value = strcpy(ov, NET_BaseAdrToString (svs.clients[e1-1].netchan.remote_address));
|
/external/quake/quake/src/QW/client/ |
cl_pred.c | 135 if (cls.netchan.outgoing_sequence - cls.netchan.incoming_sequence >= UPDATE_BACKUP-1) 141 from = &cl.frames[cls.netchan.incoming_sequence & UPDATE_MASK]; 166 // to = &cl.frames[cls.netchan.incoming_sequence & UPDATE_MASK]; 168 for (i=1 ; i<UPDATE_BACKUP-1 && cls.netchan.incoming_sequence+i < 169 cls.netchan.outgoing_sequence; i++) 171 to = &cl.frames[(cls.netchan.incoming_sequence+i) & UPDATE_MASK];
|
cl_cam.c | 115 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); 116 MSG_WriteString (&cls.netchan.message, "ptrack"); 128 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); 129 MSG_WriteString (&cls.netchan.message, st); 340 frame = &cl.frames[cls.netchan.incoming_sequence & UPDATE_MASK]; 363 MSG_WriteByte (&cls.netchan.message, clc_tmove); 364 MSG_WriteCoord (&cls.netchan.message, desired_position[0]); 365 MSG_WriteCoord (&cls.netchan.message, desired_position[1]); 366 MSG_WriteCoord (&cls.netchan.message, desired_position[2]); 379 MSG_WriteByte (&cls.netchan.message, clc_tmove) [all...] |
cl_parse.c | 121 for (i=cls.netchan.outgoing_sequence-UPDATE_BACKUP+1 122 ; i <= cls.netchan.outgoing_sequence 139 i = (cls.netchan.outgoing_sequence-a) & NET_TIMINGSMASK; 191 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); 192 MSG_WriteString (&cls.netchan.message, va("download %s", cls.downloadname)); 252 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); 253 // MSG_WriteString (&cls.netchan.message, va("prespawn %i 0 %i", cl.servercount, cl.worldmodel->checksum2)); 254 MSG_WriteString (&cls.netchan.message, va(prespawn_name, cl.servercount, cl.worldmodel->checksum2)); 295 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); 296 // MSG_WriteString (&cls.netchan.message, va("modellist %i 0", cl.servercount)) [all...] |
cl_input.c | 401 i = cls.netchan.outgoing_sequence & UPDATE_MASK; 406 // seq_hash = (cls.netchan.outgoing_sequence & 0xffff) ; // ^ QW_CHECK_HASH; 407 seq_hash = cls.netchan.outgoing_sequence; 439 i = (cls.netchan.outgoing_sequence-2) & UPDATE_MASK; 444 i = (cls.netchan.outgoing_sequence-1) & UPDATE_MASK; 449 i = (cls.netchan.outgoing_sequence) & UPDATE_MASK; 459 if (cls.netchan.outgoing_sequence - cl.validsequence >= UPDATE_BACKUP-1) 465 cl.frames[cls.netchan.outgoing_sequence&UPDATE_MASK].delta_sequence = cl.validsequence; 470 cl.frames[cls.netchan.outgoing_sequence&UPDATE_MASK].delta_sequence = -1; 478 Netchan_Transmit (&cls.netchan, buf.cursize, buf.data); [all...] |
cmd.c | 619 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); 620 SZ_Print (&cls.netchan.message, Cmd_Argv(0)); 623 SZ_Print (&cls.netchan.message, " "); 624 SZ_Print (&cls.netchan.message, Cmd_Args()); 647 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); 648 SZ_Print (&cls.netchan.message, Cmd_Args());
|
cvar.c | 141 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); 142 SZ_Print (&cls.netchan.message, va("setinfo \"%s\" \"%s\"\n", var_name, value));
|
cl_main.c | 340 to = cls.netchan.remote_address; 382 SZ_Clear (&cls.netchan.message); 429 Netchan_Transmit (&cls.netchan, 6, (byte*) final); 430 Netchan_Transmit (&cls.netchan, 6, (byte*) final); 431 Netchan_Transmit (&cls.netchan, 6, (byte*) final); 778 MSG_WriteChar (&cls.netchan.message, clc_stringcmd); 779 MSG_WriteString (&cls.netchan.message, "new"); 820 Netchan_Setup (&cls.netchan, net_from, cls.qport); 821 MSG_WriteChar (&cls.netchan.message, clc_stringcmd); 822 MSG_WriteString (&cls.netchan.message, "new"); [all...] |
cl_demo.c | 197 i = cls.netchan.outgoing_sequence & UPDATE_MASK; 213 cls.netchan.outgoing_sequence++; 238 cls.netchan.outgoing_sequence = LittleLong(i); 240 cls.netchan.incoming_sequence = LittleLong(i); 358 len = LittleLong(cls.netchan.outgoing_sequence); 360 len = LittleLong(cls.netchan.incoming_sequence); 752 Netchan_Setup (&cls.netchan, net_from, 0);
|
cl_ents.c | 238 cl.frames[cls.netchan.incoming_sequence&UPDATE_MASK].invalid = true;
274 newpacket = cls.netchan.incoming_sequence&UPDATE_MASK;
293 if (cls.netchan.outgoing_sequence - oldpacket >= UPDATE_BACKUP-1)
298 cl.validsequence = cls.netchan.incoming_sequence;
305 cl.validsequence = cls.netchan.incoming_sequence;
421 pack = &cl.frames[cls.netchan.incoming_sequence&UPDATE_MASK].packet_entities;
984 VectorCopy(cl.frames[cls.netchan.outgoing_sequence&UPDATE_MASK].playerstate[cl.playernum].origin,
1073 cl_oldvisedicts = cl_visedicts_list[(cls.netchan.incoming_sequence-1)&1];
1074 cl_visedicts = cl_visedicts_list[cls.netchan.incoming_sequence&1];
|
gl_ngraph.c | 99 i = (cls.netchan.outgoing_sequence-a) & NET_TIMINGSMASK;
|
skin.c | 258 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); 259 MSG_WriteString (&cls.netchan.message,
|
screen.c | 447 if (cls.netchan.outgoing_sequence - cls.netchan.incoming_acknowledged < UPDATE_BACKUP-1)
804 MSG_WriteByte (&cls.netchan.message, clc_stringcmd);
805 SZ_Print (&cls.netchan.message, "snap\n");
|
client.h | 167 netchan_t netchan; member in struct:__anon10365 228 // sentcmds[cl.netchan.outgoing_sequence & UPDATE_MASK] = cmd
|
r_misc.c | 233 i = (cls.netchan.outgoing_sequence-a) & NET_TIMINGSMASK;
|
gl_screen.c | 454 if (cls.netchan.outgoing_sequence - cls.netchan.incoming_acknowledged < UPDATE_BACKUP-1)
|
sbar.c | 1013 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); 1014 SZ_Print (&cls.netchan.message, "pings");
|
view.c | 202 if ( fabs(cl.frames[(cls.netchan.outgoing_sequence-1)&UPDATE_MASK].cmd.forwardmove) < 200) 1001 view_frame = &cl.frames[cls.netchan.incoming_sequence & UPDATE_MASK];
|