Belofte version 2.1.8
A promising chess program using the UCI or Winboard interface
|
Go to the source code of this file.
Namespaces | |
namespace | belofte |
Allow index mapper for char values of piece into int in 1-12 range to reduce space and easy initialisation. | |
Functions | |
void | bPiece_ctor () |
boardbitmap_t | destinationbits_king (case_t const iCase) |
boardbitmap_t | destinationbits_knight (case_t const iCase) |
boardbitmap_t | destinationbits (case_t const iCase, int8_t const ri, int8_t const ci) |
void | bPiece_dtor () |
Variables | |
static piece_t | belofte::bPieceIndex [128] = {} |
static cpiece_t | belofte::bPieceMapper [tPiece::P_SIZE] = {} |
static bPiece * | belofte::pieceinstances [tPiece::P_SIZE] |
static boardbitmap_t | belofte::kingmoves [64] = {} |
static boardbitmap_t | belofte::knightmoves [64] = {} |
void bPiece_ctor | ( | ) |
boardbitmap_t destinationbits_king | ( | case_t const | iCase | ) |
Definition at line 84 of file piece.cpp.
Referenced by bPiece_ctor().
boardbitmap_t destinationbits_knight | ( | case_t const | iCase | ) |
Definition at line 97 of file piece.cpp.
Referenced by bPiece_ctor().
boardbitmap_t destinationbits | ( | case_t const | iCase, |
int8_t const | ri, | ||
int8_t const | ci | ||
) |
Definition at line 110 of file piece.cpp.
Referenced by destinationbits_king(), and destinationbits_knight().