Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10314 in orxonox.OLD for trunk/src/story_entities/game_world.cc


Ignore:
Timestamp:
Jan 24, 2007, 12:45:39 AM (19 years ago)
Author:
patrick
Message:

merged branche mount_point to trunk. this will add mount point abilities, bsp transparency fix and some other smaller stuff to this trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/game_world.cc

    r10013 r10314  
    1111   ### File Specific:
    1212   main-programmer: Patrick Boenzli
     13   main-programmer: Benjamin Grauer
    1314   co-programmer: Christian Meyer
    14    co-programmer: Benjamin Grauer
     15
    1516*/
    1617
     
    7374SHELL_COMMAND(togglePNodeVisibility, GameWorld, togglePNodeVisibility);
    7475SHELL_COMMAND(showBVLevel, GameWorld, toggleBVVisibility);
     76SHELL_COMMAND(showMountPoints, GameWorld, toggleMPVisibility);
    7577
    7678
     
    8890  this->showBV = false;
    8991  this->showBVLevel = 3;
     92  this->showMPV = false;
    9093
    9194  this->dataXML = NULL;
     
    541544  ObjectManager::EntityList::const_iterator entity;
    542545  for (entity = drawList.begin(); entity != drawList.end(); entity++)
     546  {
    543547    if ((*entity)->isVisible())
    544548      (*entity)->draw();
     549
     550    if( unlikely( this->showMPV))
     551      (*entity)->debugDrawMountPoints();
     552  }
    545553}
    546554
     
    666674    }
    667675
     676
    668677    if( unlikely(this->showPNodes))
    669678      PNode::getNullParent()->debugDraw(0);
Note: See TracChangeset for help on using the changeset viewer.