*/
static unsigned RAV_level = 0;
+/* At what file position the current game started. */
+static long game_start_position = -1;
+
/* Retain details of the header of a game.
* This comprises the Tags and any comment prefixing the
* moves of the game.
{
restart_lex_for_new_game();
RAV_level = 0;
+ game_start_position = get_position();
}
/* Discard any data held in the GameHeader.Tags structure. */
current_game.moves_checked = FALSE;
current_game.moves_ok = FALSE;
current_game.error_ply = 0;
+ current_game.start_position = game_start_position;
/* Determine whether or not this game is wanted, on the
* basis of the various selection criteria available.