attack.h (501B)
1 #ifndef ATTACK_H 2 #define ATTACK_H 3 4 #include "utils.h" 5 6 void init_leapers_attacks(void); 7 void init_sliders_attacks(void); 8 9 U64 get_wpawn_attacks(Square square, U64 occupancy); 10 U64 get_bpawn_attacks(Square square, U64 occupancy); 11 U64 get_knight_attacks(Square square, U64 occupancy); 12 U64 get_king_attacks(Square square, U64 occupancy); 13 U64 get_bishop_attacks(Square square, U64 occupancy); 14 U64 get_rook_attacks(Square square, U64 occupancy); 15 U64 get_queen_attacks(Square square, U64 occupancy); 16 17 #endif