- Timestamp:
- May 24, 2006, 4:28:05 PM (19 years ago)
- Location:
- branches/atmospheric_engine/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/atmospheric_engine/src/defs/class_id.h
r7810 r7813 289 289 290 290 CL_GRAPHICS_EFFECT = 0x00a01000, 291 CL_SUN_EFFECT = 0x00a02000, 292 CL_WEATHER_EFFECT = 0x00a04000, 291 CL_WEATHER_EFFECT = 0x00a10000, 293 292 CL_FOG_EFFECT = 0x00000a10, 294 293 CL_VOLFOG_EFFECT = 0x00000a11, -
branches/atmospheric_engine/src/lib/graphics/effects/atmospheric_engine.cc
r7810 r7813 126 126 std::list<BaseObject*>::const_iterator it; 127 127 for (it = weatherEffects->begin(); it != weatherEffects->end(); it++) 128 { 129 printf("%s::%s \n", (*it)->getClassName(), (*it)->getName()); 128 130 dynamic_cast<WeatherEffect*>(*it)->tick(dt); 131 } 129 132 } 130 133 } -
branches/atmospheric_engine/src/lib/graphics/effects/sun_effect.cc
r7810 r7813 30 30 SunEffect::SunEffect(const TiXmlElement* root) 31 31 { 32 this->setClassID(CL_SUN_EFFECT, "SunEffect");32 // this->setClassID(CL_SUN_EFFECT, "SunEffect"); 33 33 this->bActivated = false; 34 34 }
Note: See TracChangeset
for help on using the changeset viewer.