Better clarify how we use TT depth in qsearch

Namely we use only two types of depth in TT:
DEPTH_QS_CHECKS or DEPTH_QS_NO_CHECKS.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-12-18 10:27:24 +01:00
parent 201e8d5f87
commit d55a5a4d81
3 changed files with 15 additions and 14 deletions

View File

@@ -31,7 +31,10 @@ enum Depth {
ONE_PLY = 2,
DEPTH_ZERO = 0,
DEPTH_ZERO = 0 * ONE_PLY,
DEPTH_QS_CHECKS = -1 * ONE_PLY,
DEPTH_QS_NO_CHECKS = -2 * ONE_PLY,
DEPTH_NONE = -127 * ONE_PLY
};