Home
last modified time | relevance | path

Searched refs:newtics (Results 1 – 16 of 16) sorted by relevance

/dports/games/prboom/prboom-2.5.0/src/
H A Dd_client.c335 int newtics = I_GetTime() - lastmadetic; in NetUpdate() local
336 newtics = (newtics > 0 ? newtics : 0); in NetUpdate()
337 lastmadetic += newtics; in NetUpdate()
338 if (ffmap) newtics++; in NetUpdate()
339 while (newtics--) { in NetUpdate()
375 int newtics = I_GetTime() - lastmadetic; in D_BuildNewTiccmds() local
376 lastmadetic += newtics; in D_BuildNewTiccmds()
377 while (newtics--) in D_BuildNewTiccmds()
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/
H A Dd_loop.c210 int newtics; in NetUpdate() local
226 newtics = nowtime - lasttime; in NetUpdate()
230 if (skiptics <= newtics) in NetUpdate()
232 newtics -= skiptics; in NetUpdate()
237 skiptics -= newtics; in NetUpdate()
238 newtics = 0; in NetUpdate()
243 for (i=0 ; i<newtics ; i++) in NetUpdate()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/
H A Dd_loop.c207 int newtics; in NetUpdate() local
223 newtics = nowtime - lasttime; in NetUpdate()
227 if (skiptics <= newtics) in NetUpdate()
229 newtics -= skiptics; in NetUpdate()
234 skiptics -= newtics; in NetUpdate()
235 newtics = 0; in NetUpdate()
240 for (i=0 ; i<newtics ; i++) in NetUpdate()
/dports/games/heretic/glheretic-1.2/
H A Dd_net.c362 int newtics; in NetUpdate() local
371 newtics = nowtime - gametime; in NetUpdate()
374 if (newtics <= 0) /* nothing new to update */ in NetUpdate()
377 if (skiptics <= newtics) in NetUpdate()
379 newtics -= skiptics; in NetUpdate()
384 skiptics -= newtics; in NetUpdate()
385 newtics = 0; in NetUpdate()
395 for (i=0 ; i<newtics ; i++) in NetUpdate()
H A Di_system.c68 int newtics; in I_GetTime() local
74 newtics = (tp.tv_sec-basetime)*TICRATE + tp.tv_usec*TICRATE/1000000; in I_GetTime()
76 return newtics; in I_GetTime()
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dd_client.c336 int newtics = I_GetTime() - lastmadetic; in NetUpdate() local
338 lastmadetic += newtics; in NetUpdate()
339 if (ffmap) newtics++; in NetUpdate()
340 while (newtics--) { in NetUpdate()
382 int newtics = I_GetTime() - lastmadetic; in D_BuildNewTiccmds() local
383 lastmadetic += newtics; in D_BuildNewTiccmds()
384 while (newtics--) in D_BuildNewTiccmds()
/dports/games/edge/Edge-1.35-source/src/
H A Dn_network.cc277 int newtics = nowtime - last_update_tic; in N_NetUpdate() local
280 if (newtics > 0) in N_NetUpdate()
284 for (t = 0; t < newtics; t++) in N_NetUpdate()
290 if (t != newtics && numplayers > 0) in N_NetUpdate()
291 L_WriteDebug("N_NetUpdate: lost tics: %d\n", newtics - t); in N_NetUpdate()
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Dd_client.c233 int newtics = I_GetTime() - lastmadetic; in NetUpdate() local
234 newtics = (newtics > 0 ? newtics : 0); in NetUpdate()
235 lastmadetic += newtics; in NetUpdate()
236 if (ffmap) newtics++; in NetUpdate()
237 while (newtics--) { in NetUpdate()
/dports/games/uhexen/uhexen-0.601/src/
H A Dd_net.c402 int newtics; in NetUpdate() local
411 newtics = nowtime - gametime; in NetUpdate()
414 if (newtics <= 0) // nothing new to update in NetUpdate()
417 if (skiptics <= newtics) in NetUpdate()
419 newtics -= skiptics; in NetUpdate()
424 skiptics -= newtics; in NetUpdate()
425 newtics = 0; in NetUpdate()
435 for (i=0 ; i<newtics ; i++) in NetUpdate()
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/linux_x/
H A Di_system.c615 int newtics; in I_GetTime() local
627 newtics = (tp.tv_sec-basetime)*TICRATE + tp.tv_usec*TICRATE/1000000; in I_GetTime()
628 if (oldtics && (newtics < oldtics)) in I_GetTime()
633 oldtics = newtics; in I_GetTime()
634 return newtics; in I_GetTime()
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/os2/
H A DI_system.c150 int newtics; in I_GetTime() local
156 newtics = (tp.tv_sec-basetime)*TICRATE + tp.tv_usec*TICRATE/1000000; in I_GetTime()
158 return newtics; in I_GetTime()
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/win32/
H A Dwin_sys.c259 int newtics; in I_GetTime() local
280 newtics = (int)((currtime.QuadPart - basetime.QuadPart) * TICRATE / frequency.QuadPart); in I_GetTime()
287 newtics = ((currtime.LowPart-basetime.LowPart)/(1000/TICRATE)); in I_GetTime()
292 newtics = (GetTickCount() - starttickcount)/(1000/TICRATE); in I_GetTime()
294 hacktics = newtics; //faB: just a local counter for keyboard repeat key in I_GetTime()
295 return newtics; in I_GetTime()
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dd_net.cpp936 int newtics; in NetUpdate() local
951 newtics = nowtime - gametime; in NetUpdate()
954 if (newtics <= 0) // nothing new to update in NetUpdate()
960 if (skiptics <= newtics) in NetUpdate()
962 newtics -= skiptics; in NetUpdate()
967 skiptics -= newtics; in NetUpdate()
968 newtics = 0; in NetUpdate()
972 for (i = 0; i < newtics; i++) in NetUpdate()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/win32/
H A Dwin_sys.c226 tic_t newtics = 0; in I_GetTime() local
246 newtics = (int)((currtime.QuadPart - basetime.QuadPart) * NEWTICRATE in I_GetTime()
254 newtics = ((currtime.LowPart - basetime.LowPart)/(1000/NEWTICRATE)); in I_GetTime()
258 newtics = (GetTickCount() - starttickcount)/(1000/NEWTICRATE); in I_GetTime()
260 hacktics = newtics; // a local counter for keyboard repeat key in I_GetTime()
261 return newtics; in I_GetTime()
/dports/games/odamex/odamex-src-0.7.0/server/src/
H A Dsv_main.cpp4573 QWORD newtics = argc > 1 ? atoi(argv[1]) : 1; in BEGIN_COMMAND() local
4577 SV_StepTics(newtics); in BEGIN_COMMAND()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dp_enemy.c11209 INT32 newtics; in A_BrakChase() local
11224 newtics = (((actor->tics - lowerbound) * actor->health) / actor->info->spawnhealth) + lowerbound; in A_BrakChase()
11225 if (newtics < 1) in A_BrakChase()
11226 newtics = 1; in A_BrakChase()
11228 actor->tics = newtics; in A_BrakChase()