Classes | |
struct | OpeningName |
struct | PositionName |
Typedefs | |
typedef struct OpeningName | OpeningName |
typedef struct PositionName | PositionName |
Functions | |
static bool | match (const char *s1, const char *s2) |
const char * | opening_get_line (const char *opening_name) |
Translate an opening name into its move sequence. More... | |
const char * | opening_get_english_name (const Board *board) |
Check if a board has got an engilsh opening name. More... | |
const char * | opening_get_french_name (const Board *board) |
Check if a board has got a french opening name. More... | |
Variables | |
static const OpeningName | OPENING_NAME [] |
static const PositionName | NOM_POSITION [] |
static const PositionName | POSITION_NAME [] |
Opening Name aliasing.
typedef struct OpeningName OpeningName |
opening name structure
typedef struct PositionName PositionName |
reverse opening name
|
static |
Compare two string, ignoring accents, font case, etc.
s1 | first string. |
s2 | second string. |
const char* opening_get_english_name | ( | const Board * | board | ) |
Check if a board has got an engilsh opening name.
board | Board. return An opening name, or NULL if none has been found. |
const char* opening_get_french_name | ( | const Board * | board | ) |
Check if a board has got a french opening name.
board | Board. return An opening name, or NULL if none has been found. |
const char* opening_get_line | ( | const char * | opening_name | ) |
Translate an opening name into its move sequence.
opening_name | An opening name (in lowercase). |
|
static |
The list of french opening names
|
static |
The list of french & english opening names
|
static |
The list of french opening names