Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7813 in orxonox.OLD


Ignore:
Timestamp:
May 24, 2006, 4:28:05 PM (18 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine: fixed class_id

Location:
branches/atmospheric_engine/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/defs/class_id.h

    r7810 r7813  
    289289
    290290  CL_GRAPHICS_EFFECT            =    0x00a01000,
    291   CL_SUN_EFFECT                 =    0x00a02000,
    292   CL_WEATHER_EFFECT             =    0x00a04000,
     291  CL_WEATHER_EFFECT             =    0x00a10000,
    293292  CL_FOG_EFFECT                 =    0x00000a10,
    294293  CL_VOLFOG_EFFECT              =    0x00000a11,
  • branches/atmospheric_engine/src/lib/graphics/effects/atmospheric_engine.cc

    r7810 r7813  
    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}
  • branches/atmospheric_engine/src/lib/graphics/effects/sun_effect.cc

    r7810 r7813  
    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.