mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Big headers cleanup
No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user