Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: code/trunk/src/orxonox/hud/HUD.h @ 1073

Last change on this file since 1073 was 1056, checked in by landauf, 17 years ago

don't panic, no codechanges!
added a link to www.orxonox.net

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