X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fposition.h;h=516f3f1b0c1bda1d2c3f2ba47f3f342ca7f22740;hb=ee0371f86e319aa24bc1d32f02d9495eea79aa72;hp=ece3f44232e9411222248dcc0fe4519aab09523a;hpb=686b45e12171dfde16576169814b80ac33b0157d;p=stockfish diff --git a/src/position.h b/src/position.h index ece3f442..516f3f1b 100644 --- a/src/position.h +++ b/src/position.h @@ -30,6 +30,13 @@ 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; };