Changeset 6621 in orxonox.OLD for trunk/src/world_entities
- Timestamp:
- Jan 19, 2006, 11:46:28 PM (19 years ago)
- Location:
- trunk/src/world_entities/projectiles
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/projectiles/guided_missile.cc
r6619 r6621 24 24 25 25 #include "particle_emitter.h" 26 #include " particle_system.h"26 #include "sprite_particles.h" 27 27 28 28 using namespace std; … … 84 84 if (unlikely(GuidedMissile::trailParticles == NULL)) 85 85 { 86 GuidedMissile::trailParticles = new ParticleSystem(2000, PARTICLE_SPRITE);86 GuidedMissile::trailParticles = new SpriteParticles(2000); 87 87 GuidedMissile::trailParticles->setName("GuidedMissileTrailParticles"); 88 88 GuidedMissile::trailParticles->setMaterialTexture("maps/radial-trans-noise.png"); … … 99 99 if (unlikely(GuidedMissile::explosionParticles == NULL)) 100 100 { 101 GuidedMissile::explosionParticles = new ParticleSystem(200, PARTICLE_SPRITE);101 GuidedMissile::explosionParticles = new SpriteParticles(200); 102 102 GuidedMissile::explosionParticles->setName("GuidedMissileExplosionParticles"); 103 103 GuidedMissile::explosionParticles->setMaterialTexture("maps/radial-trans-noise.png"); -
trunk/src/world_entities/projectiles/laser.cc
r6619 r6621 25 25 26 26 #include "particle_emitter.h" 27 #include " particle_system.h"27 #include "sprite_particles.h" 28 28 29 29 … … 77 77 if (unlikely(Laser::explosionParticles == NULL)) 78 78 { 79 Laser::explosionParticles = new ParticleSystem(1000, PARTICLE_SPRITE);79 Laser::explosionParticles = new SpriteParticles(1000); 80 80 Laser::explosionParticles->setName("LaserExplosionParticles"); 81 81 Laser::explosionParticles->setLifeSpan(.5, .3); -
trunk/src/world_entities/projectiles/rocket.cc
r6619 r6621 24 24 25 25 #include "particle_emitter.h" 26 #include " particle_system.h"26 #include "sprite_particles.h" 27 27 28 28 … … 81 81 if (unlikely(Rocket::trailParticles == NULL)) 82 82 { 83 Rocket::trailParticles = new ParticleSystem(2000, PARTICLE_SPRITE);83 Rocket::trailParticles = new SpriteParticles(2000); 84 84 Rocket::trailParticles->setName("RocketTrailParticles"); 85 85 Rocket::trailParticles->setMaterialTexture("maps/radial-trans-noise.png"); … … 96 96 if (unlikely(Rocket::explosionParticles == NULL)) 97 97 { 98 Rocket::explosionParticles = new ParticleSystem(200, PARTICLE_SPRITE);98 Rocket::explosionParticles = new SpriteParticles(200); 99 99 Rocket::explosionParticles->setName("RocketExplosionParticles"); 100 100 Rocket::explosionParticles->setMaterialTexture("maps/radial-trans-noise.png"); -
trunk/src/world_entities/projectiles/test_bullet.cc
r6619 r6621 24 24 25 25 #include "particle_emitter.h" 26 #include " particle_system.h"26 #include "sprite_particles.h" 27 27 28 28 … … 81 81 if (unlikely(TestBullet::trailParticles == NULL)) 82 82 { 83 TestBullet::trailParticles = new ParticleSystem(1000, PARTICLE_SPRITE);83 TestBullet::trailParticles = new SpriteParticles(1000); 84 84 TestBullet::trailParticles->setName("TestBulletTrailParticles"); 85 85 TestBullet::trailParticles->setLifeSpan(.5, .3); … … 93 93 if (unlikely(TestBullet::explosionParticles == NULL)) 94 94 { 95 TestBullet::explosionParticles = new ParticleSystem(1000, PARTICLE_SPRITE);95 TestBullet::explosionParticles = new SpriteParticles(1000); 96 96 TestBullet::explosionParticles->setName("TestBulletExplosionParticles"); 97 97 TestBullet::explosionParticles->setLifeSpan(.5, .3);
Note: See TracChangeset
for help on using the changeset viewer.