--- a/src/chess/pgn.h Tue Apr 28 12:33:22 2026 +0200 +++ b/src/chess/pgn.h Wed Apr 29 17:28:03 2026 +0200 @@ -39,7 +39,8 @@ #endif int read_pgn(FILE *stream, GameState *gamestate, GameInfo *gameinfo); -void write_pgn(FILE* stream, GameState *gamestate, GameInfo *gameinfo); +void write_pgn(FILE* stream, GameState *gamestate, GameInfo *gameinfo, + bool export_comments); void compute_fen(char *str, GameState *gamestate); const char* pgn_error_str(int code);