1 2 // move_gen.h 3 4 #ifndef MOVE_GEN_H 5 #define MOVE_GEN_H 6 7 // includes 8 9 #include "attack.h" 10 #include "board.h" 11 #include "list.h" 12 #include "util.h" 13 14 // functions 15 16 extern void gen_legal_moves (list_t * list, board_t * board); 17 18 extern void gen_moves (list_t * list, const board_t * board); 19 extern void gen_captures (list_t * list, const board_t * board); 20 extern void gen_quiet_moves (list_t * list, const board_t * board); 21 22 extern void add_pawn_move (list_t * list, int from, int to); 23 extern void add_promote (list_t * list, int move); 24 25 #endif // !defined MOVE_GEN_H 26 27 // end of move_gen.h 28 29