Belofte version 2.1.8
A promising chess program using the UCI or Winboard interface
|
Allow index mapper for char values of piece into int in 1-12 range to reduce space and easy initialisation. More...
Functions | |
bScore | realScore (bScore const sc) |
Variables | |
static piece_t | bPieceIndex [128] = {} |
static cpiece_t | bPieceMapper [tPiece::P_SIZE] = {} |
static bPiece * | pieceinstances [tPiece::P_SIZE] |
static boardbitmap_t | kingmoves [64] = {} |
static boardbitmap_t | knightmoves [64] = {} |
Allow index mapper for char values of piece into int in 1-12 range to reduce space and easy initialisation.
Definition at line 23 of file eval.cpp.
Referenced by bSearchScore::getRealScore(), and bMove::operator>().
|
static |
Definition at line 14 of file piece.cpp.
Referenced by bPiece_ctor(), and bPiece::getPiece().
|
static |
Definition at line 15 of file piece.cpp.
Referenced by bPiece_ctor(), and bPiece::getPieceChar().
|
static |
Definition at line 16 of file piece.cpp.
Referenced by bPiece_ctor(), bPiece_dtor(), and bPiece::getPieceClass().
|
static |
Definition at line 17 of file piece.cpp.
Referenced by bPiece_ctor(), bWhitePiece::isAttacked(), and bBlackPiece::isAttacked().
|
static |
Definition at line 18 of file piece.cpp.
Referenced by bPiece_ctor(), bWhitePiece::isAttacked(), and bBlackPiece::isAttacked().