COLOUR_IS 342 src/attack.cpp return COLOUR_IS(piece,COLOUR_OPP(colour)) && SLIDER_ATTACK(piece,inc); COLOUR_IS 103 src/board.cpp if (!COLOUR_IS(piece,colour)) return false; COLOUR_IS 129 src/board.cpp if (!COLOUR_IS(piece,colour)) return false; COLOUR_IS 246 src/board.cpp if (COLOUR_IS(piece,colour) && !PIECE_IS_PAWN(piece)) { COLOUR_IS 320 src/board.cpp if (COLOUR_IS(piece,colour) && PIECE_IS_PAWN(piece)) { COLOUR_IS 948 src/eval.cpp ASSERT(COLOUR_IS(board->square[sq],att)); COLOUR_IS 307 src/move_check.cpp ASSERT(COLOUR_IS(piece,me)); COLOUR_IS 369 src/move_check.cpp if (COLOUR_IS(capture,me)) { COLOUR_IS 97 src/move_do.cpp ASSERT(COLOUR_IS(piece,me)); COLOUR_IS 153 src/move_do.cpp ASSERT(COLOUR_IS(capture,opp)); COLOUR_IS 240 src/move_do.cpp ASSERT(COLOUR_IS(piece,me)); COLOUR_IS 203 src/move_evasion.cpp ASSERT(COLOUR_IS(board->square[to],COLOUR_OPP(board->turn))); COLOUR_IS 57 src/move_legal.cpp if (!COLOUR_IS(piece,me)) return false; COLOUR_IS 67 src/move_legal.cpp if (COLOUR_IS(capture,me)) return false; COLOUR_IS 141 src/move_legal.cpp if (!COLOUR_IS(piece,me)) return false; COLOUR_IS 203 src/move_legal.cpp ASSERT(COLOUR_IS(piece,me)); COLOUR_IS 80 src/see.cpp ASSERT(COLOUR_IS(piece,att)); COLOUR_IS 103 src/see.cpp ASSERT(COLOUR_IS(capture,def)); COLOUR_IS 164 src/see.cpp ASSERT(COLOUR_IS(board->square[to],COLOUR_OPP(colour))); COLOUR_IS 188 src/see.cpp ASSERT(COLOUR_IS(piece,def)); COLOUR_IS 226 src/see.cpp ASSERT(COLOUR_IS(piece,colour));