Rev 29 | Rev 33 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 29 | Rev 32 | ||
---|---|---|---|
Line 345... | Line 345... | ||
345 | 345 | ||
346 | 346 | ||
347 | // engine options definition |
347 | // engine options definition |
348 | typedef struct engineoptions_s |
348 | typedef struct engineoptions_s |
349 | { |
349 | { |
350 | wchar_t |
350 | wchar_t program[64]; // chess engine program name (must be a subdirectory in "engines") |
351 | wchar_t cmdline[MAX_PATH]; // chess engine binary startup command-line, e.g "gnuchess.exe" |
- | |
352 | wchar_t init_file[MAX_PATH]; // chess engine initialization script file, e.g "init.txt" |
- | |
353 | wchar_t replystring_move[64]; // chess engine reply string for a move (positions come right after) |
- | |
354 | wchar_t replystring_hint[64]; // chess engine reply string for a hint (positions come right after) |
- | |
355 | int depth; // chess engine's currently allowed search depth |
351 | int depth; // chess engine's currently allowed search depth |
356 | int max_depth; // chess engine maximum search depth (used just for slider display) |
352 | int max_depth; // chess engine maximum search depth (used just for slider display) |
357 | int blunder_chances; // chess engine blunder chances, in percent |
353 | int blunder_chances; // chess engine blunder chances, in percent |
358 | int obstinacy_level; // chess engine obstinacy level, in number of moves |
354 | int obstinacy_level; // chess engine obstinacy level, in number of moves |
359 | bool is_expert_mode; // set to TRUE if this player claims to be an expert player (in the game settings) |
355 | bool is_expert_mode; // set to TRUE if this player claims to be an expert player (in the game settings) |
- | 356 | ||
- | 357 | wchar_t name[64]; // chess engine name (will be used as player name) |
|
- | 358 | wchar_t cmdline[MAX_PATH]; // chess engine binary startup command-line, e.g "gnuchess.exe" |
|
- | 359 | wchar_t replystring_move[64]; // chess engine reply string for a move (positions come right after) |
|
- | 360 | wchar_t replystring_hint[64]; // chess engine reply string for a hint (positions come right after) |
|
360 | wchar_t command_new[32]; // command to send the chess engine to tell him we are starting a new game |
361 | wchar_t command_new[32]; // command to send the chess engine to tell him we are starting a new game |
361 | wchar_t command_setboard[32]; // command to send the chess engine to tell him to set the table in a particular way (FEN notation) |
362 | wchar_t command_setboard[32]; // command to send the chess engine to tell him to set the table in a particular way (FEN notation) |
362 | wchar_t command_sd[32]; // command to send the chess engine to instruct it about its allowed depth (will be followed by numeric) |
363 | wchar_t command_sd[32]; // command to send the chess engine to instruct it about its allowed depth (will be followed by numeric) |
363 | wchar_t command_go[32]; // command to send the chess engine to make it play the current move |
364 | wchar_t command_go[32]; // command to send the chess engine to make it play the current move |
364 | wchar_t command_hint[32]; // command to send the chess engine to make it report a hint for the opponent |
365 | wchar_t command_hint[32]; // command to send the chess engine to make it report a hint for the opponent |