Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 23, 2008, 10:27:52 PM (16 years ago)
Author:
FelixSchulthess
Message:

enhanced navigation with a target designation cursor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/hud/Navigation.h

    r1395 r1399  
    2020*
    2121*   Author:
    22 *      Yuning Chai
     22*      Felix Schulthess
    2323*   Co-authors:
    2424*      ...
     
    3030
    3131#include <OgrePrerequisites.h>
    32 #include <OgrePanelOverlayElement.h>
    33 #include <OgreTextAreaOverlayElement.h>
    3432#include "../OrxonoxPrereqs.h"
    3533#include "util/Math.h"
     
    4442            Ogre::OverlayContainer* container_;
    4543            Ogre::PanelOverlayElement* navMarker_;      // the panel used to show the arrow
    46             Ogre::TextAreaOverlayElement* navText_;      // displaying distance...
     44            Ogre::TextAreaOverlayElement* navText_;     // displaying distance
     45            Ogre::MovableObject* movo_;
     46            Ogre::Camera* cam_;
    4747                Vector3 shipPos_;                           // position of ship
    4848                int windowW_, windowH_;
    4949
    5050                void init();
     51                void updateMarker();
    5152
    5253        public:
Note: See TracChangeset for help on using the changeset viewer.