Searched refs:tailCellId (Results 1 – 1 of 1) sorted by relevance
309 …const int32_t tailCellId = ( GetDirection( currentHeadCellId, headCellId ) & LEFT_SIDE ) ? headCel… in GetPathForWideUnit() local312 if ( headCellId == dstHeadCellId && tailCellId == dstTailCellId ) { in GetPathForWideUnit()319 if ( headCellId == dstTailCellId && tailCellId == dstHeadCellId ) { in GetPathForWideUnit()320 result.push_back( tailCellId ); in GetPathForWideUnit()327 … if ( isMoatBuilt && ( isMoatIndex( headCellId, unit ) || isMoatIndex( tailCellId, unit ) ) ) { in GetPathForWideUnit()329 …if ( ( tailCellId != currentHeadCellId || !isMoatIndex( tailCellId, unit ) ) && ( headCellId != cu… in GetPathForWideUnit()335 …cellCosts.emplace( GetDistance( headCellId, dstHeadCellId ) + GetDistance( tailCellId, dstTailCell… in GetPathForWideUnit()