Simplify outpost code
authorMarco Costalba <mcostalba@gmail.com>
Sat, 28 Nov 2015 09:57:45 +0000 (10:57 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 5 Dec 2015 10:16:19 +0000 (11:16 +0100)
commit52eac1e53512f4388bb310cb4d653ce18c9c4c63
treea080498daf8b086c1c8f4bbe7147fff040ec06d4
parent5d077bb482c0203fa138097ece5a7aa6a46e9f2a
Simplify outpost code

Also inline defintions of SpaceMask and CenterBindMask.

Verified from assembly that compiler computes the values
at compile time, so it is also theoretical faster.

While there factor out scale factor evaluation.

No functional change.
src/evaluate.cpp
src/pawns.cpp