Big headers cleanup

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2009-03-18 15:36:03 +01:00
parent feb5342b39
commit 74160ac602
17 changed files with 105 additions and 186 deletions

View File

@@ -38,7 +38,6 @@
#include "direction.h"
#include "move.h"
#include "piece.h"
#include "phase.h"
#include "square.h"
#include "value.h"
@@ -61,7 +60,7 @@ const int MaxGameLength = 220;
//// Types
////
/// Castle rights, encoded as bit fields:
/// Castle rights, encoded as bit fields
enum CastleRights {
NO_CASTLES = 0,
@@ -72,6 +71,12 @@ enum CastleRights {
ALL_CASTLES = 15
};
/// Game phase
enum Phase {
PHASE_ENDGAME = 0,
PHASE_MIDGAME = 128
};
/// The StateInfo struct stores information we need to restore a Position
/// object to its previous state when we retract a move. Whenever a move