Changeset 715 for code/branches/FICN/src/orxonox/hud
- Timestamp:
- Dec 28, 2007, 11:33:10 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
r708 r715 80 80 } 81 81 82 void HUD::setTargetWindowName( String i){82 void HUD::setTargetWindowName(std::string i){ 83 83 targetWindowName_=i; 84 84 targetWindowNameText_->setCaption( targetWindowName_ ); 85 85 } 86 86 87 void HUD::setTargetWindowStatus( String i){87 void HUD::setTargetWindowStatus(std::string i){ 88 88 targetWindowStatus_=i; 89 89 targetWindowStatusText_->setCaption( targetWindowStatus_ ); -
code/branches/FICN/src/orxonox/hud/HUD.h
r708 r715 29 29 #define _HUD_H__ 30 30 31 #include <string> 32 31 33 #include <OgrePrerequisites.h> 32 34 33 35 #include "../OrxonoxPrereqs.h" 34 35 #include "misc/String.h"36 36 37 37 … … 61 61 int timeSec_; 62 62 63 String targetWindowName_;64 String targetWindowStatus_;63 std::string targetWindowName_; 64 std::string targetWindowStatus_; 65 65 int targetWindowDistance_; 66 66 int targetWindowHitRating_; … … 93 93 94 94 void setTime(int i, int j); 95 void setTargetWindowName( String i);96 void setTargetWindowStatus( String i);95 void setTargetWindowName(std::string i); 96 void setTargetWindowStatus(std::string i); 97 97 void setTargetWindowDistance(int i); 98 98 void setTargetWindowHitRating(int i);
Note: See TracChangeset
for help on using the changeset viewer.