MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / HandleLoadingScreen

Function HandleLoadingScreen

Source/Internal/levelxml.cpp:227–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227void 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
237void ParseLevelXML(const std::string& path, LevelInfo& li) {
238 for (int i = 0, len = path.size(); i < len; ++i) {

Callers 1

ParseLevelXMLFunction · 0.85

Calls 2

FirstChildElementMethod · 0.45
GetTextMethod · 0.45

Tested by

no test coverage detected