along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
#if !defined(MOVEGEN_H_INCLUDED)
#define MOVEGEN_H_INCLUDED
+#include "move.h"
#include "position.h"
enum MoveType {
MV_PSEUDO_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)