]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Remove dubious castle detector
[stockfish] / src / position.h
index cc70bcf815fbd8c58cf3366f9afca5905f5dd6d3..5b1bc664be7782f713f1b8641e8aafe9058dc8e4 100644 (file)
@@ -27,7 +27,6 @@
 
 #include "bitboard.h"
 #include "color.h"
-#include "direction.h"
 #include "move.h"
 #include "piece.h"
 #include "square.h"
@@ -197,6 +196,7 @@ public:
   // Information about attacks to or from a given square
   Bitboard attackers_to(Square s) const;
   Bitboard attacks_from(Piece p, Square s) const;
+  static Bitboard attacks_from(Piece p, Square s, Bitboard occ);
   template<PieceType> Bitboard attacks_from(Square s) const;
   template<PieceType> Bitboard attacks_from(Square s, Color c) const;