Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 16, 2008, 5:57:05 PM (17 years ago)
Author:
FelixSchulthess
Message:

repositioned hud layout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud3/src/orxonox/hud/RadarOverlayElement.h

    r1308 r1310  
    4949    Ogre::OverlayContainer* container_;
    5050    Ogre::OverlayManager* om;       //pointer to the one and only overlay manager
    51     Vector3 initialDir_;                //initial direction of ship
    52     Vector3 currentDir_;            //current direction of ship
    53     Vector3 initialOrth_;
     51    Vector3 initialDir_;                // direction of nose
     52    Vector3 currentDir_;
     53    Vector3 initialOrth_;           // direction of normal
    5454    Vector3 currentOrth_;
    5555    Vector3 targetPos_;             //position of target
    5656    Vector3 shipPos_;               //position of ship
    57     Vector3 vec_;                   //vector product dir X ort
    58     double radius_;                  //defines the radius in the radar
    59     double phi_;                   //defines the angle in the radar
    60     float left_, top_;
     57
     58    double radius_;                 //defines the radius on the radar
     59    double phi_;                    //defines the angle on the radar
     60    float left_, top_, dim_;
    6161    bool right_;                    //checks whether the object is on the right side (since cos is not bijective)
    6262    int count_;
    63     int dim_;
     63    int windowW, windowH;
    6464
    6565  public:
     
    6969    virtual void initialise();
    7070    void update();
    71     void initRadarOverlayElement(Real left, Real top, int dim, Ogre::OverlayContainer* container);
     71    void initRadarOverlayElement(Real left, Real top, Real dim, Ogre::OverlayContainer* container);
    7272    void setMainShipPosition(int dirX, int dirY, int dirZ, int ortX, int ortY, int ortZ);
    7373    int newShip(int X, int Y, int Z);
Note: See TracChangeset for help on using the changeset viewer.