Classes | Namespaces | Variables
CastleFlags.h File Reference

This file contains the declaration of class CastleFlags. More...

#include "Code.h"
#include "Index.h"
#include "Piece.h"
Include dependency graph for CastleFlags.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cwchess::CastleFlags
 A class to keep track of castling rights. More...
 

Namespaces

 cwchess
 A namespace for all chess related objects that are not related to the GUI.
 

Variables

uint8_t const cwchess::black_rook_queen_side_moved = 1
 
uint8_t const cwchess::black_rook_king_side_moved = 2
 
uint8_t const cwchess::black_king_moved = 4
 
uint8_t const cwchess::black_king_in_check = 8
 
uint8_t const cwchess::white_king_in_check = 16
 
uint8_t const cwchess::white_rook_queen_side_moved = 32
 
uint8_t const cwchess::white_rook_king_side_moved = 64
 
uint8_t const cwchess::white_king_moved = 128
 

Detailed Description

This file contains the declaration of class CastleFlags.

Definition in file CastleFlags.h.


Copyright © 2006 - 2010 Carlo Wood.  All rights reserved.