| 225 | } |
| 226 | |
| 227 | void HandleLoadingScreen(LoadingScreen& siv, const TiXmlElement* el) { |
| 228 | const TiXmlElement* image = el->FirstChildElement("Image"); |
| 229 | if (image) { |
| 230 | const char* c_image = image->GetText(); |
| 231 | if (c_image) { |
| 232 | siv.image = c_image; |
| 233 | } |
| 234 | } |
| 235 | } |
| 236 | |
| 237 | void ParseLevelXML(const std::string& path, LevelInfo& li) { |
| 238 | for (int i = 0, len = path.size(); i < len; ++i) { |
no test coverage detected