| 211 | } |
| 212 | |
| 213 | void HandleRecentItems(std::vector<SpawnerItem>& siv, const TiXmlElement* el) { |
| 214 | const TiXmlElement* spawner = el->FirstChildElement("SpawnerItem"); |
| 215 | |
| 216 | while (spawner != NULL) { |
| 217 | SpawnerItem si; |
| 218 | si.display_name = spawner->Attribute("display_name"); |
| 219 | si.path = SanitizePath(spawner->Attribute("path")); |
| 220 | si.thumbnail_path = SanitizePath(spawner->Attribute("thumbnail_path")); |
| 221 | siv.push_back(si); |
| 222 | |
| 223 | spawner = spawner->NextSiblingElement("SpawnerItem"); |
| 224 | } |
| 225 | } |
| 226 | |
| 227 | void HandleLoadingScreen(LoadingScreen& siv, const TiXmlElement* el) { |
| 228 | const TiXmlElement* image = el->FirstChildElement("Image"); |
no test coverage detected