Searched refs:BishopAttacks (Results 1 – 6 of 6) sorted by relevance
/dports/games/crafty/crafty-25.2_1/ |
H A D | attacks.c | 20 && (BishopAttacks(square, in Attacks() 56 attacks |= BishopAttacks(square, OccupiedSquares) & bsliders; in AttacksTo() 80 return BishopAttacks(source, OccupiedSquares); in AttacksFrom() 115 BishopAttacks(square, OccupiedSquares) & bsliders) in Attacked()
|
H A D | see.c | 57 attacks |= BishopAttacks(target, toccupied) & bsliders; in SEE() 83 attacks |= BishopAttacks(target, toccupied) & bsliders; in SEE() 154 attacks |= BishopAttacks(target, toccupied) & bsliders; in SEEO() 182 attacks |= BishopAttacks(target, toccupied) & bsliders; in SEEO()
|
H A D | movgen.c | 50 moves = BishopAttacks(from, OccupiedSquares) & Occupied(enemy); in GenerateCaptures() 203 temp_target = target & BishopAttacks(KingSQ(enemy), OccupiedSquares); in GenerateChecks() 206 moves = BishopAttacks(from, OccupiedSquares) & temp_target; in GenerateChecks() 262 BishopAttacks(KingSQ(enemy), in GenerateChecks() 266 BishopAttacks(KingSQ(enemy), in GenerateChecks() 386 temp_target = target & ~BishopAttacks(KingSQ(enemy), OccupiedSquares); in GenerateChecks() 389 moves = BishopAttacks(from, OccupiedSquares) & temp_target; in GenerateChecks() 536 moves = BishopAttacks(from, OccupiedSquares) & target; in GenerateCheckEvasions() 735 moves = BishopAttacks(from, OccupiedSquares) & target; in GenerateNoncaptures()
|
H A D | tbconfig.h | 91 # define TB_BISHOP_ATTACKS(square, occ) BishopAttacks(square, occ)
|
H A D | chess.h | 558 # define BishopAttacks(square, occ) *(magic_bishop_indices[square]+((((occ)&magic_bishop_mask[squa… macro 567 # define QueenAttacks(square, occ) (BishopAttacks(square, occ)|RookAttacks(square, occ)) 579 # define Diaga1Attacks(a) (BishopAttacks(a, OccupiedSquares) & (plus9dir[a] | minus9dir[a])) 580 # define Diagh1Attacks(a) (BishopAttacks(a, OccupiedSquares) & (plus7dir[a] | minus7dir[a]))
|
H A D | evaluate.c | 407 ((BishopAttacks(square, OccupiedSquares & ~Queens(side))) & moves)) in EvaluateBishops()
|