Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/branches/FICN/src/orxonox/hud/HUD.h @ 691

Last change on this file since 691 was 673, checked in by rgrieder, 17 years ago
  • deleted obsolete classes: BaseEntity, Entity, Light and SceneNode (please complain if not agreed)
  • improved include guard naming consistency
File size: 3.0 KB
RevLine 
[668]1/*
2 *   ORXONOX - the hottest 3D action shooter ever to exist
3 *
4 *
5 *   License notice:
6 *
7 *   This program is free software; you can redistribute it and/or
8 *   modify it under the terms of the GNU General Public License
9 *   as published by the Free Software Foundation; either version 2
10 *   of the License, or (at your option) any later version.
11 *
12 *   This program is distributed in the hope that it will be useful,
13 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
14 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 *   GNU General Public License for more details.
16 *
17 *   You should have received a copy of the GNU General Public License
18 *   along with this program; if not, write to the Free Software
19 *   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
20 *
21 *   Author:
22 *      Yuning Chai
23 *   Co-authors:
24 *      ...
25 *
26 */
27
[673]28#ifndef _HUD_H__
29#define _HUD_H__
[587]30
[668]31#include <OgrePrerequisites.h>
[587]32
[668]33//#include "../OrxonoxPrereqs.h"
[587]34
35
[668]36namespace hud {
37  class HUD {
[587]38  private:
[668]39    Ogre::OverlayElement* timeText_;
40    Ogre::OverlayElement* targetWindowNameText_;
41    Ogre::OverlayElement* targetWindowStatusText_;
42    Ogre::OverlayElement* targetWindowDistanceText_;
43    Ogre::OverlayElement* targetWindowHitRatingText_;
44    Ogre::OverlayElement* energyLength_;
45    Ogre::OverlayElement* shieldLeftTop_;
46    Ogre::OverlayElement* shieldRightTop_;
47    Ogre::OverlayElement* shieldLeftBottom_;
48    Ogre::OverlayElement* shieldRightBottom_;
49    Ogre::OverlayElement* rocketNum1_;
50    Ogre::OverlayElement* rocketNum2_;
51    Ogre::OverlayElement* rocketNum3_;
52    Ogre::OverlayElement* rocketNum4_;
53    Ogre::OverlayElement* energyDistrPoint_;
54    Ogre::OverlayElement* primarChoice_;
[587]55
[668]56    int timeMin_;
57    int timeSec_;
[587]58
[668]59    Ogre::String targetWindowName_;
60    Ogre::String targetWindowStatus_;
61    int targetWindowDistance_;
62    int targetWindowHitRating_;
[587]63
[668]64    int energyValue_;
[587]65
[668]66    bool shieldLeftTopValue_;
67    bool shieldRightTopValue_;
68    bool shieldLeftBottomValue_;
69    bool shieldRightBottomValue_;
[587]70
[668]71    int rocket1_;
72    int rocket2_;
73    int rocket3_;
74    int rocket4_;
[587]75
[668]76    float energyDistrShield_;
77    float energyDistrEngine_;
78    float energyDistrLaser_;
[587]79
[668]80    float energyDistrPixelX_;
81    float energyDistrPixelY_;
[587]82
[668]83    int primarValue_;
[587]84
[659]85  public:
[668]86    HUD( void );
87    ~HUD( void );
88    void init( void );
[587]89
[668]90    void setTime(int i, int j);
91    void setTargetWindowName(Ogre::String i);
92    void setTargetWindowStatus(Ogre::String i);
93    void setTargetWindowDistance(int i);
94    void setTargetWindowHitRating(int i);
95    void setEnergyValue(int i);
96    void setShieldLeftTopValue(bool i);
97    void setShieldRightTopValue(bool i);
98    void setShieldLeftBottomValue(bool i);
99    void setShieldRightBottomValue(bool i);
100    void setRocket1(int i);
101    void setRocket2(int i);
102    void setRocket3(int i);
103    void setRocket4(int i);
104    void setEnergyDistr(float s, float e, float l);
105    void setPrimar(int i);
[587]106
[668]107  };
108}
[587]109
[673]110#endif /* _HUD_H__ */
Note: See TracBrowser for help on using the repository browser.