Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7198 in orxonox.OLD for trunk/src/lib/particles


Ignore:
Timestamp:
Mar 8, 2006, 2:30:19 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: new Default Values… they now too are in MultiType instead of (count, …) or (count, va_arg) style

Location:
trunk/src/lib/particles
Files:
6 edited

Legend:

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

    r7193 r7198  
    7878  LoadParam(root, "size", this, BoxEmitter, setSize)
    7979  .describe("The Size of the BoxEmitter: x, y, z")
    80   .defaultValues(3, 1.0f,1.0f,1.0f);
     80  .defaultValues(1.0f,1.0f,1.0f);
    8181}
    8282
  • trunk/src/lib/particles/dot_particles.cc

    r7193 r7198  
    3131
    3232SHELL_COMMAND(texture, DotParticles, setMaterialTexture)
    33     ->defaultValues(1, "maps/evil-flower.png");
     33    ->defaultValues("maps/evil-flower.png");
    3434
    3535using namespace std;
  • trunk/src/lib/particles/model_particles.cc

    r7193 r7198  
    3131
    3232SHELL_COMMAND(texture, ModelParticles, setMaterialTexture)
    33 ->defaultValues(1, "maps/evil-flower.png");
     33->defaultValues("maps/evil-flower.png");
    3434
    3535using namespace std;
  • trunk/src/lib/particles/particle_system.cc

    r7193 r7198  
    128128  LoadParam(root, "precache", this, ParticleSystem, precache)
    129129      .describe("Precaches the ParticleSystem for %1 seconds, %2 times per Second")
    130       .defaultValues(2, 1, 25);
     130      .defaultValues(1, 25);
    131131}
    132132
  • trunk/src/lib/particles/plane_emitter.cc

    r7193 r7198  
    7878  LoadParam(root, "size", this, PlaneEmitter, setSize)
    7979  .describe("The Size of the PlaneEmitter: x, y")
    80   .defaultValues(2, 1.0f,1.0f);
     80  .defaultValues(1.0f,1.0f);
    8181}
    8282
  • trunk/src/lib/particles/sprite_particles.cc

    r7193 r7198  
    3131
    3232SHELL_COMMAND(texture, SpriteParticles, setMaterialTexture)
    33     ->defaultValues(1, "maps/evil-flower.png");
     33    ->defaultValues("maps/evil-flower.png");
    3434
    3535using namespace std;
Note: See TracChangeset for help on using the changeset viewer.