Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6135 in orxonox.OLD for branches/objectmanager/src/world_entities


Ignore:
Timestamp:
Dec 16, 2005, 6:01:26 PM (19 years ago)
Author:
bensch
Message:

om: safer collision-test

Location:
branches/objectmanager/src/world_entities
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/objectmanager/src/world_entities/npcs/npc.cc

    r6134 r6135  
    5050      WorldEntity* powerUp = new TurretPowerUp();
    5151      powerUp->setAbsCoor(this->getAbsCoor());
    52       powerUp->toList(OM_COMMON);
     52//      powerUp->toList(OM_COMMON);
    5353    }
    5454    else if ((float)rand()/RAND_MAX < .3)
  • branches/objectmanager/src/world_entities/space_ships/space_ship.cc

    r6130 r6135  
    112112  PRINTF(4)("SPACESHIP INIT\n");
    113113
    114   EventHandler::getInstance()->grabEvents(false);
     114  EventHandler::getInstance()->grabEvents(true);
    115115
    116116  bUp = bDown = bLeft = bRight = bAscend = bDescend = bRollL = bRollR = false;
  • branches/objectmanager/src/world_entities/weapons/laser.cc

    r6134 r6135  
    9696  ParticleEngine::getInstance()->breakConnections(this->emitter);
    9797  this->lifeCycle = 0.0;
     98
    9899  this->toList(OM_NULL);
    99 
    100   this->toList(OM_DEAD);
    101100  this->removeNode();
    102101  Laser::fastFactory->kill(this);
     
    133132  this->lifeCycle = .95; //!< @todo calculate this usefully.
    134133  ParticleEngine::getInstance()->addConnection(this->emitter, Laser::explosionParticles);
    135 
    136134}
    137135
Note: See TracChangeset for help on using the changeset viewer.