X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.h;h=f73799b3db557a4640367cb69973f59a63427f33;hp=812f5eea896f7c6da88c514fe7ea3a68b1f1592d;hb=93bc05cf693064b80bf70cb97c6d110ab8f0a015;hpb=a7227ac26ff2be2a0e477b04022a54e56c8bf35f diff --git a/src/search.h b/src/search.h index 812f5eea..f73799b3 100644 --- a/src/search.h +++ b/src/search.h @@ -41,6 +41,7 @@ const int PLY_MAX = 100; const int PLY_MAX_PLUS_2 = 102; +const int KILLER_MAX = 4; //// @@ -56,8 +57,9 @@ struct SearchStack { Move pv[PLY_MAX]; Move currentMove; Value currentMoveCaptureValue; - Move mateKiller, killer1, killer2; + Move mateKiller; Move threatMove; + Move killers[KILLER_MAX]; Depth reduction; }; @@ -66,10 +68,9 @@ struct SearchStack { //// Global variables //// +extern SearchStack EmptySearchStack; extern TranspositionTable TT; - extern int ActiveThreads; - extern Lock SMPLock; // Perhaps better to make H local, and pass as parameter to MovePicker?