Home
last modified time | relevance | path

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

/dports/games/crafty/crafty-25.2_1/
H A Dattacks.c20 && (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 Dsee.c57 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 Dmovgen.c50 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 Dtbconfig.h91 # define TB_BISHOP_ATTACKS(square, occ) BishopAttacks(square, occ)
H A Dchess.h558 # 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 Devaluate.c407 ((BishopAttacks(square, OccupiedSquares & ~Queens(side))) & moves)) in EvaluateBishops()