Belofte  version 2.1.5
A promising chess program using the UCI or Winboard interface
tPPiece Namespace Reference

Variables

constexpr uint16_t N_P_CLEAR = 0xF0FF
 
constexpr uint16_t N_PROMOTION = 0x0F00
 
constexpr ppiece_t N_P_EMPTY = 0x0000
 
constexpr ppiece_t N_P_QUEEN = 0x0800
 
constexpr ppiece_t N_P_ROOK = 0x0400
 
constexpr ppiece_t N_P_BISHOP = 0x0200
 
constexpr ppiece_t N_P_KNIGHT = 0x0100
 

Variable Documentation

◆ N_P_CLEAR

constexpr uint16_t tPPiece::N_P_CLEAR = 0xF0FF
constexpr

Definition at line 49 of file piece.h.

Referenced by bBasicMove::setPromotion().

◆ N_PROMOTION

constexpr uint16_t tPPiece::N_PROMOTION = 0x0F00
constexpr

Definition at line 50 of file piece.h.

Referenced by bBasicMove::getPromotion().

◆ N_P_EMPTY

constexpr ppiece_t tPPiece::N_P_EMPTY = 0x0000
constexpr

Definition at line 51 of file piece.h.

◆ N_P_QUEEN

constexpr ppiece_t tPPiece::N_P_QUEEN = 0x0800
constexpr

◆ N_P_ROOK

constexpr ppiece_t tPPiece::N_P_ROOK = 0x0400
constexpr

Definition at line 53 of file piece.h.

Referenced by bMove::getBlackPromotionPiece(), and bMove::getWhitePromotionPiece().

◆ N_P_BISHOP

constexpr ppiece_t tPPiece::N_P_BISHOP = 0x0200
constexpr

Definition at line 54 of file piece.h.

◆ N_P_KNIGHT

constexpr ppiece_t tPPiece::N_P_KNIGHT = 0x0100
constexpr