X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovegen.h;h=38351e32f70c1b29eaf2df30acb5e197a2df980a;hp=0c781a6ba1c3aaa576628049652ea8e00ad609d1;hb=07f3f0384a95a6de8a4a6a066e1ec81de24b41f1;hpb=155bed18f5224d401ddf5b4b71d93d8a8c379b3c diff --git a/src/movegen.h b/src/movegen.h index 0c781a6b..38351e32 100644 --- a/src/movegen.h +++ b/src/movegen.h @@ -20,8 +20,7 @@ #if !defined(MOVEGEN_H_INCLUDED) #define MOVEGEN_H_INCLUDED -#include "move.h" -#include "position.h" +#include "types.h" enum MoveType { MV_CAPTURE, @@ -33,6 +32,8 @@ enum MoveType { MV_LEGAL }; +class Position; + template MoveStack* generate(const Position& pos, MoveStack* mlist);