T_PROOK = 1<<prook,
T_KING = 1<<king
#ifdef MINISHOGI
- T_LANCE = 1<<king+1,
- T_KNIGHT = 1<<king+2,
+ ,T_LANCE = 1<<king+1,
+ T_KNIGHT = 1<<king+2
#endif
};
extern short TrPnt[];
extern small_short board[], color[];
extern const small_short sweep[NO_PIECES];
+extern const int typeMask[NO_PIECES];
extern small_short PieceList[2][NO_SQUARES], PawnCnt[2][NO_COLS];
extern small_short Captured[2][NO_PIECES];