nicolaswinkler 7 éve
szülő
commit
7f9be2af3f
2 módosított fájl, 1 hozzáadás és 23 törlés
  1. 1 1
      src/ChessGame.h
  2. 0 22
      src/Search.h

+ 1 - 1
src/ChessGame.h

@@ -44,7 +44,7 @@ class chessy::ChessGame
 
     short reversibleHalfMoves =     0;
 
-    //! -1 for no en passant possible
+    // -1 for no en passant possible
     Index enPassant =              -1;
 
     Side turn =                     WHITE_SIDE;

+ 0 - 22
src/Search.h

@@ -9,32 +9,10 @@ namespace chessy
     template<typename T>
     class Search;
 
-    struct MoveInfo;
-
     class MinimaxN;
 }
 
 
-/*!
- * This structure holds additional information about a move.
- */
-struct chessy::MoveInfo
-{
-    //! the move itself
-    Move move;
-
-    //! the type of the piece that was moved
-    PieceType movedPiece;
-
-    //! if the move is an en-passant move, this field holds the square of
-    //! the pawn, that was captured. Otherwise this index should be zero.
-    Index enPassantTarget;
-
-    inline MoveInfo(void) :
-        enPassantTarget{ 0 } {}
-};
-
-
 template<typename T>
 class chessy::Search
 {