Changeset 50 in flair-dev for trunk/include/FlairSimulator/Parser.h
- Timestamp:
- 05/31/17 15:54:26 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/FlairSimulator/Parser.h
r34 r50 19 19 20 20 #include <Gui.h> 21 #include <Vector3D.h> 21 22 #include <libxml/parser.h> 22 23 #include <libxml/tree.h> 23 24 namespace flair { 25 namespace core { 26 class Vector3D; 27 } 28 } 24 #include <SColor.h> 29 25 30 26 namespace flair { … … 38 34 */ 39 35 public: 40 Parser( Simulator *parent,int app_width, int app_height, int scene_width,36 Parser(int app_width, int app_height, int scene_width, 41 37 int scene_height, std::string media_path, std::string xmlFile); 42 38 ~Parser(); … … 45 41 xmlDoc *doc; 46 42 std::string media_path; 47 Simulator *parent;48 43 void processElements(xmlNode *a_node); 49 44 void processObjects(xmlNode *a_node); 50 45 void processParams(xmlNode *a_node); 46 irr::video::SColor getScolor(xmlNode *mesh_node); 51 47 irr::core::vector3df getMeshVect(xmlNode *mesh_node, xmlChar *param); 52 48 irr::core::vector3df getSceneVect(xmlNode *mesh_node, xmlChar *param, 53 49 bool isScale = false); 54 core::Vector3D getMeshVector3D(xmlNode *mesh_node, xmlChar *param);50 core::Vector3Df getMeshVector3D(xmlNode *mesh_node, xmlChar *param); 55 51 }; 56 52 }
Note:
See TracChangeset
for help on using the changeset viewer.