]> git.sesse.net Git - stockfish/blobdiff - src/depth.h
Define OnePly as a Depth enum costant
[stockfish] / src / depth.h
index 86af1dffcfbc213ff63935b27d31628eeec2e152..96b9197cfb99d508399a05f459ab20e22519a655 100644 (file)
 ////
 
 enum Depth {
-  DEPTH_ZERO = 0,
-  DEPTH_MAX = 200,  //  100 * OnePly;
-  DEPTH_NONE = -254 // -127 * OnePly
-};
-
-
-////
-//// Constants
-////
 
-const Depth OnePly = Depth(2);
+  OnePly = 2,
+  DEPTH_NONE = -127 * OnePly
+};
 
 
 ////