]> git.sesse.net Git - stockfish/blobdiff - src/position.h
Move PieceValue[] and SlidingArray[] where they belong
[stockfish] / src / position.h
index 4414519d1301b6b0021f3c211d324ada81f00a84..220bb31dac4cc431df03ca8358a4551283c49d06 100644 (file)
 #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];
 };