projects
/
stockfish
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Define OnePly as a Depth enum costant
[stockfish]
/
src
/
depth.h
diff --git
a/src/depth.h
b/src/depth.h
index 86af1dffcfbc213ff63935b27d31628eeec2e152..96b9197cfb99d508399a05f459ab20e22519a655 100644
(file)
--- a/
src/depth.h
+++ b/
src/depth.h
@@
-26,17
+26,10
@@
////
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
+};
////