| 62 int write_pgn(FILE* stream, const GameState *gamestate, bool export_comments); |
62 int write_pgn(FILE* stream, const GameState *gamestate, bool export_comments); |
| 63 |
63 |
| 64 pgn_result parse_pgn(const char *data, GameState *gamestate); |
64 pgn_result parse_pgn(const char *data, GameState *gamestate); |
| 65 char *create_pgn(const GameState *gamestate, bool export_comments); |
65 char *create_pgn(const GameState *gamestate, bool export_comments); |
| 66 |
66 |
| |
67 char *pgn_move_text(const GameState *gamestate, |
| |
68 unsigned max_width, bool export_comments); |
| |
69 |
| 67 // TODO: this function looks a bit misplaced |
70 // TODO: this function looks a bit misplaced |
| 68 const char *pgn_player_name(const GameState *gamestate, Color color); |
71 const char *pgn_player_name(const GameState *gamestate, Color color); |
| 69 |
72 |
| 70 const char* pgn_error_str(int code); |
73 const char* pgn_error_str(int code); |
| 71 |
74 |