Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6825 in orxonox.OLD for trunk/src/world_entities/projectiles


Ignore:
Timestamp:
Jan 29, 2006, 1:07:01 PM (19 years ago)
Author:
bensch
Message:

trunk: new interface to ParticleEmitters

Location:
trunk/src/world_entities/projectiles
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/projectiles/bomb.cc

    r6822 r6825  
    5050  this->lifeSpan = 15;
    5151
    52   this->emitter = new DotEmitter(Vector(0,1,0), M_2_PI, 100, 5);
     52  this->emitter = new DotEmitter(100, 5, M_2_PI);
    5353  this->emitter->setParent(this);
    5454  this->emitter->setSpread(M_PI, M_PI);
  • trunk/src/world_entities/projectiles/guided_missile.cc

    r6822 r6825  
    4646  this->maxVelocity = 75;
    4747
    48   this->emitter = new DotEmitter(Vector(0,1,0), M_2_PI, 100, 5);
     48  this->emitter = new DotEmitter(100, 5, M_2_PI);
    4949  this->emitter->setParent(this);
    5050  this->emitter->setSpread(M_PI, M_PI);
  • trunk/src/world_entities/projectiles/hyperblast.cc

    r6822 r6825  
    4747  this->size = 4.0;
    4848
    49   this->emitter = new DotEmitter(Vector(0,1,0), M_2_PI, 100, 5);
     49  this->emitter = new DotEmitter(100, 5, M_2_PI);
    5050  this->emitter->setParent(this);
    5151  this->emitter->setSpread(M_PI, M_PI);
  • trunk/src/world_entities/projectiles/laser.cc

    r6822 r6825  
    4848  this->lifeSpan = 5.0;
    4949
    50   this->emitter = new DotEmitter(Vector(0,1,0), M_2_PI, 100, 5);
     50  this->emitter = new DotEmitter(100, 5, M_2_PI);
    5151  this->emitter->setParent(this);
    5252  this->emitter->setSpread(M_PI, M_PI);
  • trunk/src/world_entities/projectiles/rocket.cc

    r6822 r6825  
    4545  this->lifeSpan = 5;
    4646
    47   this->emitter = new DotEmitter(Vector(0,1,0), M_2_PI, 100, 5);
     47  this->emitter = new DotEmitter(100, 5, M_2_PI);
    4848  this->emitter->setParent(this);
    4949  this->emitter->setSpread(M_PI, M_PI);
  • trunk/src/world_entities/projectiles/test_bullet.cc

    r6822 r6825  
    4545  this->lifeSpan = 2;
    4646
    47   this->emitter = new DotEmitter(Vector(0,1,0), M_2_PI, 100, 5);
     47  this->emitter = new DotEmitter(100, 5, M_2_PI);
    4848  this->emitter->setParent(this);
    4949  this->emitter->setSpread(M_PI, M_PI);
Note: See TracChangeset for help on using the changeset viewer.