Rev 188 | Rev 193 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 188 | Rev 192 | ||
|---|---|---|---|
| Line 378... | Line 378... | ||
| 378 | { | 378 | { | 
| 379 | wchar_t folder[MAX_PATH]; // chess engine folder name | 379 | wchar_t folder[MAX_PATH]; // chess engine folder name | 
| 380 | wchar_t friendly_name[64]; // chess engine name (will be used as player name) | 380 | wchar_t friendly_name[64]; // chess engine name (will be used as player name) | 
| 381 | wchar_t executable_name[MAX_PATH]; // chess engine binary startup command-line, e.g "gnuchess.exe" | 381 | wchar_t executable_name[MAX_PATH]; // chess engine binary startup command-line, e.g "gnuchess.exe" | 
| 382 | wchar_t executable_arguments[MAX_PATH]; // chess engine command-line arguments | 382 | wchar_t executable_arguments[MAX_PATH]; // chess engine command-line arguments | 
| - | 383 | uint64_t kernel32_minver; // required Windows kernel32.dll version (4 words) | |
| 383 | wchar_t replystring_move[256]; // chess engine reply string for a move (positions come right after) | 384 | wchar_t replystring_move[256]; // chess engine reply string for a move (positions come right after) | 
| 384 | wchar_t command_new[256]; // command to send the chess engine to tell him we are starting a new game | 385 | wchar_t command_new[256]; // command to send the chess engine to tell him we are starting a new game | 
| 385 | wchar_t command_setboard[256]; // command to send the chess engine to tell him to set the table in a particular way (FEN notation) | 386 | wchar_t command_setboard[256]; // command to send the chess engine to tell him to set the table in a particular way (FEN notation) | 
| 386 | wchar_t command_go[256]; // command to send the chess engine to make it play the current move | 387 | wchar_t command_go[256]; // command to send the chess engine to make it play the current move | 
| 387 | wchar_t command_move[256]; // command to send the chess engine to instruct it that its opponent played a particular move | 388 | wchar_t command_move[256]; // command to send the chess engine to instruct it that its opponent played a particular move | 
| 388 | 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 | 389 | 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 | 
| 389 | wchar_t command_quit[256]; // command to send the chess engine to make it exit cleanly | 390 | wchar_t command_quit[256]; // command to send the chess engine to make it exit cleanly | 
| - | 391 | bool already_crashed; // set to TRUE if this engine already crashed during this Chess Giants session | |
| 390 | } engineprogram_t; | 392 | } engineprogram_t; | 
| 391 | 393 | ||
| 392 | 394 | ||
| 393 | // engine options definition | 395 | // engine options definition | 
| 394 | typedef struct engineoptions_s | 396 | typedef struct engineoptions_s | 
| Line 617... | Line 619... | ||
| 617 | GLOBAL int language_id; | 619 | GLOBAL int language_id; | 
| 618 | GLOBAL bool dont_nag; | 620 | GLOBAL bool dont_nag; | 
| 619 | GLOBAL bool is_registered; | 621 | GLOBAL bool is_registered; | 
| 620 | GLOBAL bool terminate_everything; | 622 | GLOBAL bool terminate_everything; | 
| 621 | GLOBAL HINSTANCE hAppInstance; | 623 | GLOBAL HINSTANCE hAppInstance; | 
| - | 624 | GLOBAL uint64_t kernel32_version; | |
| 622 | GLOBAL wchar_t app_path[MAX_PATH]; | 625 | GLOBAL wchar_t app_path[MAX_PATH]; | 
| 623 | GLOBAL wchar_t load_pathname[MAX_PATH]; | 626 | GLOBAL wchar_t load_pathname[MAX_PATH]; | 
| 624 | GLOBAL wchar_t save_pathname[MAX_PATH]; | 627 | GLOBAL wchar_t save_pathname[MAX_PATH]; | 
| 625 | GLOBAL HMENU hMainMenu; | 628 | GLOBAL HMENU hMainMenu; | 
| 626 | GLOBAL HACCEL hMainAccelerators; | 629 | GLOBAL HACCEL hMainAccelerators; |