Changeset 10168 in orxonox.OLD for branches/playability
- Timestamp:
- Jan 3, 2007, 4:39:18 PM (18 years ago)
- Location:
- branches/playability/src/world_entities
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/WorldEntities.am
r10073 r10168 54 54 world_entities/projectiles/boomerang_projectile.cc \ 55 55 world_entities/projectiles/hyperblast.cc \ 56 world_entities/projectiles/acid_splash.cc \ 56 57 \ 57 58 world_entities/power_ups/turret_power_up.cc \ … … 167 168 projectiles/boomerang_projectile.h \ 168 169 projectiles/hyperblast.h \ 170 projectiles/acid_splash.h \ 169 171 \ 170 172 power_ups/turret_power_up.h \ -
branches/playability/src/world_entities/effects/wobblegrid.cc
r10157 r10168 80 80 this->setName("Wobblegrid"); 81 81 82 this->toList(OM_COMMON);83 84 82 this->material = new Material(); 85 83 this->setAbsCoor(0, 0, 0); … … 117 115 void Wobblegrid::setTexture(const std::string& textureFile) 118 116 { 117 this->material->setBlendFunc(GL_SRC_ALPHA,GL_ONE); 119 118 this->material->setDiffuseMap(textureFile); 120 119 } -
branches/playability/src/world_entities/projectiles/mbolt.cc
r10140 r10168 91 91 MBolt::~MBolt () 92 92 { 93 // delete this->emitter;94 93 95 94 if (MBolt::explosionParticles != NULL && MBolt::objectList().size() <= 1) … … 100 99 PRINTF(1)("Deleting MBolt Explosion Particles\n"); 101 100 } 102 101 102 delete this->emitter; 103 delete this->trail; 103 104 } 104 105 -
branches/playability/src/world_entities/projectiles/swarm_projectile.cc
r10153 r10168 88 88 void SwarmProjectile::activate() 89 89 { 90 this->toList(OM_ENVIRON); 90 91 if (unlikely(SwarmProjectile::explosionParticles == NULL)) 91 92 { … … 103 104 } 104 105 105 106 this->updateNode(0);107 106 this->emitter->setEmissionRate(50.0); 108 107 this->emitter->setEmissionVelocity(0.0); … … 272 271 this->lastDir = this->curDir; 273 272 this->curDir = this->velocity; 274 /*275 273 if( (this->getAbsCoor() - this->target->getAbsCoor()).len() < 3) // FIXME Temp fake workaround for collision :) 276 274 { 277 275 dynamic_cast<WorldEntity*>(target)->destroy( this); 278 276 this->destroy( this); 279 } */277 } 280 278 } 281 279
Note: See TracChangeset
for help on using the changeset viewer.