//Process skybox pElement = XMLNode-> FirstChildElement ("Skybox") (?); if (pElement) processSkyBox (pElement);
//Process SkyDome pElement = XMLNode-> FirstChildElement ("SkyDome") (?); if (pElement) processSkyDome (pElement);
//Process skyPlane pElement = XMLNode-> FirstChildElement ("skyPlane") (?); if (pElement) processSkyPlane (pElement), (?) Review //Process klippning pElement = XMLNode-> FirstChildElement ("klippning"); if (pElement) processClipping (pElement);
//Process colourAmbient pElement = XMLNode-> FirstChildElement ("colourAmbient") (?); if (pElement) mSceneMgr-> setAmbientLight (parseColour (pElement));
//Process colourBackground //(?)! todo Ställ bakgrundsfärgen på alla vyportar (RenderWindow måste lämnas sedan) pElement = XMLNode-> FirstChildElement ("colourBackground"); if (pElement); //mSceneMgr-> set (parseColour (pElement)), (?) Review //Process userDataReference pElement = XMLNode-> FirstChildElement ("userDataReference"); if (pElement) processUserDataReference (pElement);} Omdömen annullera DotSceneLoader :: processTerrain (TiXmlElement * XMLNode) {std :: string terrainConfig; String worldTexture = getAttrib (XMLNode, "WorldTexture"); if (worldTexture.
size () = 0!) {terrainConfig + = "WorldTexture ="; terrainConfig + = worldTexture; terrainConfig + = "\\ n"; }
String detailTexture = getAttrib (XMLNode, "DetailTexture"); if (detailTexture.size () = 0!) {terrainConfig + = "DetailTexture ="; terrainConfig + = detailTexture; terrainConfig + = "\\ n"; }
String detailTile = getAttrib (XMLNode, "DetailTile"); if (detailTile.size () = 0!) {terrainConfig + = "DetailTile ="; terrainConfig + = detailTile; terrainConfig + = "\\ n"; } String pageSource = getAttrib (XMLNode, "PageSource"); if (pageSource.
size () = 0!) {terrainConfig + = "PageSource ="; terrainConfig + = pageSource; terrainConfig + = "\\ n"; }
String heightmapImage = getAttrib (XMLNode, "Heightmap.image"); if (heightmapImage.size () = 0!) {terrainConfig + = "Heightmap.image ="; terrainConfig + = heightmapImage; terrainConfig + = "\\ n"; }
String heightmapRawSize = getAttrib (XMLNode, "Heightmap.raw.size"); if (heightmapRawSize.size () = 0!) {terrainConfig + = "Heightmap.raw.size ="; terrainConfig + = heightmapRawSize; terrainConfi