Changeset 6822 in orxonox.OLD for trunk/src/world_entities/projectiles
- Timestamp:
- Jan 29, 2006, 1:57:03 AM (19 years ago)
- Location:
- trunk/src/world_entities/projectiles
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/projectiles/bomb.cc
r6700 r6822 25 25 #include "object_manager.h" 26 26 27 #include " particle_emitter.h"27 #include "dot_emitter.h" 28 28 #include "particle_system.h" 29 29 … … 50 50 this->lifeSpan = 15; 51 51 52 this->emitter = new ParticleEmitter(Vector(0,1,0), M_2_PI, 100, 5);52 this->emitter = new DotEmitter(Vector(0,1,0), M_2_PI, 100, 5); 53 53 this->emitter->setParent(this); 54 54 this->emitter->setSpread(M_PI, M_PI); -
trunk/src/world_entities/projectiles/guided_missile.cc
r6760 r6822 23 23 #include "class_list.h" 24 24 25 #include " particle_emitter.h"25 #include "dot_emitter.h" 26 26 #include "sprite_particles.h" 27 27 … … 46 46 this->maxVelocity = 75; 47 47 48 this->emitter = new ParticleEmitter(Vector(0,1,0), M_2_PI, 100, 5);48 this->emitter = new DotEmitter(Vector(0,1,0), M_2_PI, 100, 5); 49 49 this->emitter->setParent(this); 50 50 this->emitter->setSpread(M_PI, M_PI); -
trunk/src/world_entities/projectiles/hyperblast.cc
r6821 r6822 23 23 #include "class_list.h" 24 24 25 #include " particle_emitter.h"25 #include "dot_emitter.h" 26 26 #include "sprite_particles.h" 27 27 #include "spark_particles.h" … … 47 47 this->size = 4.0; 48 48 49 this->emitter = new ParticleEmitter(Vector(0,1,0), M_2_PI, 100, 5); 50 this->emitter->setType( EMITTER_CUBE ); 51 this->emitter->setSize(10); 49 this->emitter = new DotEmitter(Vector(0,1,0), M_2_PI, 100, 5); 52 50 this->emitter->setParent(this); 53 51 this->emitter->setSpread(M_PI, M_PI); -
trunk/src/world_entities/projectiles/laser.cc
r6753 r6822 26 26 #include "model.h" 27 27 28 #include " particle_emitter.h"28 #include "dot_emitter.h" 29 29 #include "sprite_particles.h" 30 #include <cassert>31 30 32 31 #include <cassert> 33 34 32 35 33 using namespace std; … … 50 48 this->lifeSpan = 5.0; 51 49 52 this->emitter = new ParticleEmitter(Vector(0,1,0), M_2_PI, 100, 5);50 this->emitter = new DotEmitter(Vector(0,1,0), M_2_PI, 100, 5); 53 51 this->emitter->setParent(this); 54 52 this->emitter->setSpread(M_PI, M_PI); -
trunk/src/world_entities/projectiles/rocket.cc
r6700 r6822 23 23 #include "class_list.h" 24 24 25 #include " particle_emitter.h"25 #include "dot_emitter.h" 26 26 #include "sprite_particles.h" 27 27 … … 45 45 this->lifeSpan = 5; 46 46 47 this->emitter = new ParticleEmitter(Vector(0,1,0), M_2_PI, 100, 5);47 this->emitter = new DotEmitter(Vector(0,1,0), M_2_PI, 100, 5); 48 48 this->emitter->setParent(this); 49 49 this->emitter->setSpread(M_PI, M_PI); -
trunk/src/world_entities/projectiles/test_bullet.cc
r6700 r6822 23 23 #include "class_list.h" 24 24 25 #include " particle_emitter.h"25 #include "dot_emitter.h" 26 26 #include "sprite_particles.h" 27 27 … … 45 45 this->lifeSpan = 2; 46 46 47 this->emitter = new ParticleEmitter(Vector(0,1,0), M_2_PI, 100, 5);47 this->emitter = new DotEmitter(Vector(0,1,0), M_2_PI, 100, 5); 48 48 this->emitter->setParent(this); 49 49 this->emitter->setSpread(M_PI, M_PI);
Note: See TracChangeset
for help on using the changeset viewer.