Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


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
Files:
7 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);
  • trunk/src/world_entities/space_ships/space_ship.cc

    r6822 r6825  
    205205  dynamic_cast<Element2D*>(this->getWeaponManager()->getFixedTarget())->setVisibility( false);
    206206
    207   this->burstEmitter = new DotEmitter(Vector(1,0,0), .01, 200, 0.0);
     207  this->burstEmitter = new DotEmitter(200, 0.0, .01);
    208208  this->burstEmitter->setParent(this);
    209209  this->burstEmitter->setRelCoor(-1, .5, 0);
Note: See TracChangeset for help on using the changeset viewer.