mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 15:37:47 +00:00
Rename NonSlidingAttacksBB[] in StepAttacksBB[]
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+3
-3
@@ -37,9 +37,9 @@ namespace {
|
||||
bool is_legal() const;
|
||||
bool is_immediate_draw() const;
|
||||
bool is_immediate_win() const;
|
||||
Bitboard wk_attacks() const { return NonSlidingAttacksBB[WK][whiteKingSquare]; }
|
||||
Bitboard bk_attacks() const { return NonSlidingAttacksBB[BK][blackKingSquare]; }
|
||||
Bitboard pawn_attacks() const { return NonSlidingAttacksBB[WP][pawnSquare]; }
|
||||
Bitboard wk_attacks() const { return StepAttacksBB[WK][whiteKingSquare]; }
|
||||
Bitboard bk_attacks() const { return StepAttacksBB[BK][blackKingSquare]; }
|
||||
Bitboard pawn_attacks() const { return StepAttacksBB[WP][pawnSquare]; }
|
||||
|
||||
Square whiteKingSquare, blackKingSquare, pawnSquare;
|
||||
Color sideToMove;
|
||||
|
||||
Reference in New Issue
Block a user