From: Marco Costalba Date: Sun, 2 Nov 2008 14:35:32 +0000 (+0100) Subject: Stockfish 1.0 X-Git-Url: https://git.sesse.net/?p=stockfish;a=commitdiff_plain;h=8097e99c699bdc8a62365a9841fc7cce1c3c15a0 Stockfish 1.0 Signed-off-by: Marco Costalba --- diff --git a/Readme.txt b/Readme.txt index 377d44aa..dc76d742 100644 --- a/Readme.txt +++ b/Readme.txt @@ -1,9 +1,9 @@ 1. Introduction --------------- -Stockfish is a free UCI chess engine derived from Glaurung. It is not -a complete chess program, but requires some UCI compatible GUI (like -XBoard with PolyGlot, eboard, Jos�, Arena, Sigma Chess, Shredder, +Stockfish is a free UCI chess engine derived from Glaurung 2.1. It is +not a complete chess program, but requires some UCI compatible GUI +(like XBoard with PolyGlot, eboard, Jos�, Arena, Sigma Chess, Shredder, Chess Partner, or Fritz) in order to be used comfortably. Read the documentation for your GUI of choice for information about how to use Stockfish with your GUI. @@ -20,7 +20,7 @@ cores on your computer. 2. Files -------- -This distribution of Glaurung consists of the following files: +This distribution of Stockfish consists of the following files: * Readme.txt, the file you are currently reading. @@ -28,8 +28,8 @@ This distribution of Glaurung consists of the following files: License. * src/, a subdirectory containing the full source code, including a - Makefile that can be used to compile Glaurung on Unix-like - systems. For further information about how to compile Glaurung + Makefile that can be used to compile Stockfish on Unix-like + systems. For further information about how to compile Stockfish yourself, read section 4 below. * polyglot.ini, for using Stockfish with Fabien Letouzey's PolyGlot diff --git a/src/Makefile b/src/Makefile index b55ef7ea..ec143d60 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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 \ diff --git a/src/misc.h b/src/misc.h index 3b141983..9b3f3f40 100644 --- a/src/misc.h +++ b/src/misc.h @@ -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"; //// diff --git a/src/search.cpp b/src/search.cpp index 02907a80..cdc34ba6 100644 --- a/src/search.cpp +++ b/src/search.cpp @@ -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);