| 1230 | hintDimEndTime = (*cfg) >> "dimmEndTime"; |
| 1231 | GetValue(_hintSound, (*cfg) >> "sound"); |
| 1232 | |
| 1233 | cfg = &((*mainCfg) >> "ConnectionLost"); |
| 1234 | |
| 1235 | _clX = (*cfg) >> "left"; |
| 1236 | _clY = (*cfg) >> "top"; |
| 1237 | _clW = (*cfg) >> "width"; |
| 1238 | _clH = (*cfg) >> "height"; |
| 1239 | _clFont = GEngine->LoadFont(GetFontID((*cfg) >> "font")); |
| 1240 | _clSize = (*cfg) >> "size"; |
| 1241 | _clColor = GetPackedColor((*cfg) >> "color"); |
| 1242 | } |
| 1243 | |
| 1244 | InGameUI::~InGameUI() |
| 1245 | { |
| 1246 | _visibleListTemp.Clear(); |
| 1247 | // _visibleListS.Clear(); |
| 1248 | } |
| 1249 | |
| 1250 | AbstractUI* CreateInGameUI() |
| 1251 | { |
| 1252 | return new InGameUI; |
| 1253 | } |
| 1254 | |
| 1255 | void AbstractUI::ShowAll(bool show) |
| 1256 | { |
| 1257 | _showUnitInfo = show; |
| 1258 | _showTacticalDisplay = show; |
| 1259 | _showCompass = show; |
| 1260 | _showMenu = show; |
| 1261 | _showTankDirection = show; |
| 1262 | _showGroupInfo = show; |
| 1263 | } |
no test coverage detected