X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovegen.h;h=6a04248ac3a3199c80f087aaf3a180ff5bc7ad4f;hp=4bb443311232c49a352202422ece7bfd82caf136;hb=5ba85ef441fb12738732824092f74aa49149fcf9;hpb=0fcda095df1caa860e8e3f3a714d5545ec9dc122;ds=sidebyside diff --git a/src/movegen.h b/src/movegen.h index 4bb44331..6a04248a 100644 --- a/src/movegen.h +++ b/src/movegen.h @@ -20,6 +20,7 @@ #if !defined(MOVEGEN_H_INCLUDED) #define MOVEGEN_H_INCLUDED +#include "move.h" #include "position.h" enum MoveType { @@ -33,10 +34,7 @@ enum MoveType { MV_PSEUDO_LEGAL }; -template +template MoveStack* generate(const Position& pos, MoveStack* mlist); -extern bool move_is_legal(const Position& pos, const Move m, Bitboard pinned); -extern bool move_is_legal(const Position& pos, const Move m); - #endif // !defined(MOVEGEN_H_INCLUDED)