//Inclut # include "OgreString.h" #include "OgreVector3.h" #include "OgreQuaternion.h" #include "vecteur"
//Forward declarationsclass TiXmlElement ;
namespace Ogre {//Forward classe déclarations SceneManager; SceneNode classe;
classe nodeProperty {public: String nodeName; Chaîne propertyNm; Chaîne valueName; Chaîne typeName;
nodeProperty (const String & noeud, const String & propertyName, const String & valeur, const String & type): nodeName (noeud), propertyNm (propertyName), valueName (valeur), typeName (type) {}};
classe DotSceneLoader {public: DotSceneLoader (): mSceneMgr
(0) {} virtual ~ DotSceneLoader () {}
annuler parseDotScene (const String & sceneName, const String & groupName, SceneManager * yourSceneMgr, SceneNode * pAttachNode = NULL, const String & sPrependNode = ""); Chaîne getProperty (const String & NDNM, const chaîne α);
std :: vecteur nodeProperties; StaticObjects std :: vecteur; dynamicObjects std :: vecteur;
protégés: void processScene (TiXmlElement * XMLRacine);
processNodes vides (TiXmlElement * XMLNode); processExternals vides (TiXmlElement * XMLNode); annuler processEnvironment (TiXmlElement * XMLNode); annuler processTerrain (TiXmlElement * XMLNode); vide processUserDataReference (TiXmlElement * XMLNode, SceneNode * pParent = 0); vide processUserDataReference (TiXmlElement * XMLNode, Entité * pEntity); annuler processOctree (TiXmlElement * XMLNode); annuler processLight (TiXmlElement * XMLNode, SceneNode * pParent = 0); vide processCamera (TiXmlElement * XMLNode, SceneNode * pParent = 0);
processNode void (* TiXmlElement XMLNode, SceneNode * pParent = 0); vide processLookTarget (TiXmlElement * XMLNode, SceneNode * pParent); vide processTrackTarget (TiXmlElement * XMLNode, SceneNode * pParent); annuler processEntity (TiXmlElement * XMLNode, SceneNode * pParent); vide processParticleSystem (TiXmlElement * XMLNode, SceneNode * pParent); vide processBillboardSet (TiXmlElement * XMLNode, SceneNode * pParent); annuler processPlane (TiXmlElement * XMLNode, SceneNode * pParent);
annuler processFog (TiXmlElement * XMLNode); annuler processSkyBox (TiXmlElement * XMLNode); annuler processSkyDome (TiXmlElement * XMLNode); annuler processSkyPlane (TiXmlElement * XMLNode); processClipping void (* TiXmlElement XMLNode);
annuler processLightRange (TiXmlElement * XMLNode, Lumière * sort); processLightAttenuation void (* TiXml
2 et jailbreak pour 1G, 2G, 3G B…