Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7836 in orxonox.OLD for trunk/src/lib/graphics


Ignore:
Timestamp:
May 24, 2006, 10:05:32 PM (19 years ago)
Author:
bensch
Message:

trunk: merged the Atmos back again, because a ClassID was wrong

Location:
trunk/src/lib/graphics/effects
Files:
2 edited

Legend:

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

    r7810 r7836  
    126126    std::list<BaseObject*>::const_iterator it;
    127127    for (it = weatherEffects->begin(); it != weatherEffects->end(); it++)
     128    {
     129      printf("%s::%s \n", (*it)->getClassName(), (*it)->getName());
    128130      dynamic_cast<WeatherEffect*>(*it)->tick(dt);
     131    }
    129132  }
    130133}
  • trunk/src/lib/graphics/effects/sun_effect.cc

    r7810 r7836  
    3030SunEffect::SunEffect(const TiXmlElement* root)
    3131{
    32   this->setClassID(CL_SUN_EFFECT, "SunEffect");
     32//  this->setClassID(CL_SUN_EFFECT, "SunEffect");
    3333  this->bActivated = false;
    3434}
Note: See TracChangeset for help on using the changeset viewer.