| Functions | |
| void | LoadBook (GoBook &book, const boost::filesystem::path &programDir) | 
| Try to load opening book from a set of known paths. | |
| std::string | Version () | 
| Return Fuego version. | |
| void FuegoMainUtil::LoadBook | ( | GoBook & | book, | |
| const boost::filesystem::path & | programDir | |||
| ) | 
Try to load opening book from a set of known paths.
The file name is "book.dat". The paths tried are (in this order):
| book | The opening book to load | |
| programDir | the directory of the executable (may be a relative path or an empty string) | 
| SgException,if | book is not found | 
Definition at line 51 of file FuegoMainUtil.cpp.
References LoadBookFile().
Referenced by MainLoop().
| std::string FuegoMainUtil::Version | ( | ) | 
Return Fuego version.
If the macro VERSION was defined by the build system during compile time, its value is used as the version, otherwise the version is "(__DATE__)". If SVNREV is defined, ( SVNREV ) is added. If compiled in debug mode, " (dbg)" is added.
Definition at line 68 of file FuegoMainUtil.cpp.
Referenced by FuegoMainEngine::CmdLicense(), FuegoMainEngine::CmdVersion(), and PrintStartupMessage().