Rev 150 | Rev 171 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 150 | Rev 154 | ||
|---|---|---|---|
| Line 367... | Line 367... | ||
| 367 | { |
367 | { |
| 368 | wchar_t folder[MAX_PATH]; // chess engine folder name |
368 | wchar_t folder[MAX_PATH]; // chess engine folder name |
| 369 | wchar_t friendly_name[64]; // chess engine name (will be used as player name) |
369 | wchar_t friendly_name[64]; // chess engine name (will be used as player name) |
| 370 | wchar_t executable_name[MAX_PATH]; // chess engine binary startup command-line, e.g "gnuchess.exe" |
370 | wchar_t executable_name[MAX_PATH]; // chess engine binary startup command-line, e.g "gnuchess.exe" |
| 371 | wchar_t executable_arguments[MAX_PATH]; // chess engine command-line arguments |
371 | wchar_t executable_arguments[MAX_PATH]; // chess engine command-line arguments |
| 372 | wchar_t replystring_move[ |
372 | wchar_t replystring_move[256]; // chess engine reply string for a move (positions come right after) |
| 373 | wchar_t command_new[ |
373 | wchar_t command_new[256]; // command to send the chess engine to tell him we are starting a new game |
| 374 | wchar_t command_setboard[ |
374 | wchar_t command_setboard[256]; // command to send the chess engine to tell him to set the table in a particular way (FEN notation) |
| 375 | wchar_t command_sd[64]; // command to send the chess engine to instruct it about its allowed depth (will be followed by numeric) |
- | |
| 376 | wchar_t command_go[ |
375 | wchar_t command_go[256]; // command to send the chess engine to make it play the current move |
| 377 | wchar_t command_move[ |
376 | wchar_t command_move[256]; // command to send the chess engine to instruct it that its opponent played a particular move |
| 378 | wchar_t command_force[ |
377 | wchar_t command_force[256]; // command to send the chess engine to force it to play a particular move instead of the one it wants |
| 379 | wchar_t command_quit[ |
378 | wchar_t command_quit[256]; // command to send the chess engine to make it exit cleanly |
| 380 | } engineprogram_t; |
379 | } engineprogram_t; |
| 381 | 380 | ||
| 382 | 381 | ||
| 383 | // engine options definition |
382 | // engine options definition |
| 384 | typedef struct engineoptions_s |
383 | typedef struct engineoptions_s |