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
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);
}