Belofte  version 2.1.5
A promising chess program using the UCI or Winboard interface
piece.cpp File Reference

Go to the source code of this file.

Namespaces

 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 ()
 
void bPiece_dtor ()
 

Variables

static piece_t belofte::bPieceIndex [128] = {}
 
static cpiece_t belofte::bPieceMapper [tPiece::P_SIZE] = {}
 
static bPiecebelofte::pieceinstances [tPiece::P_SIZE]
 

Function Documentation

◆ bPiece_ctor()

void bPiece_ctor ( )

Definition at line 32 of file piece.cpp.

Referenced by main().

+ Here is the caller graph for this function:

◆ bPiece_dtor()

void bPiece_dtor ( )

Definition at line 77 of file piece.cpp.

Referenced by main().

+ Here is the caller graph for this function: