Home
last modified time | relevance | path

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

/dports/games/fheroes2/fheroes2-0.9.11/src/fheroes2/battle/
H A Dbattle_board.h75 static bool isNearIndexes( s32, s32 );
H A Dbattle_troop.cpp412 …&& ( Board::isNearIndexes( a.GetHeadIndex(), b.GetHeadIndex() ) || ( b.isWide() && Board::isNearIn… in isHandFighting()
414 && ( Board::isNearIndexes( a.GetTailIndex(), b.GetHeadIndex() ) in isHandFighting()
415 … || ( b.isWide() && Board::isNearIndexes( a.GetTailIndex(), b.GetTailIndex() ) ) ) ) ); in isHandFighting()
H A Dbattle_board.cpp509 if ( isNearIndexes( from, tailIndex ) ) { in OptimalAttackTarget()
510 if ( attacker.isDoubleCellAttack() && isNearIndexes( from, headIndex ) in OptimalAttackTarget()
563 bool Battle::Board::isNearIndexes( s32 index1, s32 index2 ) in isNearIndexes() function in Battle::Board
H A Dbattle_action.cpp73 if ( !Board::isNearIndexes( attacker.GetHeadIndex(), dst ) ) in BattleProcess()