|
@@ -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
|
|
|
{
|