]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Tweak backward pawns definition
[stockfish] / src / position.h
index ece3f44232e9411222248dcc0fe4519aab09523a..516f3f1b0c1bda1d2c3f2ba47f3f342ca7f22740 100644 (file)
 class Position;
 struct Thread;
 
+namespace PSQT {
+
+  extern Score psq[COLOR_NB][PIECE_TYPE_NB][SQUARE_NB];
+
+  void init();
+}
+
 /// CheckInfo struct is initialized at c'tor time and keeps info used to detect
 /// if a move gives check.
 
@@ -39,7 +46,7 @@ struct CheckInfo {
 
   Bitboard dcCandidates;
   Bitboard pinned;
-  Bitboard checkSq[PIECE_TYPE_NB];
+  Bitboard checkSquares[PIECE_TYPE_NB];
   Square   ksq;
 };