1
0
Fork 0
stockfish/src
Marco Costalba 76caef8ba1 Account for gamePly after each move
Rename startPosPly to gamePly and increment/decrement
the variable after each do/undo move. This adds a little
overhead in do_move() but we will need to have the
game ply during the search for the next patches now
under test.

Currently we don't increment gamePly in do_null_move()
becuase it is not needed at the moment. Could change
in the future.

As a nice side effect we can now remove an hack in
startpos_ply_counter().

No functional change.
2013-02-16 12:44:17 +01:00
..
Makefile Fix an idiotic icc warning 2013-01-20 17:36:24 +01:00
benchmark.cpp Big renaming in thread stuff 2013-01-16 20:00:05 +01:00
bitbase.cpp Further speed up bitbase generation 2013-02-15 11:58:33 +01:00
bitboard.cpp Use self-describing constants instead of numbers 2012-10-21 11:16:21 +02:00
bitboard.h Further speed up bitbase generation 2013-02-15 11:58:33 +01:00
bitcount.h Fix POPCNT support on mingw 64 2012-10-06 13:01:44 +02:00
book.cpp Have fun with union in book.cpp 2013-01-06 12:06:19 +01:00
book.h Have fun with union in book.cpp 2013-01-06 12:06:19 +01:00
endgame.cpp Further speed up bitbase generation 2013-02-15 11:58:33 +01:00
endgame.h Have fun with union in book.cpp 2013-01-06 12:06:19 +01:00
evaluate.cpp Slight tweak to king safety. Bench: 5534531 2013-02-08 08:53:13 -05:00
evaluate.h Revert evaluation cache 2012-12-27 13:57:17 +01:00
main.cpp Terminate threads before to exit main() 2012-08-29 19:11:44 +02:00
material.cpp Introduce namespace Material 2012-12-16 12:58:39 +01:00
material.h Introduce namespace Material 2012-12-16 12:58:39 +01:00
misc.cpp Rearrange prefetch code 2012-10-08 11:43:47 +02:00
misc.h Get rid of struct Time 2012-09-04 09:38:51 +02:00
movegen.cpp Retire generate_king_moves() 2013-01-26 22:43:58 +01:00
movegen.h Fix a couple of extra spaces 2012-12-25 18:48:41 +01:00
movepick.cpp Rename and de-templetize sort() 2013-02-11 00:09:21 +01:00
movepick.h Templetize score_xxx() functions 2013-02-03 10:11:12 +01:00
notation.cpp Simplify move_to_san() 2013-02-09 07:43:53 +01:00
notation.h Fix MSVC 2012 64bits warnings 2012-09-14 09:57:13 +02:00
pawns.cpp Introduce namespace Pawns 2012-12-22 11:38:36 +01:00
pawns.h Introduce namespace Pawns 2012-12-22 11:38:36 +01:00
platform.h Fix compatibility with old Windows 95 and 98 2012-10-20 10:48:26 +02:00
position.cpp Account for gamePly after each move 2013-02-16 12:44:17 +01:00
position.h Account for gamePly after each move 2013-02-16 12:44:17 +01:00
psqtab.h Use self-describing constants instead of numbers 2012-10-21 11:16:21 +02:00
rkiss.h Allow to pass a 'seed' to RKISS 2012-12-31 11:59:53 +01:00
search.cpp Account for gamePly after each move 2013-02-16 12:44:17 +01:00
search.h Rename and de-templetize sort() 2013-02-11 00:09:21 +01:00
thread.cpp Retire slavesPositions 2013-02-08 11:45:33 +01:00
thread.h Retire slavesPositions 2013-02-08 11:45:33 +01:00
timeman.cpp Complete the renaming in Search::LimitsType 2012-03-31 09:16:09 +01:00
timeman.h Use UCI names in Search::LimitsType 2012-03-27 14:26:58 +01:00
tt.cpp Further simplify first_entry() 2013-02-09 16:37:20 +01:00
tt.h Further simplify first_entry() 2013-02-09 16:37:20 +01:00
types.h Rename and de-templetize sort() 2013-02-11 00:09:21 +01:00
uci.cpp Add const qualifer to go() 2013-02-08 10:07:09 +01:00
ucioption.cpp Don't use do_sleep flag 2013-01-14 00:02:32 +01:00
ucioption.h Introduce namespace UCI 2012-08-18 12:26:22 +01:00