]> git.sesse.net Git - stockfish/blobdiff - src/pawns.h
Move all enum types definitions to types.h
[stockfish] / src / pawns.h
index 77a09f29acae57eeb95273f3c3dcecd8d28139e2..549aafa90b46c8290c80332af9e644edf0f6ee52 100644 (file)
   along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-
 #if !defined(PAWNS_H_INCLUDED)
 #define PAWNS_H_INCLUDED
 
-////
-//// Includes
-////
-
 #include "bitboard.h"
 #include "position.h"
 #include "tt.h"
-#include "value.h"
-
-
-////
-//// Types
-////
+#include "types.h"
 
 const int PawnTableSize = 16384;
 
@@ -88,11 +78,6 @@ private:
   Score evaluate_pawns(const Position& pos, Bitboard ourPawns, Bitboard theirPawns, PawnInfo* pi) const;
 };
 
-
-////
-//// Inline functions
-////
-
 inline Square pawn_push(Color c) {
   return c == WHITE ? DELTA_N : DELTA_S;
 }