1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-05-02 09:39:36 +00:00
BadFish/src
Marco Costalba 1156eb865b Simplify newly introduced castling_is_check()
Use bit_is_set() instead of open coding.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2009-02-07 13:26:50 +01: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 Big trailing whitespace cleanup part 1 2009-01-07 15:47:59 +01:00
bitbase.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
bitboard.cpp Add a see() function that take only destination square 2008-12-10 00:13:59 +01:00
bitboard.h Revert previous commit. 2009-02-04 19:40:09 +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 Remove the useless color.cpp 2009-02-04 19:40:43 +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 Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
endgame.cpp Final endgame.cpp space inflate 2009-02-04 19:40:31 +01:00
endgame.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
evaluate.cpp Fix a very old bug in queen mobility 2009-01-10 16:11:33 +01:00
evaluate.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +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 trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
main.cpp Big trailing whitespace cleanup part 1 2009-01-07 15:47:59 +01:00
Makefile Fix Makefile 2009-02-07 13:26:17 +01:00
material.cpp Start to space inflate endgame.cpp 2009-01-08 15:46:57 +01:00
material.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +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 Fix dbg_mean_of() to enable statistics when called 2008-12-30 12:54:21 +01:00
misc.h Restore development versioning and LSN filtering 2008-12-30 12:42:23 +01:00
move.cpp Big trailing whitespace cleanup part 1 2009-01-07 15:47:59 +01:00
move.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
movegen.cpp Simplify newly introduced castling_is_check() 2009-02-07 13:26:50 +01:00
movegen.h Manual merge 2008-10-26 21:44:58 +01:00
movepick.cpp MovePicker, remove a variable 2009-01-25 13:52:35 +01:00
movepick.h MovePicker, remove a variable 2009-01-25 13:52:35 +01:00
pawns.cpp Big trailing whitespace cleanup part 1 2009-01-07 15:47:59 +01:00
pawns.h PawnInfo::clear() retire memset() and fix Ubuntu compile 2009-02-04 19:41:17 +01:00
phase.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
piece.cpp Fix casting warnings under Intel Compiler 2009-02-07 13:26:29 +01:00
piece.h Fix casting warnings under Intel Compiler 2009-02-07 13:26:29 +01:00
position.cpp Small code style tidy up 2009-02-07 13:26:42 +01:00
position.h Small code style tidy up 2009-02-07 13:26:42 +01:00
psqtab.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
san.cpp Fix two gcc warnings in san.cpp 2008-12-06 12:32:11 +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 Take in account odd depths in razoring formula 2009-01-05 12:41:27 +01:00
search.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
square.h Fix casting warnings under Intel Compiler 2009-02-07 13:26:29 +01:00
thread.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
timeoday.cpp Initial import of Glaurung 2.1 2008-09-01 07:59:13 +02:00
tt.cpp Big trailing whitespace cleanup part 1 2009-01-07 15:47:59 +01:00
tt.h Update copyright info 2008-10-20 21:47:20 +02:00
types.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
uci.cpp Update copyright info 2008-10-20 21:47:20 +02:00
uci.h Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00
ucioption.cpp Restore development versioning and LSN filtering 2008-12-30 12:42:23 +01: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 Big trailing whitespace cleanup part 2 2009-01-07 15:48:11 +01:00