X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitbase.cpp;h=fdfb207ba3be86d786b849af9b126e15513674bb;hp=9d2cde030754d48799ab40bed23fc68b7751486e;hb=6e840f8033aab2b73c8b99b00cb91a20ed578e2b;hpb=6b5322ce000d6a8a6f845beda2d7e149e1baea0c diff --git a/src/bitbase.cpp b/src/bitbase.cpp index 9d2cde03..fdfb207b 100644 --- a/src/bitbase.cpp +++ b/src/bitbase.cpp @@ -62,14 +62,14 @@ namespace { } -uint32_t probe_kpk_bitbase(Square wksq, Square wpsq, Square bksq, Color stm) { +uint32_t Bitbases::probe_kpk(Square wksq, Square wpsq, Square bksq, Color stm) { int idx = index(wksq, bksq, wpsq, stm); return KPKBitbase[idx / 32] & (1 << (idx & 31)); } -void kpk_bitbase_init() { +void Bitbases::init_kpk() { Result db[IndexMax]; KPKPosition pos;