Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6977 in orxonox.OLD


Ignore:
Timestamp:
Feb 2, 2006, 11:30:40 AM (18 years ago)
Author:
patrick
Message:

trunk: fog-effect should be loadable but isn't

Location:
trunk/src/lib/graphics
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/effects/fog_effect.cc

    r6976 r6977  
    3131
    3232
    33 
    3433/**
    3534 *  default constructor
     
    3837 FogEffect::FogEffect(const TiXmlElement* root)
    3938{
     39  PRINTF(0)("Fog Effect Created\n");
     40  this->setClassID(CL_FOG_EFFECT, "FogEffect");
    4041
    4142  this->fogMode = GL_EXP2;
     
    6364{
    6465  PRINTF(0)(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.loadParms\n\n");
     66
    6567  GraphicsEffect::loadParams(root);
    6668
  • trunk/src/lib/graphics/effects/graphics_effect.cc

    r6873 r6977  
    3535GraphicsEffect::GraphicsEffect(const TiXmlElement* root)
    3636{
     37  this->setClassID(CL_GRAPHICS_EFFECT, "GraphicsEffect");
    3738  this->bActivated = false;
    3839
    3940  this->bActivated = GraphicsEngine::getInstance()->loadGraphicsEffect(this);
    40 
    41   if (root != NULL)
    42     this->loadParams(root);
    4341}
    4442
     
    6058{
    6159  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 
    6660}
    6761
  • trunk/src/lib/graphics/graphics_engine.cc

    r6976 r6977  
    711711  while (element != NULL)
    712712  {
     713    PRINTF(0)("element is: %s\n", element->Value());
    713714    Factory::fabricate(element);
    714715
Note: See TracChangeset for help on using the changeset viewer.