Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5653 in orxonox.OLD for trunk/src/lib


Ignore:
Timestamp:
Nov 20, 2005, 6:43:58 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: further cleanup

Location:
trunk/src/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/light.cc

    r5652 r5653  
    258258void LightManager::loadParams(const TiXmlElement* root)
    259259{
    260   LoadParam<LightManager>(root, "Lights", this, &LightManager::loadLights)
     260  LoadParamXML(root, "Lights", this, LightManager, loadLights)
    261261      .describe("an XML-Element to load lights from.");
    262262
    263   LoadParam<LightManager>(root, "ambient-color", this, &LightManager::setAmbientColor)
     263  LoadParamNEW(root, "ambient-color", this, LightManager, setAmbientColor)
    264264      .describe("sets the ambient Color of the Environmental Light");
    265265}
  • trunk/src/lib/particles/particle_emitter.cc

    r5652 r5653  
    117117
    118118
    119   LoadParam<ParticleEmitter>(root, "emission-direction", this, &ParticleEmitter::setDirection);
     119  LoadParamNEW(root, "emission-direction", this, ParticleEmitter, setDirection);
    120120}
    121121
Note: See TracChangeset for help on using the changeset viewer.