Evaluation weights cleanup

Use a Weights[] array instead of named variables to
store evaluation weights.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-05-06 09:58:04 +02:00
parent 0544d6c8f7
commit 569bc75eb8
2 changed files with 34 additions and 41 deletions

View File

@@ -92,7 +92,7 @@ struct EvalInfo {
// mateThreat[color] is a move for the given side which gives a direct mate.
Move mateThreat[2];
// Middle game and endgame mobility scores.
// Middle game and endgame mobility scores
Score mobility;
// Extra futility margin. This is added to the standard futility margin