Retire notation.h

And move the few remaining content
under UCI namespace where they belong.

No functional change.
This commit is contained in:
Marco Costalba
2014-10-26 07:16:16 +01:00
committed by Joona Kiiski
parent 5cbcff55cc
commit aa60c80ade
7 changed files with 29 additions and 57 deletions

View File

@@ -23,6 +23,10 @@
#include <map>
#include <string>
#include "types.h"
class Position;
namespace UCI {
class Option;
@@ -63,6 +67,15 @@ private:
void init(OptionsMap&);
void loop(int argc, char* argv[]);
std::string score_to_uci(Value v, Value alpha = -VALUE_INFINITE, Value beta = VALUE_INFINITE);
Move move_from_uci(const Position& pos, std::string& str);
const std::string move_to_uci(Move m, bool chess960);
inline const std::string to_string(Square s) {
char ch[] = { 'a' + file_of(s), '1' + rank_of(s), 0 };
return ch;
}
} // namespace UCI
extern UCI::OptionsMap Options;