* 0 => no error found.
*/
int error_ply;
+ /* File position of the first byte of the game, or -1
+ * if unknown.
+ */
+ long start_position;
} Game;
/* Define a type to distinguish between CHECK files, NORMAL files,
const char *current_input_file;
/* Whether this is a CHECKFILE or a NORMALFILE. */
SourceFileType current_file_type;
+ /* Byte positions to scan to and from in the PGN file.
+ * Starting in the middle of a game will yield unexpected
+ * results.
+ */
+ long start_position;
+ long end_position;
/* File of ECO lines. */
const char *eco_file;
/* Where to write the extracted games. */