#endif /* BOOKTEST */
-
-
/*
* Generate move strings in different formats.
*
}
-
/*
* Compare the string 's' to the list of legal moves available for the
* opponent. If a match is found, make the move on the board.
}
-
static int
parser(char *f, int side, short *fpiece)
{
}
-
void
skipb()
{
}
-
void
SaveGame(void)
{
}
-
/*
* GetXGame, SaveXGame and BookGame used to only be defined if
* xshogi wasn't defined -- wonder why?
}
-
void
ListGame(void)
{
}
-
void
FlagMove(char c)
{
}
-
-
/*
* Undo the most recent half-move.
*/
}
-
void
FlagString(unsigned short flags, char *s)
{
}
-
void
TestSpeed(void(*f)(short side, short ply,
short in_check, short blockable),
}
-
void
TestPSpeed(short(*f) (short side), unsigned j)
{
}
-
void
SetOppTime(char *s)
{
}
-
void
SetMachineTime(char *s)
{
}
-
-
-
/* FIXME! This is truly the function from hell! */
/*
}
-
-
void
SetTimeControl(void)
{
binbookfile = NULL;
#endif
}
-
break;
#ifdef BINBOOK
case 'B':
argc--;
argv++;
-
if (argc > 0)
binbookfile = argv[0];
-
break;
#endif
hash = ((argv[0][0] == '-') ? false : true);
break;
-
case 'l':
argc--;
argv++;
if (argc > 0)
Lang = argv[0];
-
break;
-
case 'L':
argc--;
argv++;
strcpy(listfile, argv[0]);
break;
-
case 's':
argc--;
argv++;
if (argc > 0)
strcpy(savefile, argv[0]);
-
break;
-
case 'P':
argc--;
argv++;
if (argc > 0)
bookmaxply = atoi(argv[0]);
-
break;
-
case 'R':
/* Raw text interface. */
display_type = DISPLAY_RAW;
dsp = &raw_display;
break;
-
case 'S':
argc--;
argv++;
if (argc > 0)
rehash = atoi(argv[0]);
-
if (rehash > MAXrehash)
rehash = MAXrehash;
-
break;
-
case 'T':
argc--;
argv++;
if (argc > 0)
ttblsize = atoi(argv[0]);
-
- if ((ttblsize <= MINTTABLE))
+ if (ttblsize <= MINTTABLE)
ttblsize = (MINTTABLE) + 1;
-
break;
#ifdef HASHFILE
return 0;
-
case 't': /* Create or test persistent transposition table. */
hashfile = fopen(HASHFILE, RWA_ACC);
return 0;
-
#endif /* HASHFILE */
#endif /* ttblsz */
dsp = &raw_display;
break;
-
case 'x':
argc--;
argv++;
if (argc > 0)
xwin = argv[0];
-
break;
-
default:
fputs("Usage: gnushogi [-a] [-t] [-c size] [-s savefile][-l listfile] [-x xwndw]\n", stderr);
exit(1);