Subversion Repositories Games.Chess Giants

Rev

Rev 40 | Rev 50 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 40 Rev 44
Line 349... Line 349...
349
{
349
{
350
   wchar_t name[64]; // chess engine name (will be used as player name)
350
   wchar_t name[64]; // chess engine name (will be used as player name)
351
   wchar_t cmdline[MAX_PATH]; // chess engine binary startup command-line, e.g "gnuchess.exe"
351
   wchar_t cmdline[MAX_PATH]; // chess engine binary startup command-line, e.g "gnuchess.exe"
352
   wchar_t replystring_move[64]; // chess engine reply string for a move (positions come right after)
352
   wchar_t replystring_move[64]; // chess engine reply string for a move (positions come right after)
353
   wchar_t replystring_hint[64]; // chess engine reply string for a hint (positions come right after)
353
   wchar_t replystring_hint[64]; // chess engine reply string for a hint (positions come right after)
354
   wchar_t command_new[32]; // command to send the chess engine to tell him we are starting a new game
354
   wchar_t command_new[64]; // command to send the chess engine to tell him we are starting a new game
355
   wchar_t command_setboard[32]; // command to send the chess engine to tell him to set the table in a particular way (FEN notation)
355
   wchar_t command_setboard[64]; // command to send the chess engine to tell him to set the table in a particular way (FEN notation)
356
   wchar_t command_sd[32]; // command to send the chess engine to instruct it about its allowed depth (will be followed by numeric)
356
   wchar_t command_sd[64]; // command to send the chess engine to instruct it about its allowed depth (will be followed by numeric)
357
   wchar_t command_go[32]; // command to send the chess engine to make it play the current move
357
   wchar_t command_go[64]; // command to send the chess engine to make it play the current move
358
   wchar_t command_hint[32]; // command to send the chess engine to make it report a hint for the opponent
358
   wchar_t command_hint[64]; // command to send the chess engine to make it report a hint for the opponent
-
 
359
   wchar_t command_move[64]; // command to send the chess engine to instruct it that its opponent played a particular move
359
   wchar_t command_force[32]; // command to send the chess engine to force it to play a particular move instead of the one it wants
360
   wchar_t command_force[64]; // command to send the chess engine to force it to play a particular move instead of the one it wants
360
   wchar_t command_quit[32]; // command to send the chess engine to make it exit cleanly
361
   wchar_t command_quit[64]; // command to send the chess engine to make it exit cleanly
361
} engineprogramoptions_t;
362
} engineprogramoptions_t;
362
 
363
 
363
 
364
 
364
// engine options definition
365
// engine options definition
365
typedef struct engineoptions_s
366
typedef struct engineoptions_s