Changeset 708 for code/branches/FICN/src/orxonox/hud
- Timestamp:
- Dec 28, 2007, 10:30:29 PM (17 years ago)
- Location:
- code/branches/FICN/src/orxonox/hud
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/hud/HUD.cc
r668 r708 1 1 /* 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 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 27 28 28 #include <OgreOverlayManager.h> … … 33 33 34 34 35 namespace hud { 35 namespace orxonox 36 { 36 37 using namespace Ogre; 37 38 … … 179 180 primarChoice_->setLeft(101); 180 181 primarChoice_->setWidth(48); 181 182 } 182 183 } 183 184 -
code/branches/FICN/src/orxonox/hud/HUD.h
r673 r708 1 1 /* 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 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 27 28 28 #ifndef _HUD_H__ … … 31 31 #include <OgrePrerequisites.h> 32 32 33 //#include "../OrxonoxPrereqs.h" 33 #include "../OrxonoxPrereqs.h" 34 35 #include "misc/String.h" 34 36 35 37 36 namespace hud { 37 class HUD { 38 namespace orxonox 39 { 40 class HUD 41 { 38 42 private: 39 43 Ogre::OverlayElement* timeText_; … … 57 61 int timeSec_; 58 62 59 Ogre::String targetWindowName_;60 Ogre::String targetWindowStatus_;63 String targetWindowName_; 64 String targetWindowStatus_; 61 65 int targetWindowDistance_; 62 66 int targetWindowHitRating_; … … 89 93 90 94 void setTime(int i, int j); 91 void setTargetWindowName( Ogre::String i);92 void setTargetWindowStatus( Ogre::String i);95 void setTargetWindowName(String i); 96 void setTargetWindowStatus(String i); 93 97 void setTargetWindowDistance(int i); 94 98 void setTargetWindowHitRating(int i);
Note: See TracChangeset
for help on using the changeset viewer.