X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsearch.h;h=c8d841a12f5778bd56f84fb22eab04b86b76dabb;hp=812f5eea896f7c6da88c514fe7ea3a68b1f1592d;hb=c97104e8540b72ee2c6c9c13d3773d2c0f9ec32f;hpb=d3600c39a745179ed6b094b305d0645e83a1ee86 diff --git a/src/search.h b/src/search.h index 812f5eea..c8d841a1 100644 --- a/src/search.h +++ b/src/search.h @@ -25,7 +25,6 @@ //// Includes //// -#include "types.h" #include "depth.h" #include "history.h" #include "lock.h" @@ -41,6 +40,7 @@ const int PLY_MAX = 100; const int PLY_MAX_PLUS_2 = 102; +const int KILLER_MAX = 2; //// @@ -56,8 +56,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 +67,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?