Searched refs:tdir (Results 1 – 2 of 2) sorted by relevance
/external/quake/quake/src/QW/server/ |
D | sv_move.c | 288 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/ |
D | sv_move.cpp | 288 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()
|