#include "opening.h"
#include "board.h"
#include <ctype.h>
Go to the source code of this file.
Opening Name aliasing.
- Date
- 1998 - 2017
- Author
- Richard Delorme
- Version
- 4.4
◆ OpeningName
| typedef struct OpeningName OpeningName |
◆ PositionName
| typedef struct PositionName PositionName |
◆ match()
| static bool match |
( |
const char * | s1, |
|
|
const char * | s2 ) |
|
static |
Compare two string, ignoring accents, font case, etc.
- Parameters
-
| s1 | first string. |
| s2 | second string. |
◆ opening_get_english_name()
| const char * opening_get_english_name |
( |
const Board * | board | ) |
|
Check if a board has got an engilsh opening name.
- Parameters
-
| board | Board. return An opening name, or NULL if none has been found. |
◆ opening_get_french_name()
| const char * opening_get_french_name |
( |
const Board * | board | ) |
|
Check if a board has got a french opening name.
- Parameters
-
| board | Board. return An opening name, or NULL if none has been found. |
◆ opening_get_line()
| const char * opening_get_line |
( |
const char * | opening_name | ) |
|
Translate an opening name into its move sequence.
- Parameters
-
| opening_name | An opening name (in lowercase). |
- Returns
- A move sequence.
◆ NOM_POSITION
The list of french opening names
◆ OPENING_NAME
The list of french & english opening names
◆ POSITION_NAME
The list of french opening names