From 32ff92de2f6307f5b489f646ceedc432c71662d6 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 10 Jan 2015 14:10:48 +0000 Subject: [PATCH] Further reduce --- src/bitboard.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/bitboard.cpp b/src/bitboard.cpp index dd23b2b4..016d04de 100644 --- a/src/bitboard.cpp +++ b/src/bitboard.cpp @@ -14,16 +14,9 @@ void Bitboards::init() { for (File f = FILE_A; f <= FILE_H; ++f) FileBB[f] = f > FILE_A ? FileBB[f - 1] << 1 : FileABB; - for (Rank r = RANK_1; r <= RANK_8; ++r) - RankBB[r] = r > RANK_1 ? RankBB[r - 1] << 8 : Rank1BB; - for (File f = FILE_A; f <= FILE_H; ++f) AdjacentFilesBB[f] = (f > FILE_A ? FileBB[f - 1] : 0) | (f < FILE_H ? FileBB[f + 1] : 0); - for (Rank r = RANK_1; r < RANK_8; ++r) - InFrontBB[WHITE][r] = ~(InFrontBB[BLACK][r + 1] = InFrontBB[BLACK][r] | RankBB[r]); - - PawnAttackSpan[0][0] = AdjacentFilesBB[7]; }