| 39 | }; |
| 40 | |
| 41 | void Config::InitDifficulties() |
| 42 | { |
| 43 | // Patch stringId fields now that IDS_* globals are initialized |
| 44 | diffDesc[0].stringId = IDS_DIFF_ARMOR; |
| 45 | diffDesc[1].stringId = IDS_DIFF_FRIENDLY_TAG; |
| 46 | diffDesc[2].stringId = IDS_DIFF_ENEMY_TAG; |
| 47 | diffDesc[3].stringId = IDS_DIFF_HUD; |
| 48 | diffDesc[4].stringId = IDS_DIFF_AUTO_SPOT; |
| 49 | diffDesc[5].stringId = IDS_DIFF_MAP; |
| 50 | diffDesc[6].stringId = IDS_DIFF_WEAPON_CURSOR; |
| 51 | diffDesc[7].stringId = IDS_DIFF_AUTO_GUIDE_AT; |
| 52 | diffDesc[8].stringId = IDS_DIFF_CLOCK_INDICATOR; |
| 53 | diffDesc[9].stringId = IDS_DIFF_3RD_PERSON_VIEW; |
| 54 | diffDesc[10].stringId = IDS_DIFF_TRACERS; |
| 55 | diffDesc[11].stringId = IDS_ULTRA_AI; |
| 56 | |
| 57 | USER_CONFIG.InitDifficulties(); |
| 58 | GChatList.Enable(true); |
| 59 | } |
| 60 | |
| 61 | bool Config::IsEnabled(DifficultyType type) |
| 62 | { |
no test coverage detected