#if !defined(MOVEGEN_H_INCLUDED)
#define MOVEGEN_H_INCLUDED
+#include "move.h"
#include "position.h"
enum MoveType {
MV_NON_CAPTURE_CHECK,
MV_EVASION,
MV_NON_EVASION,
- MV_LEGAL,
- MV_PSEUDO_LEGAL
+ MV_LEGAL
};
-template<MoveType T>
+template<MoveType>
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)