Belofte version 2.1.9
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 | |
static boardbitmap_t | destinationbits (case_t const iCase, int8_t const ri, int8_t const ci) |
static boardbitmap_t | destinationbits_king (case_t const iCase) |
static boardbitmap_t | destinationbits_knight (case_t const iCase) |
void | bPiece_ctor () |
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] = {} |
static case_t | belofte::kingarray [64][9] = {} |
static case_t | belofte::knightarray [64][9] = {} |
|
static |
Definition at line 140 of file piece.cpp.
Referenced by destinationbits_king(), and destinationbits_knight().
|
static |
Definition at line 114 of file piece.cpp.
Referenced by bPiece_ctor().
|
static |
Definition at line 127 of file piece.cpp.
Referenced by bPiece_ctor().
void bPiece_ctor | ( | ) |