Home
last modified time | relevance | path

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

/dports/games/ufoai/ufoai-2.5-source/src/common/
H A Dgrid.cpp160 byte TUsAfter; member in Step
182 r), dir(_dir), actorSize(_actorSize), crouchingState(_crouchingState), TUsAfter(0) in Step()
252 TUsAfter = TUsSoFar + TUsForMove; in calcNewTUs()
568 if (RT_AREA_POS(path, step.toPos, step.crouchingState) <= step.TUsAfter) { in Grid_CalcPathing()
579 … Grid_SetMoveData(path, step.toPos, step.crouchingState, step.TUsAfter, step.dir, step.fromPos[2]); in Grid_CalcPathing()
583 PQueuePush(&pqueue, dummy, step.TUsAfter); in Grid_CalcPathing()
670 if (RT_AREA_POS(path, step.toPos, step.crouchingState) <= step.TUsAfter) { in Grid_FindPath()
683 … Grid_SetMoveData(path, step.toPos, step.crouchingState, step.TUsAfter, step.dir, step.fromPos[2]); in Grid_FindPath()
686 const int dist = step.TUsAfter + (int) (2 * VectorDist(step.toPos, targetPos)); in Grid_FindPath()