]> git.sesse.net Git - stockfish/blobdiff - src/depth.h
Rename OnePly in ONE_PLY
[stockfish] / src / depth.h
index 86af1dffcfbc213ff63935b27d31628eeec2e152..85422f2b3b6fbde42820885a2fface48d2883bb2 100644 (file)
 ////
 
 enum Depth {
-  DEPTH_ZERO = 0,
-  DEPTH_MAX = 200,  //  100 * OnePly;
-  DEPTH_NONE = -254 // -127 * OnePly
-};
-
-
-////
-//// Constants
-////
 
-const Depth OnePly = Depth(2);
+  ONE_PLY = 2,
+  DEPTH_NONE = -127 * ONE_PLY
+};
 
 
 ////