Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10216 in orxonox.OLD for branches/mount_points/src/story_entities


Ignore:
Timestamp:
Jan 10, 2007, 3:18:41 PM (18 years ago)
Author:
patrick
Message:

nicer mounting point implementation, some more skeletton

Location:
branches/mount_points/src/story_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/mount_points/src/story_entities/game_world.cc

    r10013 r10216  
    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
  • branches/mount_points/src/story_entities/game_world.h

    r9869 r10216  
    6262  void togglePNodeVisibility();
    6363  void toggleBVVisibility(int level);
     64  inline void toggleMPVisibility() { this->showMPV = !this->showMPV; }
    6465
    6566  inline void setSky(WorldEntity* sky) { this->dataTank->sky = sky; }
     
    99100  bool                showBV;                       //!< if the Bounding Volumes should be visible.
    100101  int                 showBVLevel;                  //!< the depth level of the displayed bounding volumes
     102  bool                showMPV;                      //!< true if the mounting points should be drawn for debug purposes
    101103
    102104  /* world timing */
Note: See TracChangeset for help on using the changeset viewer.