Rev 124 | Rev 133 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 124 | Rev 130 | ||
---|---|---|---|
Line 38... | Line 38... | ||
38 | // [gameplay] |
38 | // [gameplay] |
39 | options.want_lastmove = (INIFile_ReadEntryAsBool (inifile, L"options", L"highlight last move", true) > 0); |
39 | options.want_lastmove = (INIFile_ReadEntryAsBool (inifile, L"options", L"highlight last move", true) > 0); |
40 | options.want_possiblemoves = (INIFile_ReadEntryAsBool (inifile, L"options", L"highlight possible moves", true) > 0); |
40 | options.want_possiblemoves = (INIFile_ReadEntryAsBool (inifile, L"options", L"highlight possible moves", true) > 0); |
41 | options.want_threats = (INIFile_ReadEntryAsBool (inifile, L"options", L"highlight king's threats", true) > 0); |
41 | options.want_threats = (INIFile_ReadEntryAsBool (inifile, L"options", L"highlight king's threats", true) > 0); |
42 | options.want_animations = (INIFile_ReadEntryAsBool (inifile, L"options", L"display part animations", true) > 0); |
42 | options.want_animations = (INIFile_ReadEntryAsBool (inifile, L"options", L"display part animations", true) > 0); |
- | 43 | options.want_slidinganimations = (INIFile_ReadEntryAsBool (inifile, L"options", L"display part sliding animations", true) > 0); |
|
43 | options.want_takenparts = (INIFile_ReadEntryAsBool (inifile, L"options", L"show taken parts", true) > 0); |
44 | options.want_takenparts = (INIFile_ReadEntryAsBool (inifile, L"options", L"show taken parts", true) > 0); |
44 | options.want_turn = (INIFile_ReadEntryAsBool (inifile, L"options", L"show turn", true) > 0); |
45 | options.want_turn = (INIFile_ReadEntryAsBool (inifile, L"options", L"show turn", true) > 0); |
45 | options.want_clock = (INIFile_ReadEntryAsBool (inifile, L"options", L"show game clock", true) > 0); |
46 | options.want_clock = (INIFile_ReadEntryAsBool (inifile, L"options", L"show game clock", true) > 0); |
46 | options.clock_color = INIFile_ReadEntryAsUnsignedLong (inifile, L"options", L"game clock color", 0x00007f00); // dark blue, in RGBA |
47 | options.clock_color = INIFile_ReadEntryAsUnsignedLong (inifile, L"options", L"game clock color", 0x00007f00); // dark blue, in RGBA |
47 | options.want_history = (INIFile_ReadEntryAsBool (inifile, L"options", L"show game history", true) > 0); |
48 | options.want_history = (INIFile_ReadEntryAsBool (inifile, L"options", L"show game history", true) > 0); |
Line 283... | Line 284... | ||
283 | // [gameplay] |
284 | // [gameplay] |
284 | INIFile_WriteEntryAsBool (inifile, L"options", L"highlight last move", options.want_lastmove); |
285 | INIFile_WriteEntryAsBool (inifile, L"options", L"highlight last move", options.want_lastmove); |
285 | INIFile_WriteEntryAsBool (inifile, L"options", L"highlight possible moves", options.want_possiblemoves); |
286 | INIFile_WriteEntryAsBool (inifile, L"options", L"highlight possible moves", options.want_possiblemoves); |
286 | INIFile_WriteEntryAsBool (inifile, L"options", L"highlight king's threats", options.want_threats); |
287 | INIFile_WriteEntryAsBool (inifile, L"options", L"highlight king's threats", options.want_threats); |
287 | INIFile_WriteEntryAsBool (inifile, L"options", L"display part animations", options.want_animations); |
288 | INIFile_WriteEntryAsBool (inifile, L"options", L"display part animations", options.want_animations); |
- | 289 | INIFile_WriteEntryAsBool (inifile, L"options", L"display part sliding animations", options.want_slidinganimations); |
|
288 | INIFile_WriteEntryAsBool (inifile, L"options", L"show taken parts", options.want_takenparts); |
290 | INIFile_WriteEntryAsBool (inifile, L"options", L"show taken parts", options.want_takenparts); |
289 | INIFile_WriteEntryAsBool (inifile, L"options", L"show turn", options.want_turn); |
291 | INIFile_WriteEntryAsBool (inifile, L"options", L"show turn", options.want_turn); |
290 | INIFile_WriteEntryAsBool (inifile, L"options", L"show game clock", options.want_clock); |
292 | INIFile_WriteEntryAsBool (inifile, L"options", L"show game clock", options.want_clock); |
291 | INIFile_WriteEntryAsUnsignedLong (inifile, L"options", L"game clock color", options.clock_color); |
293 | INIFile_WriteEntryAsUnsignedLong (inifile, L"options", L"game clock color", options.clock_color); |
292 | INIFile_WriteEntryAsBool (inifile, L"options", L"show game history", options.want_history); |
294 | INIFile_WriteEntryAsBool (inifile, L"options", L"show game history", options.want_history); |