X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fmove.h;h=06c9969ffb7e07929f3dcb5d5dd34445bd5880fe;hb=d40a12f948590e280a4c0e874cb8a73b6b7929c2;hp=765328713a7201d4a49770752b5fe86b805d8693;hpb=a4a0ffce711962c0b04b35998c3c06491be373bf;p=stockfish diff --git a/src/move.h b/src/move.h index 76532871..06c9969f 100644 --- a/src/move.h +++ b/src/move.h @@ -31,6 +31,8 @@ #include "piece.h" #include "square.h" +// Maximum number of allowed moves per position +const int MOVES_MAX = 256; //// //// Types @@ -201,9 +203,9 @@ inline Move make_ep_move(Square from, Square to) { //// Prototypes //// -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); +extern std::ostream& operator<<(std::ostream& os, Move m); +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);