Changeset 6135 in orxonox.OLD for branches/objectmanager/src/world_entities
- Timestamp:
- Dec 16, 2005, 6:01:26 PM (19 years ago)
- Location:
- branches/objectmanager/src/world_entities
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/objectmanager/src/world_entities/npcs/npc.cc
r6134 r6135 50 50 WorldEntity* powerUp = new TurretPowerUp(); 51 51 powerUp->setAbsCoor(this->getAbsCoor()); 52 powerUp->toList(OM_COMMON);52 // powerUp->toList(OM_COMMON); 53 53 } 54 54 else if ((float)rand()/RAND_MAX < .3) -
branches/objectmanager/src/world_entities/space_ships/space_ship.cc
r6130 r6135 112 112 PRINTF(4)("SPACESHIP INIT\n"); 113 113 114 EventHandler::getInstance()->grabEvents( false);114 EventHandler::getInstance()->grabEvents(true); 115 115 116 116 bUp = bDown = bLeft = bRight = bAscend = bDescend = bRollL = bRollR = false; -
branches/objectmanager/src/world_entities/weapons/laser.cc
r6134 r6135 96 96 ParticleEngine::getInstance()->breakConnections(this->emitter); 97 97 this->lifeCycle = 0.0; 98 98 99 this->toList(OM_NULL); 99 100 this->toList(OM_DEAD);101 100 this->removeNode(); 102 101 Laser::fastFactory->kill(this); … … 133 132 this->lifeCycle = .95; //!< @todo calculate this usefully. 134 133 ParticleEngine::getInstance()->addConnection(this->emitter, Laser::explosionParticles); 135 136 134 } 137 135
Note: See TracChangeset
for help on using the changeset viewer.