Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7370 in orxonox.OLD for trunk/src/lib/collision_detection


Ignore:
Timestamp:
Apr 26, 2006, 1:31:01 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: drawLists/tickLists are used, and made some TiXmlElement to const TiXmlElement, also fixed some bugs in the loadWorldEntities-functions from Gameworld and SipleGameMenu

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/collision_detection/cd_engine.cc

    r6316 r7370  
    106106//}
    107107
    108 void CDEngine::checkCollisions(std::list<WorldEntity*>& list1, std::list<WorldEntity*>& list2)
     108void CDEngine::checkCollisions(ObjectManager::EntityList& list1, ObjectManager::EntityList& list2)
    109109{
    110110  BVTree* tree;
    111   std::list<WorldEntity*>::iterator entity1, entity2, pre1, pre2;
     111  ObjectManager::EntityList::iterator entity1, entity2, pre1, pre2;
    112112  PRINTF(3)("checking for collisions\n");
    113113
     
    195195
    196196
    197 void CDEngine::drawBV(const std::list<WorldEntity*>& drawList ) const
    198 {
    199   std::list<WorldEntity*>::const_iterator entity;
     197void CDEngine::drawBV(const ObjectManager::EntityList& drawList ) const
     198{
     199  ObjectManager::EntityList::const_iterator entity;
    200200  for (entity = drawList.begin(); entity != drawList.end(); entity++)
    201201    if ((*entity)->isVisible())
Note: See TracChangeset for help on using the changeset viewer.