Retire move.h

Also some assorted comments fixes and other trivia.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-12-04 10:53:40 +01:00
parent a44c5cf4f7
commit 81cd417b45
19 changed files with 164 additions and 205 deletions

View File

@@ -23,20 +23,20 @@
#include <cassert>
#include "bitboard.h"
#include "move.h"
#include "types.h"
/// The checkInfo struct is initialized at c'tor time and keeps info used
/// to detect if a move gives check.
class Position;
struct CheckInfo {
explicit CheckInfo(const Position&);
explicit CheckInfo(const Position&);
Bitboard dcCandidates;
Bitboard pinned;
Bitboard checkSq[8];
Bitboard dcCandidates;
Bitboard pinned;
Bitboard checkSq[8];
};
@@ -44,7 +44,6 @@ struct CheckInfo {
/// object to its previous state when we retract a move. Whenever a move
/// is made on the board (by calling Position::do_move), an StateInfo object
/// must be passed as a parameter.
class Position;
struct StateInfo {
Key pawnKey, materialKey;