]> git.sesse.net Git - stockfish/commit
Use ply counter in Position object
authorMarco Costalba <mcostalba@gmail.com>
Mon, 31 May 2010 20:38:34 +0000 (21:38 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Mon, 31 May 2010 21:03:22 +0000 (22:03 +0100)
commit6716337f407ad6586b636aca72ee673655822137
treeb3cc153fb67d090a54ea97d55930862ab2746b54
parentee8ccac622227f3b5184e294ffa3d2766bf4b600
Use ply counter in Position object

And avoid a redundant one passed as argument in
search calls.

Also renamed gamePly in ply to better clarify this
is used as search ply and is set to zero at the
beginning of the search.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/position.cpp
src/position.h
src/search.cpp
src/thread.h
src/uci.cpp