Changeset 6977 in orxonox.OLD for trunk/src/lib/graphics/effects
- Timestamp:
- Feb 2, 2006, 11:30:40 AM (19 years ago)
- Location:
- trunk/src/lib/graphics/effects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/effects/fog_effect.cc
r6976 r6977 31 31 32 32 33 34 33 /** 35 34 * default constructor … … 38 37 FogEffect::FogEffect(const TiXmlElement* root) 39 38 { 39 PRINTF(0)("Fog Effect Created\n"); 40 this->setClassID(CL_FOG_EFFECT, "FogEffect"); 40 41 41 42 this->fogMode = GL_EXP2; … … 63 64 { 64 65 PRINTF(0)(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.loadParms\n\n"); 66 65 67 GraphicsEffect::loadParams(root); 66 68 -
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.