Rev 44 | Rev 59 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 44 | Rev 50 | ||
---|---|---|---|
Line 177... | Line 177... | ||
177 | READ_WIDESTRING (options.engine.program_options.name, engine_inifile, L"program", L"name", L"Crafty v24.0"); |
177 | READ_WIDESTRING (options.engine.program_options.name, engine_inifile, L"program", L"name", L"Crafty v24.0"); |
178 | READ_WIDESTRING (options.engine.program_options.cmdline, engine_inifile, L"program", L"executable", L"crafty.exe"); |
178 | READ_WIDESTRING (options.engine.program_options.cmdline, engine_inifile, L"program", L"executable", L"crafty.exe"); |
179 | 179 | ||
180 | // reply string patterns |
180 | // reply string patterns |
181 | READ_WIDESTRING (options.engine.program_options.replystring_move, engine_inifile, L"reply strings", L"move", L"): "); |
181 | READ_WIDESTRING (options.engine.program_options.replystring_move, engine_inifile, L"reply strings", L"move", L"): "); |
182 | READ_WIDESTRING (options.engine.program_options.replystring_hint, engine_inifile, L"reply strings", L"hint", L"Hint: "); |
- | |
183 | 182 | ||
184 | // engine commands |
183 | // engine commands |
185 | READ_WIDESTRING (options.engine.program_options.command_new, engine_inifile, L"commands", L"new game", L"new"); |
184 | READ_WIDESTRING (options.engine.program_options.command_new, engine_inifile, L"commands", L"new game", L"new"); |
186 | for (ptr = options.engine.program_options.command_new; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
185 | for (ptr = options.engine.program_options.command_new; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
187 | READ_WIDESTRING (options.engine.program_options.command_setboard, engine_inifile, L"commands", L"setup table from FEN", L"setboard %s"); |
186 | READ_WIDESTRING (options.engine.program_options.command_setboard, engine_inifile, L"commands", L"setup table from FEN", L"setboard %s"); |
188 | for (ptr = options.engine.program_options.command_setboard; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
187 | for (ptr = options.engine.program_options.command_setboard; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
189 | READ_WIDESTRING (options.engine.program_options.command_sd, engine_inifile, L"commands", L"search depth set", L"sd %d"); |
188 | READ_WIDESTRING (options.engine.program_options.command_sd, engine_inifile, L"commands", L"search depth set", L"sd %d"); |
190 | for (ptr = options.engine.program_options.command_sd; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
189 | for (ptr = options.engine.program_options.command_sd; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
191 | READ_WIDESTRING (options.engine.program_options.command_go, engine_inifile, L"commands", L"play", L"go"); |
190 | READ_WIDESTRING (options.engine.program_options.command_go, engine_inifile, L"commands", L"play", L"go"); |
192 | for (ptr = options.engine.program_options.command_go; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
191 | for (ptr = options.engine.program_options.command_go; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
193 | READ_WIDESTRING (options.engine.program_options.command_hint, engine_inifile, L"commands", L"hint", L"hint"); |
- | |
194 | for (ptr = options.engine.program_options.command_hint; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
- | |
195 | READ_WIDESTRING (options.engine.program_options.command_move, engine_inifile, L"commands", L"move", L"%s"); |
192 | READ_WIDESTRING (options.engine.program_options.command_move, engine_inifile, L"commands", L"move", L"%s"); |
196 | for (ptr = options.engine.program_options.command_move; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
193 | for (ptr = options.engine.program_options.command_move; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
197 | READ_WIDESTRING (options.engine.program_options.command_force, engine_inifile, L"commands", L"force move", L"force %s"); |
194 | READ_WIDESTRING (options.engine.program_options.command_force, engine_inifile, L"commands", L"force move", L"force %s"); |
198 | for (ptr = options.engine.program_options.command_force; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
195 | for (ptr = options.engine.program_options.command_force; *ptr != 0; ptr++) if (*ptr == L';') *ptr = L'\n'; |
199 | READ_WIDESTRING (options.engine.program_options.command_quit, engine_inifile, L"commands", L"quit", L"quit"); |
196 | READ_WIDESTRING (options.engine.program_options.command_quit, engine_inifile, L"commands", L"quit", L"quit"); |