X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmove.h;h=e2562a422ce7c92954293d40479953f5f7ecd37b;hp=bbc2ec099c1134163521a86e26fc1c3ea3d8c5cf;hb=7733dadfd7c8781e3bde3cc4e21751fa44ab6ed8;hpb=b6ab610e2f3d9148e2a75984800cebc0757b7f01 diff --git a/src/move.h b/src/move.h index bbc2ec09..e2562a42 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 @@ -203,7 +205,7 @@ 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); +extern const std::string move_to_string(Move m, bool chess960); extern bool move_is_ok(Move m);