X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fpiece.h;fp=src%2Fpiece.h;h=df81e5ff47e53c47161fe26ef0be0c77c46213c4;hp=f88eead856bf13a630cb0d393d9ec0149976990f;hb=d2d953713f053c6add74a7c1f7c2a66440a99f50;hpb=c28b9ef182b4a0c3d0483654ebc2b2aca4fc731c diff --git a/src/piece.h b/src/piece.h index f88eead8..df81e5ff 100644 --- a/src/piece.h +++ b/src/piece.h @@ -69,10 +69,6 @@ const Value RookValueEndgame = Value(0x4FE); const Value QueenValueMidgame = Value(0x9D9); const Value QueenValueEndgame = Value(0x9FE); -extern const Value PieceValueMidgame[17]; -extern const Value PieceValueEndgame[17]; -extern const int SlidingArray[18]; - //// //// Inline functions @@ -90,10 +86,6 @@ inline Piece piece_of_color_and_type(Color c, PieceType pt) { return Piece((int(c) << 3) | int(pt)); } -inline int piece_is_slider(Piece p) { - return SlidingArray[p]; -} - inline SquareDelta pawn_push(Color c) { return (c == WHITE ? DELTA_N : DELTA_S); }