+ const Bitboard TheirCamp = (Us == WHITE ? Rank4BB | Rank5BB | Rank6BB | Rank7BB | Rank8BB
+ : Rank5BB | Rank4BB | Rank3BB | Rank2BB | Rank1BB);
+
+ const Bitboard QueenSide = TheirCamp & (FileABB | FileBBB | FileCBB | FileDBB);
+ const Bitboard CenterFiles = TheirCamp & (FileCBB | FileDBB | FileEBB | FileFBB);
+ const Bitboard KingSide = TheirCamp & (FileEBB | FileFBB | FileGBB | FileHBB);
+
+ const Bitboard KingFlank[FILE_NB] = {
+ QueenSide, QueenSide, QueenSide, CenterFiles,
+ CenterFiles, KingSide, KingSide, KingSide
+ };
+