Make piece-type testable by bitmask
authorH.G.Muller <hgm@hgm-xboard.(none)>
Wed, 5 Mar 2014 09:45:19 +0000 (10:45 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Wed, 5 Mar 2014 09:45:19 +0000 (10:45 +0100)
commitd00d0b5433bd7df1ca36a02d2707a01be9bda04f
treeb093c67d571d2b716a236332c21527aa92698597
parente6b3635549cc41aed90a2a9d21fec56cae757b66
Make piece-type testable by bitmask

This allows faster testing if a given piece belongs to a group of types.
gnushogi/genmove.c
gnushogi/gnushogi.h
gnushogi/init.c