Belofte version 2.1.9
A promising chess program using the UCI or Winboard interface
belofte.h File Reference

This is the main include file, needs to be included before any other include. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  appInstance
 Singleton implementation of application. More...
 

Macros

#define MYNAME   "Belofte"
 
#define MYLCNAME   "belofte"
 
#define MYVERSION   "2.1.9"
 
#define MYAUTHOR   "Yves De Billoëz"
 
#define DEVDATES   "2004-2025"
 
#define MYCOPYRIGHT   DEVDATES " (c)"
 
#define MYLICENSE   "Released under the GNU GPL v2 license"
 
#define MYRELEASEDATE   "on 19/08/2025"
 
#define MYFULLNAME   MYNAME " " MYVERSION
 

Typedefs

typedef int8_t rank_t
 
typedef int8_t column_t
 
typedef uint8_t case_t
 
typedef uint16_t fromto_t
 
typedef uint32_t bmove_t
 
typedef uint16_t plynum_t
 
typedef uint_fast8_t movenum_t
 
typedef uint8_t movenum50_t
 
typedef std::bitset< 64 > boardbitmap_t
 
typedef int_fast8_t depth_t
 
typedef std::map< std::string, bool > commandList_t
 
typedef std::map< std::string, engineUserCommand * > engineCommands_t
 

Functions

appInstanceApp ()
 
engineInterfaceAppEI ()
 
bGameGame ()
 

Detailed Description

This is the main include file, needs to be included before any other include.

Author
Yves De Billoëz

Definition in file belofte.h.

Macro Definition Documentation

◆ MYNAME

#define MYNAME   "Belofte"

Definition at line 31 of file belofte.h.

Referenced by bGame::newGame(), and engineInterface::sendHelp().

◆ MYLCNAME

#define MYLCNAME   "belofte"

Definition at line 32 of file belofte.h.

Referenced by appInstance::getName(), and BelofteMode::sendPrompt().

◆ MYVERSION

#define MYVERSION   "2.1.9"

Definition at line 33 of file belofte.h.

Referenced by appInstance::getName(), bel_debug::info(), and bGame::newGame().

◆ MYAUTHOR

#define MYAUTHOR   "Yves De Billoëz"

Definition at line 37 of file belofte.h.

Referenced by cmd_uci::execute(), and main().

◆ DEVDATES

#define DEVDATES   "2004-2025"

Definition at line 39 of file belofte.h.

Referenced by main().

◆ MYCOPYRIGHT

#define MYCOPYRIGHT   DEVDATES " (c)"

Definition at line 40 of file belofte.h.

◆ MYLICENSE

#define MYLICENSE   "Released under the GNU GPL v2 license"

Definition at line 41 of file belofte.h.

Referenced by main().

◆ MYRELEASEDATE

#define MYRELEASEDATE   "on 19/08/2025"

Definition at line 44 of file belofte.h.

Referenced by bel_debug::info(), and bGame::newGame().

◆ MYFULLNAME

#define MYFULLNAME   MYNAME " " MYVERSION

Definition at line 49 of file belofte.h.

Referenced by cmd_protover::execute(), cmd_uci::execute(), and main().

Typedef Documentation

◆ rank_t

typedef int8_t rank_t

Definition at line 94 of file belofte.h.

◆ column_t

typedef int8_t column_t

Definition at line 95 of file belofte.h.

◆ case_t

typedef uint8_t case_t

Definition at line 96 of file belofte.h.

◆ fromto_t

typedef uint16_t fromto_t

Definition at line 97 of file belofte.h.

◆ bmove_t

typedef uint32_t bmove_t

Definition at line 98 of file belofte.h.

◆ plynum_t

typedef uint16_t plynum_t

Definition at line 99 of file belofte.h.

◆ movenum_t

typedef uint_fast8_t movenum_t

Definition at line 100 of file belofte.h.

◆ movenum50_t

typedef uint8_t movenum50_t

Definition at line 101 of file belofte.h.

◆ boardbitmap_t

typedef std::bitset<64> boardbitmap_t

Definition at line 102 of file belofte.h.

◆ depth_t

typedef int_fast8_t depth_t

Definition at line 103 of file belofte.h.

◆ commandList_t

typedef std::map<std::string, bool> commandList_t

Definition at line 140 of file belofte.h.

◆ engineCommands_t

typedef std::map<std::string, engineUserCommand*> engineCommands_t

Definition at line 141 of file belofte.h.

Function Documentation

◆ App()

appInstance & App ( )

Definition at line 225 of file belofte.cpp.

Referenced by AppEI(), bGame::DoPerft(), bGame::DoSearch(), bel_debug::execute(), cmd_about::execute(), cmd_bd::execute(), cmd_belofte::execute(), cmd_computer::execute(), cmd_debug::execute(), cmd_eval::execute(), cmd_exec::execute(), cmd_execat::execute(), cmd_game::execute(), cmd_info::execute(), cmd_ls::execute(), cmd_name::execute(), cmd_nopost::execute(), cmd_perft::execute(), cmd_post::execute(), cmd_protover::execute(), cmd_quit::execute(), cmd_random::execute(), cmd_save::execute(), cmd_uci::execute(), cmd_UCI_Opponent::execute(), cmd_ucinewgame::execute(), cmd_usage::execute(), cmd_usermove::execute(), cmd_xboard::execute(), Game(), bGame::getEpdMoveInPosition(), appInstance::getName(), belofte::getRandomInt(), belofte::getRandomRange(), bel_debug::info(), main(), bEpdFile::parse(), bEpd::parsePerftPosition(), bel_debug::run_bench(), commandReader::runner(), UCIMode::sendDebug(), XboardMode::sendDebug(), engineInterface::sendError(), engineInterface::sendHelp(), UCIMode::sendInfo(), XboardMode::sendInfo(), UCIMode::sendInfoCurrMove(), UCIMode::sendInfoDepth(), UCIMode::sendInfoSearching(), UCIMode::sendInfoSearching(), XboardMode::sendInfoSearching(), XboardMode::sendInvalidMove(), engineInterface::sendMove(), UCIMode::sendMove(), BelofteMode::sendPrompt(), engineInterface::sendResponse(), engineInterface::sendResult(), XboardMode::sendResult(), bConfigurableGame::setAlgorithm(), appInstance::setName(), bSearchAlgorithm::StartSearch(), and bEpd::translateEpdResult().

+ Here is the caller graph for this function:

◆ AppEI()

◆ Game()