X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Ftypes.h;h=ff376386cac85dd6f3129bdbc5649f7945f8d3f8;hb=dd4e5db2be2eb5631d739af634cb33bea2f3fddd;hp=26de44e12ea5b9a726d7d449b998ce39728bab61;hpb=549b5c478f0f455186945033559c4affe8f940ed;p=stockfish diff --git a/src/types.h b/src/types.h index 26de44e1..ff376386 100644 --- a/src/types.h +++ b/src/types.h @@ -194,8 +194,8 @@ enum Depth { ONE_PLY = 2, DEPTH_ZERO = 0 * ONE_PLY, - DEPTH_QS_CHECKS = -1 * ONE_PLY, - DEPTH_QS_NO_CHECKS = -2 * ONE_PLY, + DEPTH_QS_CHECKS = 0 * ONE_PLY, + DEPTH_QS_NO_CHECKS = -1 * ONE_PLY, DEPTH_QS_RECAPTURES = -5 * ONE_PLY, DEPTH_NONE = -127 * ONE_PLY @@ -371,10 +371,6 @@ inline Rank rank_of(Square s) { return Rank(s >> 3); } -inline Square mirror(Square s) { - return Square(s ^ 7); // Horizontal flip SQ_A1 -> SQ_H1 -} - inline Square relative_square(Color c, Square s) { return Square(s ^ (c * 56)); }