PIECE_TO_12 256 src/board.cpp board->number[PIECE_TO_12(piece)]++; PIECE_TO_12 330 src/board.cpp board->number[PIECE_TO_12(piece)]++; PIECE_TO_12 474 src/board.cpp opening += PST(PIECE_TO_12(piece),SQUARE_TO_64(sq),Opening); PIECE_TO_12 479 src/board.cpp opening += PST(PIECE_TO_12(piece),SQUARE_TO_64(sq),Opening); PIECE_TO_12 503 src/board.cpp endgame += PST(PIECE_TO_12(piece),SQUARE_TO_64(sq),Endgame); PIECE_TO_12 508 src/board.cpp endgame += PST(PIECE_TO_12(piece),SQUARE_TO_64(sq),Endgame); PIECE_TO_12 135 src/hash.cpp return RANDOM_64(RandomPiece+(PIECE_TO_12(piece)^1)*64+SQUARE_TO_64(square)); // HACK: ^1 for PolyGlot book PIECE_TO_12 414 src/move_do.cpp piece_12 = PIECE_TO_12(piece); PIECE_TO_12 543 src/move_do.cpp piece_12 = PIECE_TO_12(piece); PIECE_TO_12 724 src/move_do.cpp piece_12 = PIECE_TO_12(piece); PIECE_TO_12 127 src/piece.cpp return PieceString[PIECE_TO_12(piece)]; PIECE_TO_12 853 src/sort.cpp index = PIECE_TO_12(board->square[MOVE_FROM(move)]) * 64 + SQUARE_TO_64(MOVE_TO(move));