Define OnePly as a Depth enum costant
[stockfish] / src / depth.h
index 92ce6e22a0e6001ad26f1c86fca0f81b2feaccbb..96b9197cfb99d508399a05f459ab20e22519a655 100644 (file)
 ////
 
 enum Depth {
-  DEPTH_ZERO = 0,
-  DEPTH_MAX = 200  // 100 * OnePly;
-};
-
-
-////
-//// Constants
-////
 
-const Depth OnePly = Depth(2);
+  OnePly = 2,
+  DEPTH_NONE = -127 * OnePly
+};
 
 
 ////