X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fuci.h;h=d3160109d6e540e7f527976ff3cbb76613e39b46;hb=af0d82792e21f0362b781fc671ae8b7a0642e61a;hp=1af8124ff9d52c2734f31f468b273adce361c630;hpb=a05793517f9c1e4483df7928473a1ff3a2a8d640;p=stockfish diff --git a/src/uci.h b/src/uci.h index 1af8124f..d3160109 100644 --- a/src/uci.h +++ b/src/uci.h @@ -1,8 +1,6 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 - Copyright (C) 2004-2008 Tord Romstad (Glaurung author) - Copyright (C) 2008-2015 Marco Costalba, Joona Kiiski, Tord Romstad - Copyright (C) 2015-2018 Marco Costalba, Joona Kiiski, Gary Linscott, Tord Romstad + Copyright (C) 2004-2021 The Stockfish developers (see AUTHORS file) Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -26,6 +24,8 @@ #include "types.h" +namespace Stockfish { + class Position; namespace UCI { @@ -73,10 +73,13 @@ std::string value(Value v); std::string square(Square s); std::string move(Move m, bool chess960); std::string pv(const Position& pos, Depth depth, Value alpha, Value beta); +std::string wdl(Value v, int ply); Move to_move(const Position& pos, std::string& str); } // namespace UCI extern UCI::OptionsMap Options; +} // namespace Stockfish + #endif // #ifndef UCI_H_INCLUDED