Home
last modified time | relevance | path

Searched refs:MSG_WriteByte (Results 1 – 25 of 36) sorted by relevance

12

/external/quake/quake/src/QW/client/
Dcl_demo.c291 MSG_WriteByte (&net_message, svc_disconnect); in CL_Stop_f()
431 MSG_WriteByte (&buf, svc_serverdata); in CL_Record_f()
437 MSG_WriteByte (&buf, cl.playernum | 128); in CL_Record_f()
439 MSG_WriteByte (&buf, cl.playernum); in CL_Record_f()
457 MSG_WriteByte (&buf, svc_cdtrack); in CL_Record_f()
458 MSG_WriteByte (&buf, 0); // none in demos in CL_Record_f()
461 MSG_WriteByte (&buf, svc_stufftext); in CL_Record_f()
469 MSG_WriteByte (&buf, svc_soundlist); in CL_Record_f()
470 MSG_WriteByte (&buf, 0); in CL_Record_f()
477 MSG_WriteByte (&buf, 0); in CL_Record_f()
[all …]
Dcl_parse.c191 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in CL_CheckOrDownloadFile()
252 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Model_NextDownload()
295 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Sound_NextDownload()
401 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in CL_ParseDownload()
456 MSG_WriteByte (&cls.netchan.message, clc_upload); in CL_NextUpload()
464 MSG_WriteByte (&cls.netchan.message, percent); in CL_NextUpload()
603 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in CL_ParseServerData()
640 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in CL_ParseSoundlist()
686 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in CL_ParseModellist()
Dcl_input.c429 MSG_WriteByte (&buf, clc_move); in CL_SendCmd()
433 MSG_WriteByte (&buf, 0); in CL_SendCmd()
437 MSG_WriteByte (&buf, (byte)lost); in CL_SendCmd()
466 MSG_WriteByte (&buf, clc_delta); in CL_SendCmd()
467 MSG_WriteByte (&buf, cl.validsequence&255); in CL_SendCmd()
Dcl_cam.c115 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Cam_Unlock()
128 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Cam_Lock()
363 MSG_WriteByte (&cls.netchan.message, clc_tmove); in Cam_Track()
379 MSG_WriteByte (&cls.netchan.message, clc_tmove); in Cam_Track()
Dcommon.c524 void MSG_WriteByte (sizebuf_t *sb, int c) in MSG_WriteByte() function
592 MSG_WriteByte (sb, (int)(f*256/360) & 255); in MSG_WriteAngle()
625 MSG_WriteByte (buf, bits); in MSG_WriteDeltaUsercmd()
642 MSG_WriteByte (buf, cmd->buttons); in MSG_WriteDeltaUsercmd()
644 MSG_WriteByte (buf, cmd->impulse); in MSG_WriteDeltaUsercmd()
645 MSG_WriteByte (buf, cmd->msec); in MSG_WriteDeltaUsercmd()
Dcmd.c619 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Cmd_ForwardToServer()
647 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Cmd_ForwardToServer_f()
Dcvar.c141 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Cvar_Set()
Dskin.c258 MSG_WriteByte (&cls.netchan.message, clc_stringcmd); in Skin_NextDownload()
/external/quake/quake/src/WinQuake/
Dsv_main.cpp86 MSG_WriteByte (&sv.datagram, svc_particle); in SV_StartParticle()
99 MSG_WriteByte (&sv.datagram, count); in SV_StartParticle()
100 MSG_WriteByte (&sv.datagram, color); in SV_StartParticle()
161 MSG_WriteByte (&sv.datagram, svc_sound); in SV_StartSound()
162 MSG_WriteByte (&sv.datagram, field_mask); in SV_StartSound()
164 MSG_WriteByte (&sv.datagram, volume); in SV_StartSound()
166 MSG_WriteByte (&sv.datagram, (int) (attenuation*64)); in SV_StartSound()
168 MSG_WriteByte (&sv.datagram, sound_num); in SV_StartSound()
194 MSG_WriteByte (&client->message, svc_print); in SV_SendServerinfo()
198 MSG_WriteByte (&client->message, svc_serverinfo); in SV_SendServerinfo()
[all …]
Dhost_cmd.cpp950 MSG_WriteByte (&sv.reliable_datagram, svc_updatename); in Host_Name_f()
951 MSG_WriteByte (&sv.reliable_datagram, host_client - svs.clients); in Host_Name_f()
1189 MSG_WriteByte (&sv.reliable_datagram, svc_updatecolors); in Host_Color_f()
1190 MSG_WriteByte (&sv.reliable_datagram, host_client - svs.clients); in Host_Color_f()
1191 MSG_WriteByte (&sv.reliable_datagram, host_client->colors); in Host_Color_f()
1248 MSG_WriteByte (&sv.reliable_datagram, svc_setpause); in Host_Pause_f()
1249 MSG_WriteByte (&sv.reliable_datagram, sv.paused); in Host_Pause_f()
1276 MSG_WriteByte (&host_client->message, svc_signonnum); in Host_PreSpawn_f()
1277 MSG_WriteByte (&host_client->message, 2); in Host_PreSpawn_f()
1342 MSG_WriteByte (&host_client->message, svc_time); in Host_Spawn_f()
[all …]
Dhost.cpp286 MSG_WriteByte (&host_client->message, svc_print); in SV_ClientPrintf()
310 MSG_WriteByte (&svs.clients[i].message, svc_print); in SV_BroadcastPrintf()
331 MSG_WriteByte (&host_client->message, svc_stufftext); in Host_ClientCommands()
354 MSG_WriteByte (&host_client->message, svc_disconnect); in SV_DropClient()
386 MSG_WriteByte (&client->message, svc_updatename); in SV_DropClient()
387 MSG_WriteByte (&client->message, host_client - svs.clients); in SV_DropClient()
389 MSG_WriteByte (&client->message, svc_updatefrags); in SV_DropClient()
390 MSG_WriteByte (&client->message, host_client - svs.clients); in SV_DropClient()
392 MSG_WriteByte (&client->message, svc_updatecolors); in SV_DropClient()
393 MSG_WriteByte (&client->message, host_client - svs.clients); in SV_DropClient()
[all …]
Dnet_dgrm.cpp635 MSG_WriteByte(&net_message, CCREQ_PLAYER_INFO); in Test_f()
636 MSG_WriteByte(&net_message, n); in Test_f()
692 MSG_WriteByte(&net_message, CCREQ_RULE_INFO); in Test2_Poll()
759 MSG_WriteByte(&net_message, CCREQ_RULE_INFO); in Test2_f()
875 MSG_WriteByte(&net_message, CCREP_SERVER_INFO); in _Datagram_CheckNewConnections()
880 MSG_WriteByte(&net_message, net_activeconnections); in _Datagram_CheckNewConnections()
881 MSG_WriteByte(&net_message, svs.maxclients); in _Datagram_CheckNewConnections()
882 MSG_WriteByte(&net_message, NET_PROTOCOL_VERSION); in _Datagram_CheckNewConnections()
913 MSG_WriteByte(&net_message, CCREP_PLAYER_INFO); in _Datagram_CheckNewConnections()
914 MSG_WriteByte(&net_message, playerNumber); in _Datagram_CheckNewConnections()
[all …]
Dcl_main.cpp117 MSG_WriteByte (&cls.message, clc_disconnect); in CL_Disconnect()
184 MSG_WriteByte (&cls.message, clc_stringcmd); in CL_SignonReply()
189 MSG_WriteByte (&cls.message, clc_stringcmd); in CL_SignonReply()
192 MSG_WriteByte (&cls.message, clc_stringcmd); in CL_SignonReply()
195 MSG_WriteByte (&cls.message, clc_stringcmd); in CL_SignonReply()
201 MSG_WriteByte (&cls.message, clc_stringcmd); in CL_SignonReply()
Dcl_input.cpp359 MSG_WriteByte (&buf, clc_move); in CL_SendMove()
383 MSG_WriteByte (&buf, bits); in CL_SendMove()
385 MSG_WriteByte (&buf, in_impulse); in CL_SendMove()
392 MSG_WriteByte (&buf, cmd->lightlevel); in CL_SendMove()
Dpr_cmds.cpp532 MSG_WriteByte (&sv.signon,svc_spawnstaticsound); in PF_ambientsound()
536 MSG_WriteByte (&sv.signon, soundnum); in PF_ambientsound()
538 MSG_WriteByte (&sv.signon, (int) (vol*255)); in PF_ambientsound()
539 MSG_WriteByte (&sv.signon, (int) (attenuation*64)); in PF_ambientsound()
1541 MSG_WriteByte (WriteDest(), (int) G_FLOAT(OFS_PARM1)); in PF_WriteByte()
1591 MSG_WriteByte (&sv.signon,svc_spawnstatic); in PF_makestatic()
1593 MSG_WriteByte (&sv.signon, SV_ModelIndex(pr_strings + ent->u.v.model)); in PF_makestatic()
1595 MSG_WriteByte (&sv.signon, (int) ent->u.v.frame); in PF_makestatic()
1596 MSG_WriteByte (&sv.signon, (int) ent->u.v.colormap); in PF_makestatic()
1597 MSG_WriteByte (&sv.signon, (int) ent->u.v.skin); in PF_makestatic()
Dnet_ser.cpp788 MSG_WriteByte(&net_message, CCREQ_CONNECT); in _Serial_Connect()
911 MSG_WriteByte(&net_message, CCREP_SERVER_INFO); in _Serial_CheckNewConnections()
914 MSG_WriteByte(&net_message, net_activeconnections); in _Serial_CheckNewConnections()
915 MSG_WriteByte(&net_message, svs.maxclients); in _Serial_CheckNewConnections()
929 MSG_WriteByte(&net_message, CCREP_ACCEPT); in _Serial_CheckNewConnections()
Dcommon.h105 void MSG_WriteByte (sizebuf_t *sb, int c);
Dcl_demo.cpp179 MSG_WriteByte (&net_message, svc_disconnect); in CL_Stop_f()
/external/quake/quake/src/QW/server/
Dsv_ents.c120 MSG_WriteByte (msg, svc_nails); in SV_EmitNailUpdate()
121 MSG_WriteByte (msg, numnails); in SV_EmitNailUpdate()
140 MSG_WriteByte (msg, bits[i]); in SV_EmitNailUpdate()
217 MSG_WriteByte (msg, bits&255); in SV_WriteDelta()
219 MSG_WriteByte (msg, to->modelindex); in SV_WriteDelta()
221 MSG_WriteByte (msg, to->frame); in SV_WriteDelta()
223 MSG_WriteByte (msg, to->colormap); in SV_WriteDelta()
225 MSG_WriteByte (msg, to->skinnum); in SV_WriteDelta()
227 MSG_WriteByte (msg, to->effects); in SV_WriteDelta()
266 MSG_WriteByte (msg, svc_deltapacketentities); in SV_EmitPacketEntities()
[all …]
Dsv_send.c238 MSG_WriteByte (&sv.reliable_datagram, svc_stufftext); in SV_BroadcastCommand()
415 MSG_WriteByte (&sv.multicast, svc_sound); in SV_StartSound()
418 MSG_WriteByte (&sv.multicast, volume); in SV_StartSound()
420 MSG_WriteByte (&sv.multicast, attenuation*64); in SV_StartSound()
421 MSG_WriteByte (&sv.multicast, sound_num); in SV_StartSound()
481 MSG_WriteByte (msg, svc_chokecount); in SV_WriteClientdataToMessage()
482 MSG_WriteByte (msg, client->chokecount); in SV_WriteClientdataToMessage()
490 MSG_WriteByte (msg, svc_damage); in SV_WriteClientdataToMessage()
491 MSG_WriteByte (msg, ent->v.dmg_save); in SV_WriteClientdataToMessage()
492 MSG_WriteByte (msg, ent->v.dmg_take); in SV_WriteClientdataToMessage()
[all …]
Dsv_user.c85 MSG_WriteByte (&host_client->netchan.message, svc_serverdata); in SV_New_f()
93 MSG_WriteByte (&host_client->netchan.message, playernum); in SV_New_f()
111 MSG_WriteByte (&host_client->netchan.message, svc_cdtrack); in SV_New_f()
112 MSG_WriteByte (&host_client->netchan.message, sv.edicts->v.sounds); in SV_New_f()
115 MSG_WriteByte (&host_client->netchan.message, svc_stufftext); in SV_New_f()
153 MSG_WriteByte (&host_client->netchan.message, svc_soundlist); in SV_Soundlist_f()
154 MSG_WriteByte (&host_client->netchan.message, n); in SV_Soundlist_f()
160 MSG_WriteByte (&host_client->netchan.message, 0); in SV_Soundlist_f()
164 MSG_WriteByte (&host_client->netchan.message, n); in SV_Soundlist_f()
166 MSG_WriteByte (&host_client->netchan.message, 0); in SV_Soundlist_f()
[all …]
Dsv_main.c161 MSG_WriteByte (&net_message, svc_print); in SV_FinalMessage()
162 MSG_WriteByte (&net_message, PRINT_HIGH); in SV_FinalMessage()
164 MSG_WriteByte (&net_message, svc_disconnect); in SV_FinalMessage()
186 MSG_WriteByte (&drop->netchan.message, svc_disconnect); in SV_DropClient()
282 MSG_WriteByte (buf, svc_updatefrags); in SV_FullClientUpdate()
283 MSG_WriteByte (buf, i); in SV_FullClientUpdate()
286 MSG_WriteByte (buf, svc_updateping); in SV_FullClientUpdate()
287 MSG_WriteByte (buf, i); in SV_FullClientUpdate()
290 MSG_WriteByte (buf, svc_updatepl); in SV_FullClientUpdate()
291 MSG_WriteByte (buf, i); in SV_FullClientUpdate()
[all …]
Dsv_init.c125 MSG_WriteByte (&sv.signon,svc_spawnbaseline); in SV_CreateBaseline()
128 MSG_WriteByte (&sv.signon, svent->baseline.modelindex); in SV_CreateBaseline()
129 MSG_WriteByte (&sv.signon, svent->baseline.frame); in SV_CreateBaseline()
130 MSG_WriteByte (&sv.signon, svent->baseline.colormap); in SV_CreateBaseline()
131 MSG_WriteByte (&sv.signon, svent->baseline.skinnum); in SV_CreateBaseline()
Dpr_cmds.c449 MSG_WriteByte (&sv.signon,svc_spawnstaticsound); in PF_ambientsound()
453 MSG_WriteByte (&sv.signon, soundnum); in PF_ambientsound()
455 MSG_WriteByte (&sv.signon, vol*255); in PF_ambientsound()
456 MSG_WriteByte (&sv.signon, attenuation*64); in PF_ambientsound()
1362 MSG_WriteByte (WriteDest(), G_FLOAT(OFS_PARM1)); in PF_WriteByte()
1447 MSG_WriteByte (&sv.signon,svc_spawnstatic); in PF_makestatic()
1449 MSG_WriteByte (&sv.signon, SV_ModelIndex(PR_GetString(ent->v.model))); in PF_makestatic()
1451 MSG_WriteByte (&sv.signon, ent->v.frame); in PF_makestatic()
1452 MSG_WriteByte (&sv.signon, ent->v.colormap); in PF_makestatic()
1453 MSG_WriteByte (&sv.signon, ent->v.skin); in PF_makestatic()
Dsv_nchan.c97 MSG_WriteByte(&cl->backbuf, c); in ClientReliableWrite_Byte()
100 MSG_WriteByte(&cl->netchan.message, c); in ClientReliableWrite_Byte()

12