Changeset 6977 in orxonox.OLD for trunk/src/lib/graphics/effects/graphics_effect.cc
- Timestamp:
- Feb 2, 2006, 11:30:40 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/effects/graphics_effect.cc
r6873 r6977 35 35 GraphicsEffect::GraphicsEffect(const TiXmlElement* root) 36 36 { 37 this->setClassID(CL_GRAPHICS_EFFECT, "GraphicsEffect"); 37 38 this->bActivated = false; 38 39 39 40 this->bActivated = GraphicsEngine::getInstance()->loadGraphicsEffect(this); 40 41 if (root != NULL)42 this->loadParams(root);43 41 } 44 42 … … 60 58 { 61 59 BaseObject::loadParams(root); 62 63 // LoadParam(root, "diffuse-color", this, GraphicsEffect, setDiffuseColor)64 // .describe("sets the diffuse color of the GraphicsEffect (red [0-1], green [0-1], blue [0-1])");65 66 60 } 67 61
Note: See TracChangeset
for help on using the changeset viewer.