]> git.sesse.net Git - stockfish/commitdiff
Split PSQT init from Position init
authorMarco Costalba <mcostalba@gmail.com>
Sat, 2 May 2015 00:36:39 +0000 (02:36 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sun, 3 May 2015 18:07:15 +0000 (20:07 +0200)
Easier for tuning psq tables:

TUNE(myParameters, PSQT::init);

Also move PSQT code in a new *.cpp file, and retire the
old and hacky psqtab.h that required to be included only
once to work correctly, this is not idiomatic for a header
file.

Give wide visibility to psq tables (previously visible only
in position.cpp), this will easy the use of psq tables outside
Position, for instance in move ordering.

Finally trivial code style fixes of the latest patches.

Original patch of Lucas Braesch.

No functional change.


No differences found