2 * Program: pgn-extract: a Portable Game Notation (PGN) extractor.
3 * Copyright (C) 1994-2014 David Barnes
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 1, or (at your option)
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 * David Barnes may be contacted as D.J.Barnes@kent.ac.uk
19 * http://www.cs.kent.ac.uk/people/staff/djb/
22 /* Define indices for the set of pre-defined tags.
23 * Higher values are created dynamically as new
24 * tags are recognised in the source files.
27 /* List the tags so that the strings that they represent
28 * would be in alphabetical order. E.g. note that EVENT_TAG and
29 * EVENT_DATE_TAG should be in this order because the strings are
30 * "Event" and "EventDate".
43 /* The PSEUDO_ELO_TAG is not a real PGN one. It is used with the -t
44 * argument so that it becomes possible to indicate a rating of either colour.
51 /* The PSEUDO_FEN_PATTERN_TAG is not a real PGN one. It is used with the -t
52 * argument so that it becomes possible to indicate a FEN-based board pattern.
54 PSEUDO_FEN_PATTERN_TAG,
60 /* The PSEUDO_PLAYER_TAG is not a real PGN one. It is used with the -t
61 * argument so that it becomes possible to indicate a player of either colour.
65 /* The TOTAL_PLY_COUNT_TAG is used with the --totalplycount argument
66 * so record the total number of plies in a game.
88 /* The following should always be last. It should not be used
89 * as a tag identification.
91 ORIGINAL_NUMBER_OF_TAGS