Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

Last change on this file since 706 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
Line 
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
28#ifndef _HUD_H__
29#define _HUD_H__
30
31#include <OgrePrerequisites.h>
32
33//#include "../OrxonoxPrereqs.h"
34
35
36namespace hud {
37  class HUD {
38  private:
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_;
55
56    int timeMin_;
57    int timeSec_;
58
59    Ogre::String targetWindowName_;
60    Ogre::String targetWindowStatus_;
61    int targetWindowDistance_;
62    int targetWindowHitRating_;
63
64    int energyValue_;
65
66    bool shieldLeftTopValue_;
67    bool shieldRightTopValue_;
68    bool shieldLeftBottomValue_;
69    bool shieldRightBottomValue_;
70
71    int rocket1_;
72    int rocket2_;
73    int rocket3_;
74    int rocket4_;
75
76    float energyDistrShield_;
77    float energyDistrEngine_;
78    float energyDistrLaser_;
79
80    float energyDistrPixelX_;
81    float energyDistrPixelY_;
82
83    int primarValue_;
84
85  public:
86    HUD( void );
87    ~HUD( void );
88    void init( void );
89
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);
106
107  };
108}
109
110#endif /* _HUD_H__ */
Note: See TracBrowser for help on using the repository browser.