X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fsearch.h;h=91f484a1a344a4d400ef792817f8d2f761df015d;hb=d9b920acfbc5c8fdc362111d00c962ad654595e6;hp=62d3fe9ed9f4055eadd1800679bee69f9f25b274;hpb=e1ed67aacbe7fb4b462b9141d3137bed0a3ea70b;p=stockfish diff --git a/src/search.h b/src/search.h index 62d3fe9e..91f484a1 100644 --- a/src/search.h +++ b/src/search.h @@ -26,12 +26,7 @@ //// #include "depth.h" -#include "history.h" -#include "lock.h" -#include "movegen.h" -#include "position.h" -#include "tt.h" -#include "value.h" +#include "move.h" //// @@ -53,7 +48,7 @@ const int KILLER_MAX = 2; /// current ply. struct SearchStack { - Move pv[PLY_MAX]; + Move pv[PLY_MAX_PLUS_2]; Move currentMove; Move mateKiller; Move threatMove; @@ -65,18 +60,6 @@ struct SearchStack { }; -//// -//// Global variables -//// - -extern TranspositionTable TT; -extern int ActiveThreads; -extern Lock SMPLock; - -// Perhaps better to make H local, and pass as parameter to MovePicker? -extern History H; - - //// //// Prototypes ////