X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fsyzygy%2Ftbprobe.h;h=2bcc0834c9cb8bb7896679703aa8627f067bba14;hp=9ed6f0a39330febb489fc1e8ecb0476fb35b27cb;hb=20023ac9b8c28d8b15308d7bf5be4fad8501535d;hpb=7caa6cd3383cf90189a1947c9bdf9c6fea1172a6 diff --git a/src/syzygy/tbprobe.h b/src/syzygy/tbprobe.h index 9ed6f0a3..2bcc0834 100644 --- a/src/syzygy/tbprobe.h +++ b/src/syzygy/tbprobe.h @@ -1,15 +1,17 @@ #ifndef TBPROBE_H #define TBPROBE_H +#include "../search.h" + namespace Tablebases { -extern int TBLargest; +extern int MaxCardinality; void init(const std::string& path); int probe_wdl(Position& pos, int *success); int probe_dtz(Position& pos, int *success); -bool root_probe(Position& pos, Value& TBScore); -bool root_probe_wdl(Position& pos, Value& TBScore); +bool root_probe(Position& pos, Search::RootMoves& rootMoves, Value& score); +bool root_probe_wdl(Position& pos, Search::RootMoves& rootMoves, Value& score); }