Simplify bitbase.cpp

Use a std::vector to store positions and
rearrange KPKPosition.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2013-02-11 22:59:37 +01:00
parent 733d0099b2
commit f2950ae206
2 changed files with 90 additions and 105 deletions

View File

@@ -33,7 +33,7 @@ void print(Bitboard b);
namespace Bitbases {
void init_kpk();
uint32_t probe_kpk(Square wksq, Square wpsq, Square bksq, Color stm);
bool probe_kpk(Square wksq, Square wpsq, Square bksq, Color stm);
}