Rev 150 | Rev 161 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 150 | Rev 154 | ||
|---|---|---|---|
| Line 294... | Line 294... | ||
| 294 | // engine commands |
294 | // engine commands |
| 295 | READ_WIDESTRING (engineprogram->command_new, engine_inifile, L"commands", L"new game", L"new"); |
295 | READ_WIDESTRING (engineprogram->command_new, engine_inifile, L"commands", L"new game", L"new"); |
| 296 | for (ptr = engineprogram->command_new; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
296 | for (ptr = engineprogram->command_new; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
| 297 | READ_WIDESTRING (engineprogram->command_setboard, engine_inifile, L"commands", L"setup table from FEN", L"setboard %s"); |
297 | READ_WIDESTRING (engineprogram->command_setboard, engine_inifile, L"commands", L"setup table from FEN", L"setboard %s"); |
| 298 | for (ptr = engineprogram->command_setboard; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
298 | for (ptr = engineprogram->command_setboard; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
| 299 | READ_WIDESTRING (engineprogram->command_sd, engine_inifile, L"commands", L"search depth set", L"sd %d"); |
- | |
| 300 | for (ptr = engineprogram->command_sd; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
- | |
| 301 | READ_WIDESTRING (engineprogram->command_go, engine_inifile, L"commands", L"play", L"go"); |
299 | READ_WIDESTRING (engineprogram->command_go, engine_inifile, L"commands", L"play", L"go"); |
| 302 | for (ptr = engineprogram->command_go; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
300 | for (ptr = engineprogram->command_go; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
| 303 | READ_WIDESTRING (engineprogram->command_move, engine_inifile, L"commands", L"move", L"%s"); |
301 | READ_WIDESTRING (engineprogram->command_move, engine_inifile, L"commands", L"move", L"%s"); |
| 304 | for (ptr = engineprogram->command_move; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
302 | for (ptr = engineprogram->command_move; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
| 305 | READ_WIDESTRING (engineprogram->command_force, engine_inifile, L"commands", L"force move", L"force %s"); |
303 | READ_WIDESTRING (engineprogram->command_force, engine_inifile, L"commands", L"force move", L"force %s"); |