X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fbitbase.cpp;h=fdfb207ba3be86d786b849af9b126e15513674bb;hp=9d2cde030754d48799ab40bed23fc68b7751486e;hb=7c1f8dbde93267c7958a4de5e167a43e38c9e1e9;hpb=2c1ba2ab0dad2421b8ed1bd3c049634f1f00dfc3 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;