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