X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fposition.h;h=220bb31dac4cc431df03ca8358a4551283c49d06;hb=9ecdfd24018722dc70fb0a448c1c9d731d6e30a2;hp=4414519d1301b6b0021f3c211d324ada81f00a84;hpb=d74025a34e7589fcc0ba93b878cd6484108f9088;p=stockfish diff --git a/src/position.h b/src/position.h index 4414519d..220bb31d 100644 --- a/src/position.h +++ b/src/position.h @@ -21,18 +21,6 @@ #if !defined(POSITION_H_INCLUDED) #define POSITION_H_INCLUDED -// Disable some silly and noisy warning from MSVC compiler -#if defined(_MSC_VER) - -// Forcing value to bool 'true' or 'false' (performance warning) -#pragma warning(disable: 4800) - -// Conditional expression is constant -#pragma warning(disable: 4127) - - -#endif - //// //// Includes //// @@ -349,6 +337,8 @@ private: static Score PieceSquareTable[16][64]; static Key zobExclusion; static const Value seeValues[8]; + static const Value PieceValueMidgame[17]; + static const Value PieceValueEndgame[17]; };