mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 11:06:58 +08:00
Retire move_to_san()
Now "Write Search Log" will pring moves in UCI format, consistent with all the rest. This functionality is not aimed at end-users anyway. It's hardly useful at all, in fact. Also, pretty-printing SAN moves is something that better belongs in the GUI than in the engine. No functional change.
This commit is contained in:
@@ -29,8 +29,7 @@ class Position;
|
||||
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);
|
||||
const std::string move_to_san(Position& pos, Move m);
|
||||
std::string pretty_pv(Position& pos, int depth, Value score, int64_t msecs, Move pv[]);
|
||||
std::string pretty_pv(const Position& pos, int depth, Value score, int64_t msecs, Move pv[]);
|
||||
|
||||
inline char to_char(File f, bool tolower = true) {
|
||||
return char(f - FILE_A + (tolower ? 'a' : 'A'));
|
||||
|
||||
Reference in New Issue
Block a user