Move move_is_legal() under Position class

It is a more logical place than in move generation file.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-04-13 11:54:41 +02:00
parent fe8f5b3497
commit 54f1c383d3
6 changed files with 140 additions and 146 deletions

View File

@@ -36,7 +36,4 @@ enum MoveType {
template<MoveType T>
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)