Changeset 870 for code/branches/core/src
- Timestamp:
- Mar 9, 2008, 3:03:46 PM (17 years ago)
- Location:
- code/branches/core/src/orxonox
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core/src/orxonox/core/BaseObject.cc
r856 r870 78 78 @return The XML-element 79 79 */ 80 Element&BaseObject::XMLPort(Element& xmlelement, bool loading)80 void BaseObject::XMLPort(Element& xmlelement, bool loading) 81 81 { 82 82 XMLPortParam(BaseObject, "name", setName, getName, xmlelement, loading); 83 84 return xmlelement;85 83 } 86 84 -
code/branches/core/src/orxonox/core/BaseObject.h
r856 r870 50 50 virtual ~BaseObject(); 51 51 virtual void loadParams(TiXmlElement* xmlElem); 52 virtual Element&XMLPort(Element& xmlelement, bool loading);52 virtual void XMLPort(Element& xmlelement, bool loading); 53 53 54 54 /** @brief Sets the name of the object. @param name The name */ -
code/branches/core/src/orxonox/objects/Ambient.cc
r869 r870 85 85 @return The XML-element 86 86 */ 87 Element&Ambient::XMLPort(Element& xmlelement, bool loading)87 void Ambient::XMLPort(Element& xmlelement, bool loading) 88 88 { 89 89 BaseObject::XMLPort(xmlelement, loading); 90 90 91 91 XMLPortParamLoadOnly(Ambient, "colourvalue", setAmbientLight, xmlelement, loading); 92 93 return xmlelement;94 92 } 95 93 } -
code/branches/core/src/orxonox/objects/Ambient.h
r869 r870 15 15 16 16 void loadParams(TiXmlElement* xmlElem); 17 virtual Element&XMLPort(Element& xmlelement, bool loading);17 virtual void XMLPort(Element& xmlelement, bool loading); 18 18 void setAmbientLight(const ColourValue& colour); 19 19 -
code/branches/core/src/orxonox/objects/Model.cc
r869 r870 67 67 @return The XML-element 68 68 */ 69 Element&Model::XMLPort(Element& xmlelement, bool loading)69 void Model::XMLPort(Element& xmlelement, bool loading) 70 70 { 71 71 WorldEntity::XMLPort(xmlelement, loading); … … 74 74 75 75 create(); 76 77 return xmlelement;78 76 } 79 77 -
code/branches/core/src/orxonox/objects/Model.h
r869 r870 18 18 virtual ~Model(); 19 19 virtual void loadParams(TiXmlElement* xmlElem); 20 virtual Element&XMLPort(Element& xmlelement, bool loading);20 virtual void XMLPort(Element& xmlelement, bool loading); 21 21 void setMesh(const std::string& meshname); 22 22 bool create(); -
code/branches/core/src/orxonox/objects/Skybox.cc
r869 r870 77 77 @return The XML-element 78 78 */ 79 Element&Skybox::XMLPort(Element& xmlelement, bool loading)79 void Skybox::XMLPort(Element& xmlelement, bool loading) 80 80 { 81 81 BaseObject::XMLPort(xmlelement, loading); 82 82 83 83 XMLPortParamLoadOnly(Skybox, "src", setSkybox, xmlelement, loading); 84 85 return xmlelement;86 84 } 87 85 } -
code/branches/core/src/orxonox/objects/Skybox.h
r869 r870 17 17 18 18 void loadParams(TiXmlElement* xmlElem); 19 virtual Element&XMLPort(Element& xmlelement, bool loading);19 virtual void XMLPort(Element& xmlelement, bool loading); 20 20 void setSkybox(const std::string& skyboxname); 21 21 -
code/branches/core/src/orxonox/objects/SpaceShip.cc
r869 r870 291 291 @return The XML-element 292 292 */ 293 Element&SpaceShip::XMLPort(Element& xmlelement, bool loading)293 void SpaceShip::XMLPort(Element& xmlelement, bool loading) 294 294 { 295 295 Model::XMLPort(xmlelement, loading); … … 303 303 XMLPortParamLoadOnly(SpaceShip, "transDamp", setTransDamp, xmlelement, loading); 304 304 XMLPortParamLoadOnly(SpaceShip, "rotDamp", setRotDamp, xmlelement, loading); 305 306 return xmlelement;307 305 } 308 306 -
code/branches/core/src/orxonox/objects/SpaceShip.h
r869 r870 24 24 void setConfigValues(); 25 25 virtual void loadParams(TiXmlElement* xmlElem); 26 virtual Element&XMLPort(Element& xmlelement, bool loading);26 virtual void XMLPort(Element& xmlelement, bool loading); 27 27 virtual void tick(float dt); 28 28 -
code/branches/core/src/orxonox/objects/WorldEntity.cc
r869 r870 171 171 @return The XML-element 172 172 */ 173 Element&WorldEntity::XMLPort(Element& xmlelement, bool loading)173 void WorldEntity::XMLPort(Element& xmlelement, bool loading) 174 174 { 175 175 BaseObject::XMLPort(xmlelement, loading); … … 183 183 184 184 XMLPortObject(WorldEntity, WorldEntity, "attached", attachWorldEntity, getAttachedWorldEntity, xmlelement, loading); 185 186 return xmlelement;187 185 } 188 186 -
code/branches/core/src/orxonox/objects/WorldEntity.h
r869 r870 25 25 virtual void tick(float dt); 26 26 virtual void loadParams(TiXmlElement* xmlElem); 27 virtual Element&XMLPort(Element& xmlelement, bool loading);27 virtual void XMLPort(Element& xmlelement, bool loading); 28 28 bool create(); 29 29
Note: See TracChangeset
for help on using the changeset viewer.