X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fmovegen.h;h=991b0de30294e4eac09f07c696f2e0eedc3849e7;hp=c844efcd5742e69ea79219509af96369926e658e;hb=b088f0aefd658261e9231b556382acf532920513;hpb=7c267587fc7f454182b4d527607bcf8fdbd8c41c diff --git a/src/movegen.h b/src/movegen.h index c844efcd..991b0de3 100644 --- a/src/movegen.h +++ b/src/movegen.h @@ -1,7 +1,7 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) - Copyright (C) 2008 Marco Costalba + Copyright (C) 2008-2009 Marco Costalba Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -38,6 +38,7 @@ extern int generate_non_capture_checks(const Position& pos, MoveStack* mlist, Bi extern int generate_evasions(const Position& pos, MoveStack* mlist, Bitboard pinned); extern int generate_legal_moves(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)