is_attacked 15 src/attack.h #define IS_IN_CHECK(board,colour) (is_attacked((board),KING_POS((board),(colour)),COLOUR_OPP((colour)))) is_attacked 49 src/attack.h extern bool is_attacked (const board_t * board, int to, int colour); is_attacked 229 src/move_check.cpp && !is_attacked(board,F1,Black)) { is_attacked 237 src/move_check.cpp && !is_attacked(board,D1,Black)) { is_attacked 246 src/move_check.cpp && !is_attacked(board,F8,White)) { is_attacked 254 src/move_check.cpp && !is_attacked(board,D8,White)) { is_attacked 105 src/move_evasion.cpp if (!legal || !is_attacked(board,to,opp)) { is_attacked 682 src/move_gen.cpp && !is_attacked(board,F1,Black)) { is_attacked 690 src/move_gen.cpp && !is_attacked(board,D1,Black)) { is_attacked 699 src/move_gen.cpp && !is_attacked(board,F8,White)) { is_attacked 707 src/move_gen.cpp && !is_attacked(board,D8,White)) { is_attacked 220 src/move_legal.cpp legal = !is_attacked(board,to,opp); is_attacked 225 src/move_legal.cpp ASSERT(legal==!is_attacked(board,to,opp)); is_attacked 1140 src/search_full.cpp if (!is_attacked(board,to,opp)) return false; // legal king move