X-Git-Url: http://winboard.nl/cgi-bin?p=polyglot.git;a=blobdiff_plain;f=move_legal.h;fp=move_legal.h;h=4c8fe7130922f00b97aecf5d9ea29f639259bba1;hp=67a2af8b163e2b04ce6d5f6dfa82637a309d66c9;hb=ae338a820ef1c16d4399958613bbc0b908904b91;hpb=e516b96c20d27e7d86d3485b010d6d48cecec9f1 diff --git a/move_legal.h b/move_legal.h index 67a2af8..4c8fe71 100644 --- a/move_legal.h +++ b/move_legal.h @@ -1,24 +1,24 @@ - -// move_legal.h - -#ifndef MOVE_LEGAL_H -#define MOVE_LEGAL_H - -// includes - -#include "board.h" -#include "list.h" -#include "util.h" - -// functions - -extern bool move_is_pseudo (int move, const board_t * board); -extern bool pseudo_is_legal (int move, const board_t * board); -extern bool move_is_legal (int move, const board_t * board); - -extern void filter_legal (list_t * list, const board_t * board); - -#endif // !defined MOVE_LEGAL_H - -// end of move_legal.h - + +// move_legal.h + +#ifndef MOVE_LEGAL_H +#define MOVE_LEGAL_H + +// includes + +#include "board.h" +#include "list.h" +#include "util.h" + +// functions + +extern bool move_is_pseudo (int move, const board_t * board); +extern bool pseudo_is_legal (int move, const board_t * board); +extern bool move_is_legal (int move, const board_t * board); + +extern void filter_legal (list_t * list, const board_t * board); + +#endif // !defined MOVE_LEGAL_H + +// end of move_legal.h +