X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpawns.h;h=4c041716db854c72d8e3a0d36e54a5e75563b163;hp=ef4b83f844b60785c3cca123313537f5e176331b;hb=7e89a71624e07c735c2230dbbf2c7dbae864916e;hpb=5935daf8a5b6925a6af2084f87e3831b3bb17dac diff --git a/src/pawns.h b/src/pawns.h index ef4b83f8..4c041716 100644 --- a/src/pawns.h +++ b/src/pawns.h @@ -49,7 +49,7 @@ struct Entry { Score do_king_safety(const Position& pos); template - void evaluate_shelter(const Position& pos, Square ksq, Score& shelter); + Score evaluate_shelter(const Position& pos, Square ksq); Key key; Score scores[COLOR_NB]; @@ -59,10 +59,9 @@ struct Entry { Square kingSquares[COLOR_NB]; Score kingSafety[COLOR_NB]; int castlingRights[COLOR_NB]; - int pawnsOnSquares[COLOR_NB][COLOR_NB]; // [color][light/dark squares] }; -typedef HashTable Table; +typedef HashTable Table; Entry* probe(const Position& pos);