X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fposition.cpp;h=755e22d85a7c9317d2682f5838fda4b6bfd6a11c;hp=910966a43bcdda2f0d2c68a661a13cd75f563f91;hb=6a6fd0b5f51046d09ee1f2377ef14c6aad611b18;hpb=f7742669cb52dff7a64bd1a9ba466e333abb87bc diff --git a/src/position.cpp b/src/position.cpp index 910966a4..755e22d8 100644 --- a/src/position.cpp +++ b/src/position.cpp @@ -1,7 +1,7 @@ /* Stockfish, a UCI chess playing engine derived from Glaurung 2.1 Copyright (C) 2004-2008 Tord Romstad (Glaurung author) - Copyright (C) 2008-2013 Marco Costalba, Joona Kiiski, Tord Romstad + Copyright (C) 2008-2014 Marco Costalba, Joona Kiiski, Tord Romstad Stockfish is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -614,7 +614,7 @@ bool Position::pseudo_legal(const Move m) const { } -/// Position::move_gives_check() tests whether a pseudo-legal move gives a check +/// Position::gives_check() tests whether a pseudo-legal move gives a check bool Position::gives_check(Move m, const CheckInfo& ci) const { @@ -1011,10 +1011,7 @@ void Position::undo_null_move() { /// Position::see() is a static exchange evaluator: It tries to estimate the -/// material gain or loss resulting from a move. Parameter 'asymmThreshold' takes -/// tempi into account. If the side who initiated the capturing sequence does the -/// last capture, he loses a tempo and if the result is below 'asymmThreshold' -/// the capturing sequence is considered bad. +/// material gain or loss resulting from a move. int Position::see_sign(Move m) const {