1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00
BadFish/src
Marco Costalba 3a4d6e2034 Micro optimize and rename move_promotion()
Rename to move_is_promotion() to be more clear, also add
a new function move_promotion_piece() to get the
promotion piece type in the few places where is needed.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2009-06-20 09:04:32 +01:00
..
application.cpp Update copyright year 2009-05-07 14:54:40 +02:00
application.h Update copyright year 2009-05-07 14:54:40 +02:00
benchmark.cpp Only on Windows do wait for input at the end of benchmark 2009-06-20 09:04:20 +01:00
benchmark.h Update copyright year 2009-05-07 14:54:40 +02:00
bitbase.cpp Update copyright year 2009-05-07 14:54:40 +02:00
bitbase.h Update copyright year 2009-05-07 14:54:40 +02:00
bitboard.cpp Use compiler name lookup to simplify code 2009-05-24 10:18:31 +01:00
bitboard.h Introduce bitcount.h 2009-05-21 16:19:20 +02:00
bitcount.h Revert _BitScanForward64 support 2009-05-25 07:28:55 +01:00
book.cpp Update copyright year 2009-05-07 14:54:40 +02:00
book.h Update copyright year 2009-05-07 14:54:40 +02:00
color.h Use string instead of std::string 2009-05-10 18:38:47 +01:00
COPYING Initial import of Glaurung 2.1 2008-09-01 07:59:13 +02:00
depth.h Directly relate HistoryMax to OnePly 2009-05-20 14:43:17 +02:00
direction.cpp Space inflate and cleanup direction.cpp 2009-05-20 12:02:39 +02:00
direction.h Update copyright year 2009-05-07 14:54:40 +02:00
endgame.cpp Use compiler name lookup to simplify code 2009-05-24 10:18:31 +01:00
endgame.h Small code style in headers 2009-05-20 15:11:41 +02:00
evaluate.cpp Joona tweaks of mobility and outposts bonus 2009-06-18 07:35:08 +01:00
evaluate.h Small code style in headers 2009-05-20 15:11:41 +02:00
history.cpp Reduce history 4 times instead of 2 when reach the maximum 2009-05-20 09:03:15 +02:00
history.h Directly relate HistoryMax to OnePly 2009-05-20 14:43:17 +02:00
lock.h Small code style in headers 2009-05-20 15:11:41 +02:00
main.cpp Give proper credit to Joona 2009-06-18 07:35:23 +01:00
Makefile Fix some Intel compilers warnings 2009-05-09 12:09:25 +02:00
material.cpp Bugfix: KRK was not classified as KNOWN_WIN 2009-06-18 07:35:24 +01:00
material.h Move initialization of MaterialInfo in its c'tor 2009-06-08 11:27:50 +01:00
mersenne.cpp Warnings termination fest 2008-09-24 00:32:53 +02:00
mersenne.h Update copyright year 2009-05-07 14:54:40 +02:00
misc.cpp Print info about use of 64bit functions and hardware POPCNT 2009-05-23 16:12:26 +01:00
misc.h Use string instead of std::string 2009-05-10 18:38:47 +01:00
move.cpp Micro optimize and rename move_promotion() 2009-06-20 09:04:32 +01:00
move.h Micro optimize and rename move_promotion() 2009-06-20 09:04:32 +01:00
movegen.cpp Micro optimize and rename move_promotion() 2009-06-20 09:04:32 +01:00
movegen.h Update copyright year 2009-05-07 14:54:40 +02:00
movepick.cpp Micro optimize and rename move_promotion() 2009-06-20 09:04:32 +01:00
movepick.h MovePicker doesn't need to know if called from a pv node 2009-06-12 13:10:02 +02:00
pawns.cpp Move initialization of PawnInfo in its c'tor 2009-06-08 12:53:38 +01:00
pawns.h Move initialization of PawnInfo in its c'tor 2009-06-08 12:53:38 +01:00
piece.cpp Update copyright year 2009-05-07 14:54:40 +02:00
piece.h Update copyright year 2009-05-07 14:54:40 +02:00
position.cpp Micro optimize and rename move_promotion() 2009-06-20 09:04:32 +01:00
position.h Detach the state when copying a position 2009-05-29 17:23:21 +02:00
psqtab.h Joona tweaks of piece-square tables 2009-06-12 13:00:18 +02:00
san.cpp Micro optimize and rename move_promotion() 2009-06-20 09:04:32 +01:00
san.h Update copyright year 2009-05-07 14:54:40 +02:00
scale.h Update copyright year 2009-05-07 14:54:40 +02:00
search.cpp Micro optimize and rename move_promotion() 2009-06-20 09:04:32 +01:00
search.h Remove global variables from search.h 2009-06-12 13:10:40 +02:00
square.h Update copyright year 2009-05-07 14:54:40 +02:00
thread.h Use one History table per thread 2009-06-03 17:34:35 +01:00
tt.cpp Update copyright year 2009-05-07 14:54:40 +02:00
tt.h Reduce SMP contention on TT 2009-06-13 11:13:09 +01:00
types.h Update copyright year 2009-05-07 14:54:40 +02:00
uci.cpp Give proper credit to Joona 2009-06-18 07:35:23 +01:00
uci.h Update copyright year 2009-05-07 14:54:40 +02:00
ucioption.cpp Retire UseQSearchFutilityPruning and UseFutilityPruning 2009-06-03 17:35:56 +01:00
ucioption.h Use string instead of std::string 2009-05-10 18:38:47 +01:00
value.cpp Update copyright year 2009-05-07 14:54:40 +02:00
value.h Give credit to Joona for optimized parameters 2009-06-05 15:07:36 +01:00