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/
23 void store_hash_value(Move *move_details,const char *fen);
24 Boolean apply_move_list(Game *game_details,unsigned *plycount);
25 Boolean apply_eco_move_list(Game *game_details,unsigned *number_of_half_moves);
26 Board *rewrite_game(Game *game_details);
27 char *copy_string(const char *str);
28 Board *new_fen_board(const char *fen);
29 /* letters should contain a string of the form: "PNBRQK" */
30 void set_output_piece_characters(const char *letters);
31 char coloured_piece_to_SAN_letter(Piece coloured_piece);
32 void build_basic_EPD_string(const Board *board,char *fen);
33 void build_BPFEN_string(const Board *board,char **bpfen, int* bpfen_len);
34 char SAN_piece_letter(Piece piece);
35 const char *piece_str(Piece piece);
36 void build_FEN_string(const Board *board,char *fen);
37 CommentList *create_match_comment(Move *move_details);