Retire direction.h

Move all to square.h

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-12-26 10:54:45 +01:00
parent 94a67c49b0
commit 6080fecf9c
7 changed files with 35 additions and 92 deletions

View File

@@ -26,7 +26,6 @@
#include "bitboard.h"
#include "bitcount.h"
#include "direction.h"
#if defined(IS_64BIT)
@@ -481,7 +480,7 @@ namespace {
for (Square s2 = SQ_A1; s2 <= SQ_H8; s2++)
{
BetweenBB[s1][s2] = EmptyBoardBB;
SignedDirection d = signed_direction_between_squares(s1, s2);
SignedDirection d = SignedDirection(SignedDirectionTable[s1][s2]);
if (d != SIGNED_DIR_NONE)
{