summaryrefslogtreecommitdiff
path: root/src/chess.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/chess.h')
-rwxr-xr-xsrc/chess.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/chess.h b/src/chess.h
index fe5cd2b..d6d4fa4 100755
--- a/src/chess.h
+++ b/src/chess.h
@@ -2565,9 +2565,6 @@ GetEnpriseCount(POSITION *pos, ULONG uSide);
COOR
GetTrappedPiece(POSITION *pos, ULONG uSide);
-FLAG
-SideCanStandPat(POSITION *pos, ULONG uSide);
-
ULONG
ValueOfMaterialInTroubleDespiteMove(POSITION *pos, ULONG uSide);
@@ -2593,6 +2590,9 @@ PawnHashLookup(SEARCHER_THREAD_CONTEXT *ctx);
//
#define LAZY_EVAL
#define LAZE_EVAL_BASE_SCORE 10
+#define LAZY_EVAL_BASE_MARGIN (75) // cheap material-only lazy exit margin;
+ // widened by EstimatePositionalScore
+ // if this isn't enough on its own
extern const int g_iAhead[2];
extern const int g_iBehind[2];
@@ -2614,7 +2614,7 @@ ReadEvalDNA(char *szFilename);
SCORE
-Eval(SEARCHER_THREAD_CONTEXT *, SCORE, SCORE);
+Eval(SEARCHER_THREAD_CONTEXT *, SCORE, SCORE, SCORE *);
FLAG
EvalPasserRaces(POSITION *,