]> git.sesse.net Git - stockfish/blobdiff - src/move.h
Small codestyle touches
[stockfish] / src / move.h
index 765328713a7201d4a49770752b5fe86b805d8693..e2562a422ce7c92954293d40479953f5f7ecd37b 100644 (file)
@@ -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::ostreamos, Move m);
+extern Move move_from_string(const Positionpos, const std::string &str);
+extern const std::string move_to_string(Move m, bool chess960);
 extern bool move_is_ok(Move m);