Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5671 in orxonox.OLD for trunk/src/lib/particles/particle_emitter.cc


Ignore:
Timestamp:
Nov 21, 2005, 3:50:41 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: renamed class LoadParam to CLoadParam and Macro LoadParamNew to LoadParam

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/particles/particle_emitter.cc

    r5653 r5671  
    9595  static_cast<PNode*>(this)->loadParams(root);
    9696
    97   LoadParamNEW(root, "type", this, ParticleEmitter, setType)
     97  LoadParam(root, "type", this, ParticleEmitter, setType)
    9898    .describe("What type of emitter is this [dot, plane, cube, sphere].");
    9999
    100   LoadParamNEW(root, "size", this, ParticleEmitter, setSize)
     100  LoadParam(root, "size", this, ParticleEmitter, setSize)
    101101    .describe("How big the emitter is (no effect on dot-emitters)");
    102102
    103   LoadParamNEW(root, "rate", this, ParticleEmitter, setEmissionRate)
     103  LoadParam(root, "rate", this, ParticleEmitter, setEmissionRate)
    104104    .describe("How many particles should be emittet from this emitter");
    105105
    106   LoadParamNEW(root, "inherit-speed", this, ParticleEmitter, setInheritSpeed)
     106  LoadParam(root, "inherit-speed", this, ParticleEmitter, setInheritSpeed)
    107107    .describe("the extent, the speed of the emitter has on the particles");
    108108
    109   LoadParamNEW(root, "emission-velocity", this, ParticleEmitter, setEmissionVelocity)
     109  LoadParam(root, "emission-velocity", this, ParticleEmitter, setEmissionVelocity)
    110110    .describe("How fast the particles are emittet (their initial speed)");
    111111
    112   LoadParamNEW(root, "emission-momentum", this, ParticleEmitter, setEmissionMomentum)
     112  LoadParam(root, "emission-momentum", this, ParticleEmitter, setEmissionMomentum)
    113113      .describe("How fast the particles rotation is at emissiontime (their initial momentum)");
    114114
    115   LoadParamNEW(root, "spread", this, ParticleEmitter, setSpread)
     115  LoadParam(root, "spread", this, ParticleEmitter, setSpread)
    116116    .describe("The angle the particles are emitted from (angle, deviation)");
    117117
    118118
    119   LoadParamNEW(root, "emission-direction", this, ParticleEmitter, setDirection);
     119  LoadParam(root, "emission-direction", this, ParticleEmitter, setDirection);
    120120}
    121121
Note: See TracChangeset for help on using the changeset viewer.