Marco Costalba
a44c5cf4f7
Prefer 0 to EmptyBoardBB
...
Easier and even faster or at least easier to optimize.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2011-12-03 12:02:13 +01:00
Marco Costalba
c2c185423b
Better naming borrowed from Critter
...
In line with http://chessprogramming.wikispaces.com conventions.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2011-10-02 10:16:59 +01:00
Marco Costalba
15683034a7
Speed up kpk initialization
...
The trick is to classify more position at first cycle,
so to reduce following work. Speed up is of about 50% !
Also some cleanup while there.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2011-06-15 12:11:35 +01:00
Marco Costalba
635be39acf
Additional cleanup in bitbase.cpp
...
Also better document what code does.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2011-03-12 18:22:22 +01:00
Marco Costalba
c1c0984452
Move KPKBitbase[] where it belongs
...
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2011-03-12 12:12:41 +01:00
Marco Costalba
d653aeca05
Fix a couple of issues in bitbase.cpp
...
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2011-03-12 11:22:02 +01:00
Marco Costalba
d9113d127b
Rename NonSlidingAttacksBB[] in StepAttacksBB[]
...
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2011-03-10 08:10:26 +01:00
Marco Costalba
0fcda095df
Move all enum types definitions to types.h
...
Cleanup headers while there.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2011-02-23 21:52:55 +01:00
Marco Costalba
be5b32bb9c
Another round of bitboard.cpp cleanups
...
Also renamed StepAttackBB[] in NonSlidingAttacksBB[]
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2011-01-04 11:12:31 +01:00
Marco Costalba
469e7c5143
Retire bitbase.h
...
Moved the only prototipe where is needed.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2010-11-07 10:53:19 +01:00
Marco Costalba
2adbb80b8b
Space inflate bitbase.cpp
...
Also heavy cleanup while there.
No functional change.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2010-07-11 12:05:06 +01:00
Marco Costalba
9fc602bae7
Updated copyright year to 2010
...
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2010-03-20 11:27:07 +01:00
Marco Costalba
5c81602d14
Update copyright year
...
We are well in 2009 already.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2009-05-07 14:54:40 +02:00
Marco Costalba
feb5342b39
Safe guard some wild and ugly casts
...
These casts are needed but plain ugly, at least be
sure they don't hide any subtle conversion bug.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2009-03-16 13:59:41 +01:00
Marco Costalba
b870f5a091
Silence a good bunch of Intel warnings
...
Note that some pawns and material info has been switched
to int from int8_t.
This is a waste of space but it is not clear if we have a
faster or slower code (or nothing changed), some test should be
needed.
Few warnings still are alive.
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2009-03-15 18:19:08 +01:00
Marco Costalba
c97104e854
Big trailing whitespace cleanup part 1
...
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2009-01-07 15:47:59 +01:00
Marco Costalba
5dc2312121
Update copyright info
...
Signed-off-by: Marco Costalba <mcostalba@gmail.com>
2008-10-20 21:47:20 +02:00
Marco Costalba
bb751d6c89
Initial import of Glaurung 2.1
2008-09-01 07:59:13 +02:00