X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovegen.cpp;h=0056ce384dfff017f45d164d442d746a62649943;hp=018b770b72b87cecf831f4ab588f62e94cee9316;hb=f427acbd2787cdf0373d081a3a20019b5eb253c6;hpb=2ff2b5972799c2cb1b68e2d82e35b9b3c7c6996d diff --git a/src/movegen.cpp b/src/movegen.cpp index 018b770b..0056ce38 100644 --- a/src/movegen.cpp +++ b/src/movegen.cpp @@ -17,16 +17,10 @@ along with this program. If not, see . */ - -//// -//// Includes -//// - #include #include "bitcount.h" #include "movegen.h" -#include "types.h" // Simple macro to wrap a very common while loop, no facny, no flexibility, // hardcoded list name 'mlist' and from square 'from'. @@ -35,10 +29,6 @@ // Version used for pawns, where the 'from' square is given as a delta from the 'to' square #define SERIALIZE_MOVES_D(b, d) while (b) { to = pop_1st_bit(&b); (*mlist++).move = make_move(to + (d), to); } -//// -//// Local definitions -//// - namespace { enum CastlingSide {