Retire square_from_string()

And rename move_from/to_string() in a more specific
move_from/to_uci() that is a simple coordinate notation.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-12-09 12:10:02 +01:00
parent 556b63b6b6
commit 56de5ae561
5 changed files with 34 additions and 38 deletions
+2 -2
View File
@@ -204,8 +204,8 @@ inline Move make_ep_move(Square from, Square to) {
////
extern std::ostream& operator<<(std::ostream& os, Move m);
extern Move move_from_string(const Position& pos, const std::string &str);
extern const std::string move_to_string(Move m, bool chess960);
extern Move move_from_uci(const Position& pos, const std::string &str);
extern const std::string move_to_uci(Move m, bool chess960);
extern bool move_is_ok(Move m);