Stockfish 1.0

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2008-11-02 15:35:32 +01:00
parent 2fa9d25e82
commit 8097e99c69
4 changed files with 16 additions and 15 deletions

View File

@@ -1,14 +1,15 @@
# Glaurung, a UCI chess playing engine.
# Stockfish, a UCI chess playing engine derived from Glaurung 2.1
# Copyright (C) 2004-2007 Tord Romstad
# Copyright (C) 2008 Marco Costalba
# This file is part of Glaurung.
# This file is part of Stockfish.
#
# Glaurung is free software: you can redistribute it and/or modify
# Stockfish is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Glaurung is distributed in the hope that it will be useful,
# Stockfish is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
@@ -21,7 +22,7 @@
### Files
###
EXE = glaurung
EXE = stockfish
OBJS = bitboard.o color.o pawns.o material.o endgame.o evaluate.o main.o \
misc.o move.o movegen.o history.o movepick.o search.o piece.o \

View File

@@ -37,7 +37,7 @@
/// Version number. If this is left empty, the current date (in the format
/// YYMMDD) is used as a version number.
const std::string EngineVersion = "";
const std::string EngineVersion = "1.0";
////

View File

@@ -960,11 +960,11 @@ namespace {
movesSearched[moveCount++] = ss[ply].currentMove = move;
if (moveIsCapture)
ss[ply].currentMoveCaptureValue = pos.midgame_value_of_piece_on(move_to(move));
ss[ply].currentMoveCaptureValue = pos.midgame_value_of_piece_on(move_to(move));
else if (move_is_ep(move))
ss[ply].currentMoveCaptureValue = PawnValueMidgame;
ss[ply].currentMoveCaptureValue = PawnValueMidgame;
else
ss[ply].currentMoveCaptureValue = Value(0);
ss[ply].currentMoveCaptureValue = Value(0);
// Decide the new search depth
Depth ext = extension(pos, move, true, moveIsCheck, singleReply, mateThreat);