X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.h;h=4bb8b0ad1d3ae67bd4466a270c9c4004535f1932;hb=141caf1d5b642bab826e2e8a7ab043b8c4928250;hp=61a33242124f3f68515d4d87a9907af9a5c49a64;hpb=b6ab610e2f3d9148e2a75984800cebc0757b7f01;p=stockfish diff --git a/src/search.h b/src/search.h index 61a33242..4bb8b0ad 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,19 @@ 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; + Value evalMargin; bool skipNullMove; - - void init(); - void initKillers(); + SplitPoint* sp; };