1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-02 01:29:36 +00:00
BadFish/src
Marco Costalba 00a3380885 Fix assignment of pv[0] when creating root move list
It is bogusly assigned from moves[i].move instead of mlist[i].move
or equivalently to moves[count].move that it seem more clear to me.

Bug is hidden while all the moves are included, in this default case
moves[i].move and mlist[i].move are the same variable.

Also a bit of cleanup while there.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2009-04-29 16:01:57 +02:00
..
benchmark.cpp Big trailing whitespace cleanup part 1 2009-01-07 15:47:59 +01:00
benchmark.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
bitbase.cpp Safe guard some wild and ugly casts 2009-03-16 13:59:41 +01:00
bitbase.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
bitboard.cpp Fixed a sliding attack bitboard bug in 32-bit mode 2009-03-24 10:30:27 +01:00
bitboard.h Big headers cleanup 2009-03-19 12:55:32 +01:00
book.cpp Big trailing whitespace cleanup part 1 2009-01-07 15:47:59 +01:00
book.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
color.h Silence a bunch of warnings under MSVC /W4 2009-03-31 20:49:56 +01:00
COPYING Initial import of Glaurung 2.1 2008-09-01 07:59:13 +02:00
depth.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
direction.cpp Big trailing whitespace cleanup part 1 2009-01-07 15:47:59 +01:00
direction.h Fix a warning under MSVC 2009-04-27 18:00:45 +01:00
endgame.cpp Silence a bunch of warnings under MSVC /W4 2009-03-31 20:49:56 +01:00
endgame.h Merge KBPP vs KB endgame from iPhone Glaurung 2009-03-22 13:06:29 +01:00
evaluate.cpp Fix a small bug in king safety 2009-03-22 13:11:24 +01:00
evaluate.h Big headers cleanup 2009-03-19 12:55:32 +01:00
history.cpp Big trailing whitespace cleanup part 1 2009-01-07 15:47:59 +01:00
history.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
lock.h Big headers cleanup 2009-03-19 12:55:32 +01:00
main.cpp Big headers cleanup 2009-03-19 12:55:32 +01:00
Makefile Add missing header file to make stockfish compile with latest Inter C++ Compiler under Linux (memcpy needs cstring) 2009-04-19 20:57:23 +01:00
material.cpp Merge KBPP vs KB endgame from iPhone Glaurung 2009-03-22 13:06:29 +01:00
material.h Silence a good bunch of Intel warnings 2009-03-15 18:19:08 +01:00
mersenne.cpp Warnings termination fest 2008-09-24 00:32:53 +02:00
mersenne.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
misc.cpp Retire timeoday.cpp 2009-04-27 13:48:14 +01:00
misc.h Small cleanup in misc.cpp 2009-04-27 13:38:47 +01:00
move.cpp Big headers cleanup 2009-03-19 12:55:32 +01:00
move.h Document TTEntry and move layouts 2009-03-30 08:29:02 +01:00
movegen.cpp Greatly speedup has_mate_threat() 2009-04-26 13:40:26 +01:00
movegen.h Greatly speedup has_mate_threat() 2009-04-26 13:40:26 +01:00
movepick.cpp Greatly speedup has_mate_threat() 2009-04-26 13:40:26 +01:00
movepick.h MovePicker: retire per square MVV/LVA ordering 2009-04-18 14:24:21 +01:00
pawns.cpp Silence a bunch of warnings under MSVC /W4 2009-03-31 20:49:56 +01:00
pawns.h Big headers cleanup 2009-03-19 12:55:32 +01:00
piece.cpp Convert piece.cpp to C++ 2009-04-27 10:12:34 +01:00
piece.h Silence a bunch of warnings under MSVC /W4 2009-03-31 20:49:56 +01:00
position.cpp Micro optimize Position::move_is_check() 2009-04-27 17:39:59 +02:00
position.h Inline Position::move_is_capture() 2009-04-27 16:36:33 +02:00
psqtab.h Big headers cleanup 2009-03-19 12:55:32 +01:00
san.cpp Better castle move detector in move_to_san() 2009-03-22 23:52:59 +01:00
san.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
scale.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
search.cpp Fix assignment of pv[0] when creating root move list 2009-04-29 16:01:57 +02:00
search.h Remove unused currentMoveCaptureValue from search stack 2009-04-11 11:09:37 +01:00
square.h Re-fix square.h warning to avoid a compile error under MSVC 2009-04-13 12:02:22 +01:00
thread.h Revert previous patch as per Joona request 2009-04-18 09:11:56 +01:00
tt.cpp Code style cleanup in transposition table code 2009-04-27 13:21:49 +01:00
tt.h Code style cleanup in transposition table code 2009-04-27 13:21:49 +01:00
types.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
uci.cpp When asked for position key print it as an hex value 2009-03-24 10:50:13 +01:00
uci.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
ucioption.cpp Merge Joona's razoring tweaks 2009-04-28 09:00:09 +02:00
ucioption.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
value.cpp Big trailing whitespace cleanup part 1 2009-01-07 15:47:59 +01:00
value.h Cache evaluation score in qsearch 2009-03-24 18:28:42 +01:00