Home
last modified time | relevance | path

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

/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/battle/
H A Dbattle_board.cpp288 const int32_t dstHeadCellId = destination.GetHead()->GetIndex(); in GetPathForWideUnit() local
295 …f ( GetDistance( currentHeadCellId, dstHeadCellId ) > remainingSteps && GetDistance( currentTailCe… in GetPathForWideUnit()
312 if ( headCellId == dstHeadCellId && tailCellId == dstTailCellId ) { in GetPathForWideUnit()
319 if ( headCellId == dstTailCellId && tailCellId == dstHeadCellId ) { in GetPathForWideUnit()
335 …cellCosts.emplace( GetDistance( headCellId, dstHeadCellId ) + GetDistance( tailCellId, dstTailCell… in GetPathForWideUnit()