Home
last modified time | relevance | path

Searched refs:BACKUPTICS (Results 1 – 25 of 68) sorted by relevance

123

/dports/games/zdoom/zdoom-2.8.1/src/
H A Dd_net.h41 #define BACKUPTICS 36 // number of tics to remember macro
43 #define LOCALCMDTICS (BACKUPTICS*MAXTICDUP)
49 #define MAX_MSGLEN (BACKUPTICS*10)
105 extern FDynamicBuffer NetSpecs[MAXPLAYERS][BACKUPTICS];
145 extern int netdelay[MAXNETNODES][BACKUPTICS];
148 extern ticcmd_t netcmds[MAXPLAYERS][BACKUPTICS];
H A Dd_net.cpp184 BYTE *streams[BACKUPTICS];
185 size_t used[BACKUPTICS];
199 for (i = 0; i < BACKUPTICS; i++) in TicSpecial()
202 for (i = 0; i < BACKUPTICS; i++) in TicSpecial()
214 for (i = 0; i < BACKUPTICS; i++) in ~TicSpecial()
235 for (i = 0; i < BACKUPTICS; i++) in GetMoreSpace()
1159 if (numtics > BACKUPTICS) in NetUpdate()
1242 start %= BACKUPTICS; in NetUpdate()
1243 prev %= BACKUPTICS; in NetUpdate()
1324 arbavg /= BACKUPTICS; in NetUpdate()
[all …]
H A Dd_protocol.cpp406 extern short consistancy[MAXPLAYERS][BACKUPTICS];
413 int ticmod = tic % BACKUPTICS; in ReadTicCmd()
428 tic ? &netcmds[player][(tic-1)%BACKUPTICS].ucmd : NULL, stream); in ReadTicCmd()
434 memcpy (&tcmd->ucmd, &netcmds[player][(tic-1)%BACKUPTICS].ucmd, sizeof(tcmd->ucmd)); in ReadTicCmd()
442 if (player==consoleplayer&&tic>BACKUPTICS) in ReadTicCmd()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/
H A Dnet_client.c139 static net_server_send_t send_queue[BACKUPTICS];
145 static net_server_recv_t recvwindow[BACKUPTICS];
189 if (seq == send_queue[seq % BACKUPTICS].seq) in NET_CL_ExpandFullTiccmd()
376 sendobj = &send_queue[i % BACKUPTICS]; in NET_CL_SendTics()
410 sendobj = &send_queue[maketic % BACKUPTICS]; in NET_CL_SendTiccmd()
586 if (index < 0 || index >= BACKUPTICS) in NET_CL_SendResendRequest()
606 for (i=0; i<BACKUPTICS; ++i) in NET_CL_CheckResends()
710 if (index < 0 || index >= BACKUPTICS) in NET_CL_ParseGameData()
736 if (resend_end >= BACKUPTICS) in NET_CL_ParseGameData()
737 resend_end = BACKUPTICS - 1; in NET_CL_ParseGameData()
[all …]
H A Dnet_server.c98 net_full_ticcmd_t sendqueue[BACKUPTICS];
518 sizeof(*recvwindow) * (BACKUPTICS - 1)); in NET_SV_AdvanceWindow()
978 if (index >= BACKUPTICS) in NET_SV_SendResendRequest()
1006 for (i=0; i<BACKUPTICS; ++i) in NET_SV_CheckResends()
1115 if (index < 0 || index >= BACKUPTICS) in NET_SV_ParseGameData()
1148 if (resend_end >= BACKUPTICS) in NET_SV_ParseGameData()
1149 resend_end = BACKUPTICS - 1; in NET_SV_ParseGameData()
1241 cmd = &client->sendqueue[i % BACKUPTICS]; in NET_SV_SendTics()
1286 cmd = &client->sendqueue[i % BACKUPTICS]; in NET_SV_ParseResendRequest()
1459 if (recv_index < 0 || recv_index >= BACKUPTICS) in NET_SV_PumpSendQueue()
[all …]
H A Dd_loop.c64 static ticcmd_set_t ticdata[BACKUPTICS];
189 ticdata[maketic % BACKUPTICS].cmds[localplayer] = cmd; in BuildNewTic()
190 ticdata[maketic % BACKUPTICS].ingame[localplayer] = true; in BuildNewTic()
288 ticdata[recvtic % BACKUPTICS].cmds[i] = ticcmds[i]; in D_ReceiveTic()
289 ticdata[recvtic % BACKUPTICS].ingame[i] = players_mask[i]; in D_ReceiveTic()
778 set = &ticdata[(gametic / ticdup) % BACKUPTICS]; in TryRunTics()
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/
H A Dnet_client.c144 static net_server_send_t send_queue[BACKUPTICS];
150 static net_server_recv_t recvwindow[BACKUPTICS];
191 if (seq == send_queue[seq % BACKUPTICS].seq) in UpdateClockSync()
374 sendobj = &send_queue[i % BACKUPTICS]; in NET_CL_SendTics()
408 sendobj = &send_queue[maketic % BACKUPTICS]; in NET_CL_SendTiccmd()
637 if (index < 0 || index >= BACKUPTICS) in NET_CL_SendResendRequest()
659 for (i=0; i<BACKUPTICS; ++i) in NET_CL_CheckResends()
780 if (index < 0 || index >= BACKUPTICS) in NET_CL_ParseGameData()
817 if (resend_end >= BACKUPTICS) in NET_CL_ParseGameData()
818 resend_end = BACKUPTICS - 1; in NET_CL_ParseGameData()
[all …]
H A Dd_loop.c66 static ticcmd_set_t ticdata[BACKUPTICS];
192 ticdata[maketic % BACKUPTICS].cmds[localplayer] = cmd; in BuildNewTic()
193 ticdata[maketic % BACKUPTICS].ingame[localplayer] = true; in BuildNewTic()
291 ticdata[recvtic % BACKUPTICS].cmds[i] = ticcmds[i]; in D_ReceiveTic()
292 ticdata[recvtic % BACKUPTICS].ingame[i] = players_mask[i]; in D_ReceiveTic()
789 set = &ticdata[(gametic / ticdup) % BACKUPTICS]; in TryRunTics()
H A Dnet_server.c96 net_full_ticcmd_t sendqueue[BACKUPTICS];
518 sizeof(*recvwindow) * (BACKUPTICS - 1)); in NET_SV_AdvanceWindow()
1031 if (index >= BACKUPTICS) in NET_SV_SendResendRequest()
1059 for (i=0; i<BACKUPTICS; ++i) in NET_SV_CheckResends()
1175 if (index < 0 || index >= BACKUPTICS) in NET_SV_ParseGameData()
1210 if (resend_end >= BACKUPTICS) in NET_SV_ParseGameData()
1211 resend_end = BACKUPTICS - 1; in NET_SV_ParseGameData()
1305 cmd = &client->sendqueue[i % BACKUPTICS]; in NET_SV_SendTics()
1353 cmd = &client->sendqueue[i % BACKUPTICS]; in NET_SV_ParseResendRequest()
1578 if (recv_index < 0 || recv_index >= BACKUPTICS) in NET_SV_PumpSendQueue()
[all …]
/dports/games/edge/Edge-1.35-source/src/
H A De_player.h47 #define BACKUPTICS 12 macro
303 short consistency[BACKUPTICS];
305 ticcmd_t in_cmds [BACKUPTICS];
306 ticcmd_t out_cmds[BACKUPTICS]; //???
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Dd_net.h75 ticcmd_t cmds[BACKUPTICS];
118 char filler[sizeof(ticcmd_t)*BACKUPTICS-STARTUPLEN];
131 uint8_t value[sizeof(ticcmd_t)*BACKUPTICS - sizeof(netmisctype_t) - sizeof(size_t)];
H A Dd_client.c65 ticcmd_t netcmds[MAXPLAYERS][BACKUPTICS];
191 RawToTic(&netcmds[n][remotetic%BACKUPTICS], p); in NetUpdate()
239 if (maketic - gametic > BACKUPTICS/2) break; in NetUpdate()
240 G_BuildTiccmd(&localcmds[maketic%BACKUPTICS]); in NetUpdate()
258 TicToRaw(tic, &localcmds[remotesend++%BACKUPTICS]); in NetUpdate()
519 G_BuildTiccmd(&localcmds[maketic % BACKUPTICS]); in D_BuildNewTiccmds()
525 ticcmd_t prevcmd = localcmds[(maketic-1) % BACKUPTICS]; in D_BuildNewTiccmds()
526 ticcmd_t *cmd = &localcmds[(maketic-1) % BACKUPTICS]; in D_BuildNewTiccmds()
H A Ddoomstat.h269 #define BACKUPTICS 12 macro
271 extern ticcmd_t netcmds[][BACKUPTICS];
H A Dd_server.c193 #define BACKUPTICS 12 macro
455 ticcmd_t netcmds[MAXPLAYERS][BACKUPTICS]; in main()
544 netcmds[from][remoteticfrom[from]++%BACKUPTICS] = *newtic++; in main()
689 memcpy(p, &netcmds[j][remoteticto[i]%BACKUPTICS], sizeof(ticcmd_t)); in main()
/dports/games/prboom/prboom-2.5.0/src/
H A Dd_net.h81 ticcmd_t cmds[BACKUPTICS];
124 char filler[sizeof(ticcmd_t)*BACKUPTICS-STARTUPLEN];
137 byte value[sizeof(ticcmd_t)*BACKUPTICS - sizeof(netmisctype_t) - sizeof(size_t)];
H A Dd_client.c76 ticcmd_t netcmds[MAXPLAYERS][BACKUPTICS];
293 RawToTic(&netcmds[n][remotetic%BACKUPTICS], p); in NetUpdate()
341 if (maketic - gametic > BACKUPTICS/2) break; in NetUpdate()
342 G_BuildTiccmd(&localcmds[maketic%BACKUPTICS]); in NetUpdate()
360 TicToRaw(tic, &localcmds[remotesend++%BACKUPTICS]); in NetUpdate()
380 if (maketic - gametic > BACKUPTICS/2) break; in D_BuildNewTiccmds()
381 G_BuildTiccmd(&localcmds[maketic%BACKUPTICS]); in D_BuildNewTiccmds()
H A Ddoomstat.h279 #define BACKUPTICS 12 macro
281 extern ticcmd_t netcmds[][BACKUPTICS];
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dd_net.h81 ticcmd_t cmds[BACKUPTICS];
124 char filler[sizeof(ticcmd_t)*BACKUPTICS-STARTUPLEN];
137 byte value[sizeof(ticcmd_t)*BACKUPTICS - sizeof(netmisctype_t) - sizeof(size_t)];
H A Dd_client.c77 ticcmd_t netcmds[MAXPLAYERS][BACKUPTICS];
294 RawToTic(&netcmds[n][remotetic%BACKUPTICS], p); in NetUpdate()
342 if (maketic - gametic > BACKUPTICS/2) break; in NetUpdate()
349 G_BuildTiccmd(&localcmds[maketic%BACKUPTICS]); in NetUpdate()
367 TicToRaw(tic, &localcmds[remotesend++%BACKUPTICS]); in NetUpdate()
387 if (maketic - gametic > BACKUPTICS/2) break; in D_BuildNewTiccmds()
388 G_BuildTiccmd(&localcmds[maketic%BACKUPTICS]); in D_BuildNewTiccmds()
H A Ddoomstat.h297 #define BACKUPTICS 12 macro
299 extern ticcmd_t netcmds[][BACKUPTICS];
/dports/games/heretic/glheretic-1.2/
H A Dd_net.c40 ticcmd_t localcmds[BACKUPTICS];
42 ticcmd_t netcmds[MAXPLAYERS][BACKUPTICS];
338 dest = &netcmds[netconsole][nettics[netnode]%BACKUPTICS]; in GetPackets()
399 if (maketic - gameticdiv >= BACKUPTICS/2-1) in NetUpdate()
402 G_BuildTiccmd (&localcmds[maketic%BACKUPTICS]); in NetUpdate()
418 if (netbuffer->numtics > BACKUPTICS) in NetUpdate()
425 localcmds[(realstart+j)%BACKUPTICS]; in NetUpdate()
592 maxsend = BACKUPTICS/(2*ticdup)-1; in D_CheckNetGame()
790 buf = (gametic/ticdup)%BACKUPTICS; in TryRunTics()
/dports/games/uhexen/uhexen-0.601/src/
H A Dd_net.c47 ticcmd_t localcmds[BACKUPTICS];
49 ticcmd_t netcmds[MAXPLAYERS][BACKUPTICS];
377 dest = &netcmds[netconsole][nettics[netnode]%BACKUPTICS]; in GetPackets()
439 if (maketic - gameticdiv >= BACKUPTICS/2-1) in NetUpdate()
442 G_BuildTiccmd (&localcmds[maketic%BACKUPTICS]); in NetUpdate()
458 if (netbuffer->numtics > BACKUPTICS) in NetUpdate()
465 localcmds[(realstart+j)%BACKUPTICS]; in NetUpdate()
725 maxsend = BACKUPTICS/(2*ticdup)-1; in D_CheckNetGame()
915 buf = (gametic/ticdup)%BACKUPTICS; in TryRunTics()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dd_clisrv.c68 #define PREDICTIONQUEUE BACKUPTICS
110 static INT16 consistancy[BACKUPTICS];
153 ticcmd_t netcmds[BACKUPTICS][MAXPLAYERS];
422 netcmds[tic%BACKUPTICS][i].angleturn = 0; in D_Clearticcmd()
1578 consistancy[gametic%BACKUPTICS] = Consistancy(); in CL_LoadReceivedSavegame()
4111 consistancy[realstart%BACKUPTICS], in HandlePacketFromPlayer()
4173 && tic < firstticstosend + BACKUPTICS) in HandlePacketFromPlayer()
4176 if (tic >= firstticstosend + BACKUPTICS) in HandlePacketFromPlayer()
4301 pak = G_ScpyTiccmd(netcmds[i%BACKUPTICS], pak, in HandlePacketFromPlayer()
5023 if (maketic + 1 >= nettics[i] + BACKUPTICS) in NetUpdate()
[all …]
/dports/games/odamex/odamex-src-0.7.0/common/
H A Dd_net.h30 #define BACKUPTICS 12 // number of tics to remember macro
/dports/games/odamex/odamex-src-0.7.0/client/src/
H A Dd_net.cpp79 G_BuildTiccmd (&consoleplayer().netcmds[gametic%BACKUPTICS]); in NetUpdate()

123