Changeset 5652 in orxonox.OLD for trunk/src/lib/particles/particle_system.cc
- Timestamp:
- Nov 20, 2005, 6:32:39 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/particles/particle_system.cc
r5511 r5652 25 25 26 26 #include "load_param.h" 27 #include " compiler.h"27 #include "factory.h" 28 28 #include "material.h" 29 29 #include "state.h" … … 119 119 static_cast<PhysicsInterface*>(this)->loadParams(root); 120 120 121 LoadParam <ParticleSystem>(root, "max-count", this, &ParticleSystem::setMaxCount)121 LoadParamNEW(root, "max-count", this, ParticleSystem, setMaxCount) 122 122 .describe("the maximal count of Particles, that can be emitted into this system"); 123 123 124 124 //LoadParam<ParticleSystem>(root, "type", this, &ParticleSystem::setType); 125 LoadParam <ParticleSystem>(root, "life-span", this, &ParticleSystem::setLifeSpan)125 LoadParamNEW(root, "life-span", this, ParticleSystem, setLifeSpan) 126 126 .describe("sets the life-span of the Particles."); 127 127 128 LoadParam <ParticleSystem>(root, "conserve", this, &ParticleSystem::setConserve)129 .describe("sets the Conserve fac rotof the Particles (1.0: they keep all their energy, 0.0:they keep no energy)");130 131 LoadParam <ParticleSystem>(root, "type", this, &ParticleSystem::setType)128 LoadParamNEW(root, "conserve", this, ParticleSystem, setConserve) 129 .describe("sets the Conserve factor of the Particles (1.0: they keep all their energy, 0.0:they keep no energy)"); 130 131 LoadParamNEW(root, "type", this, ParticleSystem, setType) 132 132 .describe("sets the type of the Particles, (dot, spark, sprite or model)"); 133 133
Note: See TracChangeset
for help on using the changeset viewer.