Changeset 6512 in orxonox.OLD for trunk/src/lib/graphics
- Timestamp:
- Jan 17, 2006, 10:01:07 PM (19 years ago)
- Location:
- trunk/src/lib/graphics
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/light.cc
r5982 r6512 86 86 void Light::loadParams(const TiXmlElement* root) 87 87 { 88 static_cast<PNode*>(this)->loadParams(root);88 PNode::loadParams(root); 89 89 90 90 LoadParam(root, "diffuse-color", this, Light, setDiffuseColor) -
trunk/src/lib/graphics/light.h
r5405 r6512 29 29 virtual ~Light(); 30 30 31 v oid loadParams(const TiXmlElement* root);31 virtual void loadParams(const TiXmlElement* root); 32 32 33 33 void setDiffuseColor(GLfloat r, GLfloat g, GLfloat b); … … 95 95 inline static LightManager* getInstance() { if (!singletonRef) singletonRef = new LightManager(); return singletonRef; }; 96 96 97 v oid loadParams(const TiXmlElement* root);97 virtual void loadParams(const TiXmlElement* root); 98 98 void loadLights(const TiXmlElement* root); 99 99 -
trunk/src/lib/graphics/render2D/element_2d.cc
r6307 r6512 131 131 void Element2D::loadParams(const TiXmlElement* root) 132 132 { 133 BaseObject::loadParams(root); 134 133 135 // ELEMENT2D-native settings. 134 136 LoadParam(root, "alignment", this, Element2D, setAlignment) -
trunk/src/lib/graphics/render2D/element_2d.h
r6299 r6512 91 91 virtual ~Element2D(); 92 92 93 v oid loadParams(const TiXmlElement* root);93 virtual void loadParams(const TiXmlElement* root); 94 94 95 95 // ACTIVATION //
Note: See TracChangeset
for help on using the changeset viewer.