Rev 14 | Rev 32 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 14 | Rev 29 | ||
---|---|---|---|
Line 69... | Line 69... | ||
69 | READ_WIDESTRING (options.engine.init_file, L"engine", L"initialization file", L"init.txt"); |
69 | READ_WIDESTRING (options.engine.init_file, L"engine", L"initialization file", L"init.txt"); |
70 | options.engine.depth = INIFile_ReadEntryAsLong (inifile, L"engine", L"allowed depth", 4); |
70 | options.engine.depth = INIFile_ReadEntryAsLong (inifile, L"engine", L"allowed depth", 4); |
71 | options.engine.max_depth = INIFile_ReadEntryAsLong (inifile, L"engine", L"maximum depth", 100); |
71 | options.engine.max_depth = INIFile_ReadEntryAsLong (inifile, L"engine", L"maximum depth", 100); |
72 | options.engine.blunder_chances = INIFile_ReadEntryAsLong (inifile, L"engine", L"blunder chances", 0); |
72 | options.engine.blunder_chances = INIFile_ReadEntryAsLong (inifile, L"engine", L"blunder chances", 0); |
73 | options.engine.obstinacy_level = INIFile_ReadEntryAsLong (inifile, L"engine", L"obstinacy", 0); |
73 | options.engine.obstinacy_level = INIFile_ReadEntryAsLong (inifile, L"engine", L"obstinacy", 0); |
- | 74 | options.engine.is_expert_mode = (INIFile_ReadEntryAsBool (inifile, L"engine", L"expert mode", false) > 0); |
|
74 | READ_WIDESTRING (options.engine.replystring_move, L"engine", L"move string", L"): "); |
75 | READ_WIDESTRING (options.engine.replystring_move, L"engine", L"move string", L"): "); |
75 | READ_WIDESTRING (options.engine.replystring_hint, L"engine", L"hint string", L"Hint: "); |
76 | READ_WIDESTRING (options.engine.replystring_hint, L"engine", L"hint string", L"Hint: "); |
76 | 77 | ||
77 | READ_WIDESTRING (options.engine.command_new, L"engine", L"new game command", L"new"); |
78 | READ_WIDESTRING (options.engine.command_new, L"engine", L"new game command", L"new"); |
78 | READ_WIDESTRING (options.engine.command_setboard, L"engine", L"setup table from FEN command", L"setboard"); |
79 | READ_WIDESTRING (options.engine.command_setboard, L"engine", L"setup table from FEN command", L"setboard"); |
Line 219... | Line 220... | ||
219 | WRITE_WIDESTRING (L"engine", L"initialization file", options.engine.init_file); |
220 | WRITE_WIDESTRING (L"engine", L"initialization file", options.engine.init_file); |
220 | INIFile_WriteEntryAsLong (inifile, L"engine", L"allowed depth", options.engine.depth); |
221 | INIFile_WriteEntryAsLong (inifile, L"engine", L"allowed depth", options.engine.depth); |
221 | INIFile_WriteEntryAsLong (inifile, L"engine", L"maximum depth", options.engine.max_depth); |
222 | INIFile_WriteEntryAsLong (inifile, L"engine", L"maximum depth", options.engine.max_depth); |
222 | INIFile_WriteEntryAsLong (inifile, L"engine", L"blunder chances", options.engine.blunder_chances); |
223 | INIFile_WriteEntryAsLong (inifile, L"engine", L"blunder chances", options.engine.blunder_chances); |
223 | INIFile_WriteEntryAsLong (inifile, L"engine", L"obstinacy", options.engine.obstinacy_level); |
224 | INIFile_WriteEntryAsLong (inifile, L"engine", L"obstinacy", options.engine.obstinacy_level); |
- | 225 | INIFile_WriteEntryAsBool (inifile, L"engine", L"expert mode", options.engine.is_expert_mode); |
|
224 | WRITE_WIDESTRING (L"engine", L"move string", options.engine.replystring_move); |
226 | WRITE_WIDESTRING (L"engine", L"move string", options.engine.replystring_move); |
225 | WRITE_WIDESTRING (L"engine", L"hint string", options.engine.replystring_hint); |
227 | WRITE_WIDESTRING (L"engine", L"hint string", options.engine.replystring_hint); |
226 | WRITE_WIDESTRING (L"engine", L"new game command", options.engine.command_new); |
228 | WRITE_WIDESTRING (L"engine", L"new game command", options.engine.command_new); |
227 | WRITE_WIDESTRING (L"engine", L"setup table from FEN command", options.engine.command_setboard); |
229 | WRITE_WIDESTRING (L"engine", L"setup table from FEN command", options.engine.command_setboard); |
228 | WRITE_WIDESTRING (L"engine", L"search depth set command", options.engine.command_sd); |
230 | WRITE_WIDESTRING (L"engine", L"search depth set command", options.engine.command_sd); |