mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-17 15:46:24 +08:00
Retire direction.h
Move all to square.h No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user