X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.h;h=5c635478f2fa7d1bdb4010381a06b109fa395694;hb=f6e11ee2a34fb074ebe588bd44a156b001d9b0d9;hp=61a33242124f3f68515d4d87a9907af9a5c49a64;hpb=b6ab610e2f3d9148e2a75984800cebc0757b7f01;p=stockfish diff --git a/src/search.h b/src/search.h index 61a33242..5c635478 100644 --- a/src/search.h +++ b/src/search.h @@ -36,7 +36,6 @@ const int PLY_MAX = 100; const int PLY_MAX_PLUS_2 = 102; -const int KILLER_MAX = 2; //// @@ -48,20 +47,18 @@ const int KILLER_MAX = 2; /// search thread has its own array of SearchStack objects, indexed by the /// current ply. struct EvalInfo; +struct SplitPoint; struct SearchStack { Move currentMove; Move mateKiller; - Move threatMove; Move excludedMove; Move bestMove; - Move killers[KILLER_MAX]; + Move killers[2]; Depth reduction; Value eval; bool skipNullMove; - - void init(); - void initKillers(); + SplitPoint* sp; };