X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fposition.h;h=516f3f1b0c1bda1d2c3f2ba47f3f342ca7f22740;hb=4502a1934f2d624288b635b5901ecda8cefa342c;hp=ece3f44232e9411222248dcc0fe4519aab09523a;hpb=098f645d26675bcf2180b290be77fe64a63de3ae;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; };