* Resets the options back to their defaults. */
| 274 | * Resets the options back to their defaults. |
| 275 | */ |
| 276 | void resetDefault() |
| 277 | { |
| 278 | for (std::vector<OptionInfo>::iterator i = _info.begin(); i != _info.end(); ++i) |
| 279 | { |
| 280 | i->reset(); |
| 281 | } |
| 282 | backupDisplay(); |
| 283 | |
| 284 | rulesets.clear(); |
| 285 | rulesets.push_back("Xcom1Ruleset"); |
| 286 | |
| 287 | purchaseExclusions.clear(); |
| 288 | } |
| 289 | |
| 290 | /** |
| 291 | * Loads options from a set of command line arguments, |
no test coverage detected