| 27 | |
| 28 | UserConfig::UserConfig() |
| 29 | { |
| 30 | InitDefaults(); |
| 31 | } |
| 32 | |
| 33 | void UserConfig::InitDefaults() |
| 34 | { |
| 35 | DifficultyDesc* descs = GetDifficultyDescs(); |
| 36 | for (int i = 0; i < DTN; i++) |
| 37 | { |
| 38 | cadetDifficulty[i] = descs[i].defaultCadet; |
| 39 | veteranDifficulty[i] = descs[i].defaultVeteran; |
| 40 | } |
| 41 | easyMode = true; |
| 42 | showTitles = true; |
no test coverage detected