Author: Uri Blass
Date: 13:06:22 12/12/04
Go up one level in this thread
correction of one function
I corrected get_next_move_in_pgn(void) by the following code that set the
starting position after the first time movei reads an header(it may change the
starting position if it reads setup later.
int firstheader=1;
...
do
{
...
if (data_read==1)
{
if (firstheader==1)
{
firstheader=0;
setup("rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1");
}
parseheader();
}
Uri
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.