mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-25 03:26:24 +08:00
11
src/Makefile
11
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 \
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
////
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user