]> git.sesse.net Git - stockfish/blobdiff - src/depth.h
Rename OnePly in ONE_PLY
[stockfish] / src / depth.h
index d0d0943c23e4a8eebb596e210e9258fa44e64830..85422f2b3b6fbde42820885a2fface48d2883bb2 100644 (file)
@@ -1,7 +1,7 @@
 /*
   Stockfish, a UCI chess playing engine derived from Glaurung 2.1
   Copyright (C) 2004-2008 Tord Romstad (Glaurung author)
-  Copyright (C) 2008-2009 Marco Costalba
+  Copyright (C) 2008-2010 Marco Costalba, Joona Kiiski, Tord Romstad
 
   Stockfish is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
 ////
 
 enum Depth {
-  DEPTH_ZERO = 0,
-  DEPTH_MAX = 200  // 100 * OnePly;
-};
-
-
-////
-//// Constants
-////
 
-const Depth OnePly = Depth(2);
+  ONE_PLY = 2,
+  DEPTH_NONE = -127 * ONE_PLY
+};
 
 
 ////