SQUARE_TO_64 474 src/board.cpp opening += PST(PIECE_TO_12(piece),SQUARE_TO_64(sq),Opening); SQUARE_TO_64 479 src/board.cpp opening += PST(PIECE_TO_12(piece),SQUARE_TO_64(sq),Opening); SQUARE_TO_64 503 src/board.cpp endgame += PST(PIECE_TO_12(piece),SQUARE_TO_64(sq),Endgame); SQUARE_TO_64 508 src/board.cpp endgame += PST(PIECE_TO_12(piece),SQUARE_TO_64(sq),Endgame); SQUARE_TO_64 135 src/hash.cpp return RANDOM_64(RandomPiece+(PIECE_TO_12(piece)^1)*64+SQUARE_TO_64(square)); // HACK: ^1 for PolyGlot book SQUARE_TO_64 34 src/move.h #define MOVE_MAKE(from,to) ((SQUARE_TO_64(from)<<6)|SQUARE_TO_64(to)) SQUARE_TO_64 34 src/move.h #define MOVE_MAKE(from,to) ((SQUARE_TO_64(from)<<6)|SQUARE_TO_64(to)) SQUARE_TO_64 35 src/move.h #define MOVE_MAKE_FLAGS(from,to,flags) ((SQUARE_TO_64(from)<<6)|SQUARE_TO_64(to)|(flags)) SQUARE_TO_64 35 src/move.h #define MOVE_MAKE_FLAGS(from,to,flags) ((SQUARE_TO_64(from)<<6)|SQUARE_TO_64(to)|(flags)) SQUARE_TO_64 505 src/move_do.cpp sq_64 = SQUARE_TO_64(square); SQUARE_TO_64 638 src/move_do.cpp sq_64 = SQUARE_TO_64(square); SQUARE_TO_64 722 src/move_do.cpp from_64 = SQUARE_TO_64(from); SQUARE_TO_64 723 src/move_do.cpp to_64 = SQUARE_TO_64(to); SQUARE_TO_64 853 src/sort.cpp index = PIECE_TO_12(board->square[MOVE_FROM(move)]) * 64 + SQUARE_TO_64(MOVE_TO(move));