]> git.sesse.net Git - stockfish/commit
Move piece values in piece.h / piece.cpp
authorMarco Costalba <mcostalba@gmail.com>
Thu, 19 Aug 2010 16:38:10 +0000 (17:38 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Thu, 19 Aug 2010 17:22:48 +0000 (18:22 +0100)
commitdf4b106716f0fb0a5f5887b1cffeb544174008f7
tree9d7086e5c82130931ceebb61532efb3a8e94a352
parenta952c6bc6d64ba4c9fe4f0952896a9fd6e63b4a9
Move piece values in piece.h / piece.cpp

Where they belong.

Note that array PieceValueMidgame[] and PieceValueEndgame[]
are now declared extern in the header and moved in piece.cpp
so to avoid allocate the array each time the header is
included !

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/piece.cpp
src/piece.h
src/position.cpp
src/value.h