Home
last modified time | relevance | path

Searched refs:tdir (Results 1 – 2 of 2) sorted by relevance

/external/quake/quake/src/QW/server/
Dsv_move.c288 float tdir, olddir, turnaround; in SV_NewChaseDir() local
312 tdir = d[2] == 90 ? 45 : 315; in SV_NewChaseDir()
314 tdir = d[2] == 90 ? 135 : 215; in SV_NewChaseDir()
316 if (tdir != turnaround && SV_StepDirection(actor, tdir, dist)) in SV_NewChaseDir()
323 tdir=d[1]; in SV_NewChaseDir()
325 d[2]=tdir; in SV_NewChaseDir()
343 for (tdir=0 ; tdir<=315 ; tdir += 45) in SV_NewChaseDir()
344 if (tdir!=turnaround && SV_StepDirection(actor, tdir, dist) ) in SV_NewChaseDir()
349 for (tdir=315 ; tdir >=0 ; tdir -= 45) in SV_NewChaseDir()
350 if (tdir!=turnaround && SV_StepDirection(actor, tdir, dist) ) in SV_NewChaseDir()
/external/quake/quake/src/WinQuake/
Dsv_move.cpp288 float tdir, olddir, turnaround; in SV_NewChaseDir() local
312 tdir = d[2] == 90 ? 45 : 315; in SV_NewChaseDir()
314 tdir = d[2] == 90 ? 135 : 215; in SV_NewChaseDir()
316 if (tdir != turnaround && SV_StepDirection(actor, tdir, dist)) in SV_NewChaseDir()
323 tdir=d[1]; in SV_NewChaseDir()
325 d[2]=tdir; in SV_NewChaseDir()
343 for (tdir=0 ; tdir<=315 ; tdir += 45) in SV_NewChaseDir()
344 if (tdir!=turnaround && SV_StepDirection(actor, tdir, dist) ) in SV_NewChaseDir()
349 for (tdir=315 ; tdir >=0 ; tdir -= 45) in SV_NewChaseDir()
350 if (tdir!=turnaround && SV_StepDirection(actor, tdir, dist) ) in SV_NewChaseDir()