Home
last modified time | relevance | path

Searched refs:packbufleng (Results 1 – 12 of 12) sorted by relevance

/dports/games/NBlood/NBlood-a1689a4/source/rr/src/
H A Dnet.h209 void Net_GetSyncInfoFromPacket(uint8_t* packbuf, int packbufleng, int* j, int otherconnectindex);
223 void Net_SendPacket(int32_t dest, uint8_t* pbuf, int32_t packbufleng);
228 void Net_ParsePacketCommon(uint8_t *pbuf, int32_t packbufleng, int32_t serverpacketp);
231 void Net_ReceiveAcknowledge(uint8_t *pbuf, int32_t packbufleng);
234 void Net_ReceiveChallenge(uint8_t *pbuf, int32_t packbufleng, ENetEvent *event);
237 void Net_ReceiveNewPlayer(uint8_t *pbuf, int32_t packbufleng);
240 void Net_ReceivePlayerIndex(uint8_t *pbuf, int32_t packbufleng);
243 void Net_ReceiveClientInfo(uint8_t *pbuf, int32_t packbufleng, int32_t fromserver);
246 void Net_ReceiveUserMapName(uint8_t *pbuf, int32_t packbufleng);
275 void Net_ReceiveMessage(uint8_t *pbuf, int32_t packbufleng);
H A Dnet.cpp1714 while ((*j) < packbufleng) in Net_GetSyncInfoFromPacket()
2165 packbufleng--; in Net_ParsePacket()
2385 if (j > packbufleng) in Net_ParsePacket()
2424 recbuf[packbufleng-2] = 0; in Net_ParsePacket()
2631 boardfilename[packbufleng-1] = 0; in Net_ParsePacket()
3066 int32_t other = pbuf[--packbufleng]; in Net_ParseClientPacket()
3211 Bmemcpy(buffer, pbuf, packbufleng); in Net_SendPacket()
3246 Net_ReceiveMessage(pbuf, packbufleng); in Net_ParsePacketCommon()
3496 int32_t other = pbuf[packbufleng]; in Net_ReceiveClientInfo()
3559 boardfilename[packbufleng-1] = 0; in Net_ReceiveUserMapName()
[all …]
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/
H A Dgame1.c365 short other, packbufleng; in getpackets() local
369 while ((packbufleng = getpacket(&other,packbuf)) > 0) in getpackets()
413 while (j != packbufleng) in getpackets()
452 while (j != packbufleng) in getpackets()
469 recbuf[packbufleng-1] = 0; in getpackets()
512 for (i=1;i<packbufleng;i++) in getpackets()
540 copybufbyte(packbuf+10,boardfilename,packbufleng-11); in getpackets()
541 boardfilename[packbufleng-11] = 0; in getpackets()
589 if (j > packbufleng) in getpackets()
590 printf("DAGNABIT GAME PACKET!!! (%ld too many bytes)\n",j-packbufleng); in getpackets()
[all …]
/dports/games/NBlood/NBlood-a1689a4/source/duke3d/src/
H A Dnetwork.cpp1780 recbuf[packbufleng - 2] = 0; in Net_ReceiveMessage()
1903 int32_t other = pbuf[packbufleng]; in Net_ReceiveClientInfo()
1936 boardfilename[packbufleng - 1] = 0; in Net_ReceiveUserMapName()
2017 Net_ReceiveMessage(pbuf, packbufleng); in Net_ParsePacketCommon()
2029 Net_ReceiveUserMapName(pbuf, packbufleng); in Net_ParsePacketCommon()
2052 int32_t other = pbuf[--packbufleng]; in Net_ParseClientPacket()
2370 int32_t packbufleng = event->packet->dataLength; in Net_ParseServerPacket() local
2375 --packbufleng; in Net_ParseServerPacket()
2397 Net_ReceiveAcknowledge(pbuf, packbufleng); in Net_ParseServerPacket()
2451 Net_ReadWorldUpdate(pbuf, packbufleng); in Net_ParseServerPacket()
[all …]
/dports/games/jfsw/jfsw-c434002/src/
H A Dnet.c114 void GetSyncInfoFromPacket(BYTEp packbuf, int packbufleng, int *j, int otherconnectindex);
823 short other, packbufleng; in faketimerhandler() local
1149 int otherconnectindex, packbufleng; in getpackets() local
1159 while ((packbufleng = netgetpacket(&otherconnectindex, packbuf)) > 0) in getpackets()
1214 GetSyncInfoFromPacket(packbuf, packbufleng, &j, otherconnectindex); in getpackets()
1266 while (j < packbufleng) in getpackets()
1323 GetSyncInfoFromPacket(packbuf, packbufleng, &j, otherconnectindex); in getpackets()
1345 memcpy(ds,&packbuf[3],packbufleng-3); in getpackets()
1346 ds[packbufleng-3] = 0; in getpackets()
H A Dsync.c422 GetSyncInfoFromPacket(char *packbuf, int packbufleng, int *j, int otherconnectindex) in GetSyncInfoFromPacket() argument
451 while ((*j) < packbufleng) in GetSyncInfoFromPacket()
/dports/games/NBlood/NBlood-a1689a4/source/sw/src/
H A Dnetwork.cpp119 void GetSyncInfoFromPacket(uint8_t *packbuf, int packbufleng, int *j, int otherconnectindex);
1297 int otherconnectindex, packbufleng; in getpackets() local
1307 while ((packbufleng = netgetpacket(&otherconnectindex, packbuf)) > 0) in getpackets()
1360 GetSyncInfoFromPacket(packbuf, packbufleng, &j, otherconnectindex); in getpackets()
1409 while (j != packbufleng) in getpackets()
1428 GetSyncInfoFromPacket(packbuf, packbufleng, &j, otherconnectindex); in getpackets()
1464 GetSyncInfoFromPacket(packbuf, packbufleng, &j, otherconnectindex); in getpackets()
1486 memcpy(ds,&packbuf[1],packbufleng-1); in getpackets()
1487 ds[packbufleng-1] = 0; in getpackets()
H A Dsync.cpp418 GetSyncInfoFromPacket(uint8_t *packbuf, int packbufleng, int *j, int otherconnectindex) in GetSyncInfoFromPacket() argument
447 while ((*j) < packbufleng) in GetSyncInfoFromPacket()
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/enginera/
H A DGAME.C5410 short other, packbufleng; in faketimerhandler() local
5537 short other, packbufleng, movecnt; in getpackets() local
5542 while ((packbufleng = getpacket(&other,packbuf)) > 0) in getpackets()
5562 while (j != packbufleng) in getpackets()
5589 getmessageleng = packbufleng-1; in getpackets()
5613 while (j != packbufleng) in getpackets()
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/enginerr/
H A DGAME.C5411 short other, packbufleng; in faketimerhandler() local
5538 short other, packbufleng, movecnt; in getpackets() local
5543 while ((packbufleng = getpacket(&other,packbuf)) > 0) in getpackets()
5563 while (j != packbufleng) in getpackets()
5590 getmessageleng = packbufleng-1; in getpackets()
5614 while (j != packbufleng) in getpackets()
/dports/games/jfsw/jfsw-c434002/jfbuild/kenbuild/
H A Dgame.c5634 short other, packbufleng; local
5780 int other, packbufleng, movecnt; local
5785 while ((packbufleng = getpacket(&other,packbuf)) > 0)
5805 while (j != packbufleng)
5832 getmessageleng = packbufleng-1;
5862 while (j != packbufleng)
/dports/games/NBlood/NBlood-a1689a4/source/kenbuild/src/
H A Dgame.cpp5815 int other = 0, packbufleng, movecnt; in getpackets() local
5820 while ((packbufleng = getpacket(&other,packbuf)) > 0) in getpackets()
5840 while (j != packbufleng) in getpackets()
5868 getmessageleng = packbufleng-1; in getpackets()
5898 while (j != packbufleng) in getpackets()